xref: /openbmc/linux/drivers/mux/Kconfig (revision 1af5a810)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Multiplexer devices
4#
5
6config MULTIPLEXER
7	tristate
8
9menu "Multiplexer drivers"
10	depends on MULTIPLEXER
11
12config MUX_ADG792A
13	tristate "Analog Devices ADG792A/ADG792G Multiplexers"
14	depends on I2C
15	help
16	  ADG792A and ADG792G Wide Bandwidth Triple 4:1 Multiplexers
17
18	  The driver supports both operating the three multiplexers in
19	  parallel and operating them independently.
20
21	  To compile the driver as a module, choose M here: the module will
22	  be called mux-adg792a.
23
24config MUX_ADGS1408
25	tristate "Analog Devices ADGS1408/ADGS1409 Multiplexers"
26	depends on SPI
27	help
28	  ADGS1408 8:1 multiplexer and ADGS1409 double 4:1 multiplexer
29	  switches.
30
31	  To compile the driver as a module, choose M here: the module will
32	  be called mux-adgs1408.
33
34config MUX_GPIO
35	tristate "GPIO-controlled Multiplexer"
36	depends on GPIOLIB || COMPILE_TEST
37	help
38	  GPIO-controlled Multiplexer controller.
39
40	  The driver builds a single multiplexer controller using a number
41	  of gpio pins. For N pins, there will be 2^N possible multiplexer
42	  states. The GPIO pins can be connected (by the hardware) to several
43	  multiplexers, which in that case will be operated in parallel.
44
45	  To compile the driver as a module, choose M here: the module will
46	  be called mux-gpio.
47
48config MUX_MMIO
49	tristate "MMIO/Regmap register bitfield-controlled Multiplexer"
50	depends on OF
51	help
52	  MMIO/Regmap register bitfield-controlled Multiplexer controller.
53
54	  The driver builds multiplexer controllers for bitfields in either
55	  a syscon register or a driver regmap register. For N bit wide
56	  bitfields, there will be 2^N possible multiplexer states.
57
58	  To compile the driver as a module, choose M here: the module will
59	  be called mux-mmio.
60
61endmenu
62