realtek: Add support for RTL9300/RTL9310 I2C multiplexing
authorBirger Koblitz <[email protected]>
Sat, 11 Dec 2021 19:25:37 +0000 (20:25 +0100)
committerPaul Spooren <[email protected]>
Wed, 2 Feb 2022 09:32:57 +0000 (10:32 +0100)
commit07742beb8d2658a84918b5853f76b302d8b4b505
tree10d183f9985386ead8b2b9bdd85ca4ef3732839a
parentadd640c36d4242ad9d575c4049bddca4bba4c770
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 <[email protected]>
target/linux/realtek/config-5.10
target/linux/realtek/files-5.10/drivers/i2c/busses/i2c-rtl9300.c
target/linux/realtek/files-5.10/drivers/i2c/muxes/i2c-mux-rtl9300.c [new file with mode: 0644]
target/linux/realtek/patches-5.10/311-add-i2c-mux-rtl9300-support.patch [new file with mode: 0644]