summaryrefslogtreecommitdiffstats
path: root/drivers/mux/Kconfig
diff options
context:
space:
mode:
authorPankaj Bansal <pankaj.bansal@nxp.com>2019-06-12 08:53:00 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-21 15:59:53 +0200
commit8ecfaca7926f4bb9fb584df070f50acd407e52ce (patch)
treeaea943a500e522415e96a3dc4814d0c0462e6adc /drivers/mux/Kconfig
parentae1c6b9aa34be021555e1234a271d56108caa82e (diff)
downloadlinux-8ecfaca7926f4bb9fb584df070f50acd407e52ce.tar.bz2
mux: mmio: add generic regmap bitfield-based multiplexer
Generic register bitfield-based multiplexer that controls the multiplexer producer defined under a parent node. The driver corresponding to parent node provides register read/write capabilities. Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com> Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mux/Kconfig')
-rw-r--r--drivers/mux/Kconfig12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/mux/Kconfig b/drivers/mux/Kconfig
index 7659d6c5f718..e5c571fd232c 100644
--- a/drivers/mux/Kconfig
+++ b/drivers/mux/Kconfig
@@ -46,14 +46,14 @@ config MUX_GPIO
be called mux-gpio.
config MUX_MMIO
- tristate "MMIO register bitfield-controlled Multiplexer"
- depends on (OF && MFD_SYSCON) || COMPILE_TEST
+ tristate "MMIO/Regmap register bitfield-controlled Multiplexer"
+ depends on OF || COMPILE_TEST
help
- MMIO register bitfield-controlled Multiplexer controller.
+ MMIO/Regmap register bitfield-controlled Multiplexer controller.
- The driver builds multiplexer controllers for bitfields in a syscon
- register. For N bit wide bitfields, there will be 2^N possible
- multiplexer states.
+ The driver builds multiplexer controllers for bitfields in either
+ a syscon register or a driver regmap register. For N bit wide
+ bitfields, there will be 2^N possible multiplexer states.
To compile the driver as a module, choose M here: the module will
be called mux-mmio.