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