2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 14:43:58 +08:00
linux-next/drivers/i2c/muxes
Peter Korsgaard 92ed1a76ca i2c: Add generic I2C multiplexer using GPIO API
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>
2011-01-10 22:11:23 +01:00
..
gpio-i2cmux.c i2c: Add generic I2C multiplexer using GPIO API 2011-01-10 22:11:23 +01:00
Kconfig i2c: Add generic I2C multiplexer using GPIO API 2011-01-10 22:11:23 +01:00
Makefile i2c: Add generic I2C multiplexer using GPIO API 2011-01-10 22:11:23 +01:00
pca954x.c i2c/pca954x: Remove __devinit and __devexit from probe and remove functions 2010-10-24 18:16:59 +02:00
pca9541.c i2c/mux: Driver for PCA9541 I2C Master Selector 2010-10-24 18:16:58 +02:00