aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/muxes/Kconfig
diff options
context:
space:
mode:
authorPeter Rosin <peda@axentia.se>2017-05-14 21:51:12 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-03 19:29:26 +0900
commitac8498f0ce5301c51c32607af5a318a7e05f45c5 (patch)
tree82eb45516e67d2cec3e5f091479b0ae8b0e9447b /drivers/i2c/muxes/Kconfig
parentdt-bindings: i2c: i2c-mux: document general purpose i2c-mux bindings (diff)
downloadlinux-dev-ac8498f0ce5301c51c32607af5a318a7e05f45c5.tar.xz
linux-dev-ac8498f0ce5301c51c32607af5a318a7e05f45c5.zip
i2c: i2c-mux-gpmux: new driver
This is a general purpose i2c mux that uses a multiplexer controlled by the multiplexer subsystem to do the muxing. The user can select if the mux is to be mux-locked and parent-locked as described in Documentation/i2c/i2c-topology. Acked-by: Jonathan Cameron <jic23@kernel.org> Acked-by: Wolfram Sang <wsa@the-dreams.de> Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/i2c/muxes/Kconfig')
-rw-r--r--drivers/i2c/muxes/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/i2c/muxes/Kconfig b/drivers/i2c/muxes/Kconfig
index 1e160fc37ecc..2c64d0e0740f 100644
--- a/drivers/i2c/muxes/Kconfig
+++ b/drivers/i2c/muxes/Kconfig
@@ -30,6 +30,19 @@ config I2C_MUX_GPIO
This driver can also be built as a module. If so, the module
will be called i2c-mux-gpio.
+config I2C_MUX_GPMUX
+ tristate "General Purpose I2C multiplexer"
+ select MULTIPLEXER
+ depends on OF || COMPILE_TEST
+ help
+ If you say yes to this option, support will be included for a
+ general purpose I2C multiplexer. This driver provides access to
+ I2C busses connected through a MUX, which in turn is controlled
+ by a MUX-controller from the MUX subsystem.
+
+ This driver can also be built as a module. If so, the module
+ will be called i2c-mux-gpmux.
+
config I2C_MUX_LTC4306
tristate "LTC LTC4306/5 I2C multiplexer"
select GPIOLIB