realtek: Add support for RTL9300/RTL9310 I2C controller
authorBirger Koblitz <git@birger-koblitz.de>
Sat, 11 Dec 2021 19:14:47 +0000 (20:14 +0100)
committerPaul Spooren <mail@aparcar.org>
Wed, 2 Feb 2022 09:32:57 +0000 (10:32 +0100)
commitadd640c36d4242ad9d575c4049bddca4bba4c770
treea76387c42f5ba0f2d4d67136cb51eb0db78a3b2f
parent4367d4f869cb031790d8077fd4405830762a6134
realtek: Add support for RTL9300/RTL9310 I2C controller

This adds support for the RTL9300 and RTL9310 I2C controller.
The controller implements the SMBus protocol for SMBus transfers
over an I2C bus. The driver supports selecting one of the 2 possible
SCL pins and any of the 8 possible SDA pins. Bus speeds of
100kHz (standard speed) and 400kHz (high speed I2C) are supported.

Signed-off-by: Birger Koblitz <git@birger-koblitz.de>
target/linux/realtek/config-5.10
target/linux/realtek/files-5.10/drivers/i2c/busses/i2c-rtl9300.c [new file with mode: 0644]
target/linux/realtek/files-5.10/drivers/i2c/busses/i2c-rtl9300.h [new file with mode: 0644]
target/linux/realtek/patches-5.10/310-add-i2c-rtl9300-support.patch [new file with mode: 0644]