diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2016-01-13 15:29:27 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2016-02-12 19:16:04 +0100 |
commit | 50a5ba876908147b36441c754e835588143c6b54 (patch) | |
tree | c280d50a5f6d1a4fde1537a13e87cd423cb775bd /drivers/i2c/muxes/Kconfig | |
parent | Linux 4.5-rc3 (diff) | |
download | linux-50a5ba876908147b36441c754e835588143c6b54.tar.xz linux-50a5ba876908147b36441c754e835588143c6b54.zip |
i2c: mux: demux-pinctrl: add driver
This driver allows an I2C bus to switch between multiple masters. This
is not hot-switching because connected I2C slaves will be
re-instantiated. It is meant to select the best I2C core at runtime once
the task is known. Example: Prefer i2c-gpio over another I2C core
because of HW errata affecting your use case.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/muxes/Kconfig')
-rw-r--r-- | drivers/i2c/muxes/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/i2c/muxes/Kconfig b/drivers/i2c/muxes/Kconfig index f06b0e24673b..e280c8ecc0b5 100644 --- a/drivers/i2c/muxes/Kconfig +++ b/drivers/i2c/muxes/Kconfig @@ -72,4 +72,13 @@ config I2C_MUX_REG This driver can also be built as a module. If so, the module will be called i2c-mux-reg. +config I2C_DEMUX_PINCTRL + tristate "pinctrl-based I2C demultiplexer" + depends on PINCTRL && OF + select OF_DYNAMIC + help + If you say yes to this option, support will be included for an I2C + demultiplexer that uses the pinctrl subsystem. This is useful if you + want to change the I2C master at run-time depending on features. + endmenu |