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>
Bu işleme şunda yer alıyor:

işlemeyi yapan:
Greg Kroah-Hartman

ebeveyn
a3b02a9c65
işleme
2c089f08e0
@@ -14,3 +14,21 @@ menuconfig MULTIPLEXER
|
||||
|
||||
To compile the subsystem as a module, choose M here: the module will
|
||||
be called mux-core.
|
||||
|
||||
if MULTIPLEXER
|
||||
|
||||
config MUX_GPIO
|
||||
tristate "GPIO-controlled Multiplexer"
|
||||
depends on GPIOLIB || COMPILE_TEST
|
||||
help
|
||||
GPIO-controlled Multiplexer controller.
|
||||
|
||||
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.
|
||||
|
||||
To compile the driver as a module, choose M here: the module will
|
||||
be called mux-gpio.
|
||||
|
||||
endif
|
||||
|
Yeni konuda referans
Bir kullanıcı engelle