diff options
author | Birger Koblitz <git@birger-koblitz.de> | 2021-12-11 20:25:37 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2022-02-17 15:21:46 +0000 |
commit | f4bdb7fdccdfe3fa382abe77f72a16c2f2e6add0 (patch) | |
tree | b692a21fde7e19338a667bec8ad5a713907fdaed /target/linux/realtek/config-5.10 | |
parent | 63a0a4d85bc900464c5b046b13808a582345f8c8 (diff) | |
download | upstream-f4bdb7fdccdfe3fa382abe77f72a16c2f2e6add0.tar.gz upstream-f4bdb7fdccdfe3fa382abe77f72a16c2f2e6add0.tar.bz2 upstream-f4bdb7fdccdfe3fa382abe77f72a16c2f2e6add0.zip |
realtek: Add support for RTL9300/RTL9310 I2C multiplexing
The RTL9300/RTL9310 I2C controllers have support for 2 independent I2C
masters, each with a fixed SCL pin, that cannot be changed. Each of these
masters can use 8 (RTL9300) or 16 (RTL9310) different pins for SDA.
This multiplexer directly controls the two masters and their shared
IO configuration registers to allow multiplexing between any of these
busses. The two masters cannot be used in parallel as the multiplex
is protected by a standard multiplex lock.
Signed-off-by: Birger Koblitz <git@birger-koblitz.de>
Diffstat (limited to 'target/linux/realtek/config-5.10')
-rw-r--r-- | target/linux/realtek/config-5.10 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/realtek/config-5.10 b/target/linux/realtek/config-5.10 index b62f7eb30e..3f76f6cfaa 100644 --- a/target/linux/realtek/config-5.10 +++ b/target/linux/realtek/config-5.10 @@ -84,6 +84,8 @@ CONFIG_I2C_ALGOBIT=y CONFIG_I2C_BOARDINFO=y CONFIG_I2C_CHARDEV=y CONFIG_I2C_GPIO=y +CONFIG_I2C_MUX=y +CONFIG_I2C_MUX_RTL9300=y CONFIG_I2C_RTL9300=y CONFIG_INITRAMFS_SOURCE="" CONFIG_IRQCHIP=y |