mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 17:51:43 +00:00
92ed1a76ca
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>
9 lines
222 B
Makefile
9 lines
222 B
Makefile
#
|
|
# Makefile for multiplexer I2C chip drivers.
|
|
|
|
obj-$(CONFIG_I2C_MUX_GPIO) += gpio-i2cmux.o
|
|
obj-$(CONFIG_I2C_MUX_PCA9541) += pca9541.o
|
|
obj-$(CONFIG_I2C_MUX_PCA954x) += pca954x.o
|
|
|
|
ccflags-$(CONFIG_I2C_DEBUG_BUS) := -DDEBUG
|