diff options
author | York Sun <yorksun@freescale.com> | 2015-08-17 11:53:48 -0700 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-08-24 14:05:18 +0200 |
commit | b3fdd32799d834e2626fae087906e886037350c6 (patch) | |
tree | 38d3df37fe04e8631ba955a3dfd6ed2a80dd7ff8 /drivers/i2c/muxes/Kconfig | |
parent | 7a59b00a0906945f7fe25a10332ac0820491a0c3 (diff) |
i2c: mux: Add register-based mux i2c-mux-reg
Based on i2c-mux-gpio driver, similarly the register-based mux
switch from one bus to another by setting a single register.
The register can be on PCIe bus, local bus, or any memory-mapped
address. The endianness of such register can be specified in device
tree if used, or in platform data.
Signed-off-by: York Sun <yorksun@freescale.com>
Acked-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/muxes/Kconfig')
-rw-r--r-- | drivers/i2c/muxes/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/i2c/muxes/Kconfig b/drivers/i2c/muxes/Kconfig index fdd0769c84a3..f06b0e24673b 100644 --- a/drivers/i2c/muxes/Kconfig +++ b/drivers/i2c/muxes/Kconfig @@ -61,4 +61,15 @@ config I2C_MUX_PINCTRL This driver can also be built as a module. If so, the module will be called pinctrl-i2cmux. +config I2C_MUX_REG + tristate "Register-based I2C multiplexer" + help + If you say yes to this option, support will be included for a + register based I2C multiplexer. This driver provides access to + I2C busses connected through a MUX, which is controlled + by a single register. + + This driver can also be built as a module. If so, the module + will be called i2c-mux-reg. + endmenu |