xref: /openbmc/linux/drivers/mux/Kconfig (revision 2c089f08)
1a3b02a9cSPeter Rosin#
2a3b02a9cSPeter Rosin# Multiplexer devices
3a3b02a9cSPeter Rosin#
4a3b02a9cSPeter Rosin
5a3b02a9cSPeter Rosinmenuconfig MULTIPLEXER
6a3b02a9cSPeter Rosin	tristate "Multiplexer subsystem"
7a3b02a9cSPeter Rosin	help
8a3b02a9cSPeter Rosin	  Multiplexer controller subsystem. Multiplexers are used in a
9a3b02a9cSPeter Rosin	  variety of settings, and this subsystem abstracts their use
10a3b02a9cSPeter Rosin	  so that the rest of the kernel sees a common interface. When
11a3b02a9cSPeter Rosin	  multiple parallel multiplexers are controlled by one single
12a3b02a9cSPeter Rosin	  multiplexer controller, this subsystem also coordinates the
13a3b02a9cSPeter Rosin	  multiplexer accesses.
14a3b02a9cSPeter Rosin
15a3b02a9cSPeter Rosin	  To compile the subsystem as a module, choose M here: the module will
16a3b02a9cSPeter Rosin	  be called mux-core.
172c089f08SPeter Rosin
182c089f08SPeter Rosinif MULTIPLEXER
192c089f08SPeter Rosin
202c089f08SPeter Rosinconfig MUX_GPIO
212c089f08SPeter Rosin	tristate "GPIO-controlled Multiplexer"
222c089f08SPeter Rosin	depends on GPIOLIB || COMPILE_TEST
232c089f08SPeter Rosin	help
242c089f08SPeter Rosin	  GPIO-controlled Multiplexer controller.
252c089f08SPeter Rosin
262c089f08SPeter Rosin	  The driver builds a single multiplexer controller using a number
272c089f08SPeter Rosin	  of gpio pins. For N pins, there will be 2^N possible multiplexer
282c089f08SPeter Rosin	  states. The GPIO pins can be connected (by the hardware) to several
292c089f08SPeter Rosin	  multiplexers, which in that case will be operated in parallel.
302c089f08SPeter Rosin
312c089f08SPeter Rosin	  To compile the driver as a module, choose M here: the module will
322c089f08SPeter Rosin	  be called mux-gpio.
332c089f08SPeter Rosin
342c089f08SPeter Rosinendif
35