summaryrefslogtreecommitdiff
path: root/drivers/i2c/muxes/Makefile
diff options
context:
space:
mode:
authorPeter Korsgaard <peter.korsgaard@barco.com>2011-01-10 21:11:23 (GMT)
committerJean Delvare <khali@endymion.delvare>2011-01-10 21:11:23 (GMT)
commit92ed1a76ca31774eb27de14b2215841367c68056 (patch)
treef9becefa5dbcdaa8cfd65100e1735044cd3910d6 /drivers/i2c/muxes/Makefile
parentb18a5c80eb2e7e9c72d23f1960b09d78ddf7e5b0 (diff)
downloadlinux-fsl-qoriq-92ed1a76ca31774eb27de14b2215841367c68056.tar.xz
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>
Diffstat (limited to 'drivers/i2c/muxes/Makefile')
-rw-r--r--drivers/i2c/muxes/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/muxes/Makefile b/drivers/i2c/muxes/Makefile
index d743806..4640436 100644
--- a/drivers/i2c/muxes/Makefile
+++ b/drivers/i2c/muxes/Makefile
@@ -1,6 +1,7 @@
#
# 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