mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-19 12:24:34 +08:00
2c089f08e0
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>
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
#
|
|
# Multiplexer devices
|
|
#
|
|
|
|
menuconfig MULTIPLEXER
|
|
tristate "Multiplexer subsystem"
|
|
help
|
|
Multiplexer controller subsystem. Multiplexers are used in a
|
|
variety of settings, and this subsystem abstracts their use
|
|
so that the rest of the kernel sees a common interface. When
|
|
multiple parallel multiplexers are controlled by one single
|
|
multiplexer controller, this subsystem also coordinates the
|
|
multiplexer accesses.
|
|
|
|
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
|