xref: /openbmc/linux/drivers/mux/Kconfig (revision 4c19c0ec)
1a3b02a9cSPeter Rosin#
2a3b02a9cSPeter Rosin# Multiplexer devices
3a3b02a9cSPeter Rosin#
4a3b02a9cSPeter Rosin
54c19c0ecSPeter Rosinconfig MULTIPLEXER
64c19c0ecSPeter Rosin	tristate
7a3b02a9cSPeter Rosin
84c19c0ecSPeter Rosinmenu "Multiplexer drivers"
94c19c0ecSPeter Rosin	depends on MULTIPLEXER
102c089f08SPeter Rosin
11afda08c4SPeter Rosinconfig MUX_ADG792A
12afda08c4SPeter Rosin	tristate "Analog Devices ADG792A/ADG792G Multiplexers"
13aca4e68aSArnd Bergmann	depends on I2C
14afda08c4SPeter Rosin	help
15afda08c4SPeter Rosin	  ADG792A and ADG792G Wide Bandwidth Triple 4:1 Multiplexers
16afda08c4SPeter Rosin
17afda08c4SPeter Rosin	  The driver supports both operating the three multiplexers in
18afda08c4SPeter Rosin	  parallel and operating them independently.
19afda08c4SPeter Rosin
20afda08c4SPeter Rosin	  To compile the driver as a module, choose M here: the module will
21afda08c4SPeter Rosin	  be called mux-adg792a.
22afda08c4SPeter Rosin
232c089f08SPeter Rosinconfig MUX_GPIO
242c089f08SPeter Rosin	tristate "GPIO-controlled Multiplexer"
252c089f08SPeter Rosin	depends on GPIOLIB || COMPILE_TEST
262c089f08SPeter Rosin	help
272c089f08SPeter Rosin	  GPIO-controlled Multiplexer controller.
282c089f08SPeter Rosin
292c089f08SPeter Rosin	  The driver builds a single multiplexer controller using a number
302c089f08SPeter Rosin	  of gpio pins. For N pins, there will be 2^N possible multiplexer
312c089f08SPeter Rosin	  states. The GPIO pins can be connected (by the hardware) to several
322c089f08SPeter Rosin	  multiplexers, which in that case will be operated in parallel.
332c089f08SPeter Rosin
342c089f08SPeter Rosin	  To compile the driver as a module, choose M here: the module will
352c089f08SPeter Rosin	  be called mux-gpio.
362c089f08SPeter Rosin
3773726380SPhilipp Zabelconfig MUX_MMIO
3873726380SPhilipp Zabel	tristate "MMIO register bitfield-controlled Multiplexer"
3973726380SPhilipp Zabel	depends on (OF && MFD_SYSCON) || COMPILE_TEST
4073726380SPhilipp Zabel	help
4173726380SPhilipp Zabel	  MMIO register bitfield-controlled Multiplexer controller.
4273726380SPhilipp Zabel
4373726380SPhilipp Zabel	  The driver builds multiplexer controllers for bitfields in a syscon
4473726380SPhilipp Zabel	  register. For N bit wide bitfields, there will be 2^N possible
4573726380SPhilipp Zabel	  multiplexer states.
4673726380SPhilipp Zabel
4773726380SPhilipp Zabel	  To compile the driver as a module, choose M here: the module will
4873726380SPhilipp Zabel	  be called mux-mmio.
4973726380SPhilipp Zabel
504c19c0ecSPeter Rosinendmenu
51