mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-10-27 21:41:40 +00:00
Add an i2c mux driver providing access to i2c bus segments using a hardware MUX sitting on a master bus and controlled through gpio pins. E.G. something like: ---------- ---------- Bus segment 1 - - - - - | | SCL/SDA | |-------------- | | | |------------| | | | | | Bus segment 2 | | | Linux | GPIO 1..N | MUX |--------------- Devices | |------------| | | | | | | | Bus segment M | | | |---------------| | ---------- ---------- - - - - - SCL/SDA of the master I2C bus is multiplexed to bus segment 1..M according to the settings of the GPIO pins 1..N. Signed-off-by: Peter Korsgaard <peter.korsgaard@barco.com> Signed-off-by: Jean Delvare <khali@linux-fr.org> |
||
|---|---|---|
| .. | ||
| busses | ||
| muxes | ||
| dev-interface | ||
| fault-codes | ||
| functionality | ||
| i2c-protocol | ||
| i2c-stub | ||
| instantiating-devices | ||
| old-module-parameters | ||
| smbus-protocol | ||
| summary | ||
| ten-bit-addresses | ||
| upgrading-clients | ||
| writing-clients | ||