summaryrefslogtreecommitdiffstats
path: root/drivers/mux/Makefile
diff options
context:
space:
mode:
authorPeter Rosin <peda@axentia.se>2017-05-14 21:51:07 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-03 19:29:26 +0900
commit2c089f08e0de2a784106272c6454ce389fe12376 (patch)
treeb44936274ae0fbbdea400d2867e5693da42bd1fc /drivers/mux/Makefile
parenta3b02a9c6591ce154cd44e2383406390a45b530c (diff)
downloadtalos-obmc-linux-2c089f08e0de2a784106272c6454ce389fe12376.tar.gz
talos-obmc-linux-2c089f08e0de2a784106272c6454ce389fe12376.zip
mux: gpio: add mux controller driver for gpio based multiplexers
The driver builds a single multiplexer controller using a number of gpio pins. For N pins, there will be 2^N possible multiplexer states. The GPIO pins can be connected (by the hardware) to several multiplexers, which in that case will be operated in parallel. Reviewed-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Peter Rosin <peda@axentia.se> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mux/Makefile')
-rw-r--r--drivers/mux/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mux/Makefile b/drivers/mux/Makefile
index 09f0299e109d..bb16953f6290 100644
--- a/drivers/mux/Makefile
+++ b/drivers/mux/Makefile
@@ -3,3 +3,4 @@
#
obj-$(CONFIG_MULTIPLEXER) += mux-core.o
+obj-$(CONFIG_MUX_GPIO) += mux-gpio.o
OpenPOWER on IntegriCloud