From 73726380a26fa1ed490f30fccee10ed9da28dc0c Mon Sep 17 00:00:00 2001
From: Philipp Zabel
Date: Sun, 14 May 2017 21:51:16 +0200
Subject: mux: mmio-based syscon mux controller
This adds a driver for mmio-based syscon multiplexers controlled by
bitfields in a syscon register range.
Signed-off-by: Philipp Zabel
Signed-off-by: Peter Rosin
Signed-off-by: Greg Kroah-Hartman
---
drivers/mux/Kconfig | 13 +++++++++++++
1 file changed, 13 insertions(+)
(limited to 'drivers/mux/Kconfig')
diff --git a/drivers/mux/Kconfig b/drivers/mux/Kconfig
index c4d050645605..e8f1df74644c 100644
--- a/drivers/mux/Kconfig
+++ b/drivers/mux/Kconfig
@@ -43,4 +43,17 @@ config MUX_GPIO
To compile the driver as a module, choose M here: the module will
be called mux-gpio.
+config MUX_MMIO
+ tristate "MMIO register bitfield-controlled Multiplexer"
+ depends on (OF && MFD_SYSCON) || COMPILE_TEST
+ help
+ MMIO 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.
+
+ To compile the driver as a module, choose M here: the module will
+ be called mux-mmio.
+
endif
--
cgit v1.2.3