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)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 17 Feb 2022 15:21:46 +0000 (15:21 +0000)
commit63a0a4d85bc900464c5b046b13808a582345f8c8
treeab0f66a93a119bf1d72a98ef02ad1ff26af05f0e
parent48dd4466147de7b1f143c42d23fa4d4780496f40
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]