mux: gpio: add mux controller driver for gpio based multiplexers
authorPeter Rosin <peda@axentia.se>
Sun, 14 May 2017 19:51:07 +0000 (21:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 Jun 2017 10:29:26 +0000 (19:29 +0900)
commit2c089f08e0de2a784106272c6454ce389fe12376
treeb44936274ae0fbbdea400d2867e5693da42bd1fc
parenta3b02a9c6591ce154cd44e2383406390a45b530c
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>
drivers/mux/Kconfig
drivers/mux/Makefile
drivers/mux/mux-gpio.c [new file with mode: 0644]