blob: e5c571fd232cc2f220d84e72339443c5176b272e [file] [log] [blame]
Peter Rosin0edff032017-12-29 00:22:55 +01001# SPDX-License-Identifier: GPL-2.0
Peter Rosina3b02a92017-05-14 21:51:06 +02002#
3# Multiplexer devices
4#
5
Peter Rosin4c19c0e2017-07-04 10:22:44 +02006config MULTIPLEXER
7 tristate
Peter Rosina3b02a92017-05-14 21:51:06 +02008
Peter Rosin4c19c0e2017-07-04 10:22:44 +02009menu "Multiplexer drivers"
10 depends on MULTIPLEXER
Peter Rosin2c089f02017-05-14 21:51:07 +020011
Peter Rosinafda08c2017-05-14 21:51:14 +020012config MUX_ADG792A
13 tristate "Analog Devices ADG792A/ADG792G Multiplexers"
Arnd Bergmannaca4e682017-06-09 12:22:51 +020014 depends on I2C
Peter Rosinafda08c2017-05-14 21:51:14 +020015 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
Mircea Caprioru8b9ce692018-08-01 10:37:40 +020024config 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
Peter Rosin2c089f02017-05-14 21:51:07 +020034config 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
Philipp Zabel73726382017-05-14 21:51:16 +020048config MUX_MMIO
Pankaj Bansal8ecfaca2019-06-12 08:53:00 +000049 tristate "MMIO/Regmap register bitfield-controlled Multiplexer"
50 depends on OF || COMPILE_TEST
Philipp Zabel73726382017-05-14 21:51:16 +020051 help
Pankaj Bansal8ecfaca2019-06-12 08:53:00 +000052 MMIO/Regmap register bitfield-controlled Multiplexer controller.
Philipp Zabel73726382017-05-14 21:51:16 +020053
Pankaj Bansal8ecfaca2019-06-12 08:53:00 +000054 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.
Philipp Zabel73726382017-05-14 21:51:16 +020057
58 To compile the driver as a module, choose M here: the module will
59 be called mux-mmio.
60
Peter Rosin4c19c0e2017-07-04 10:22:44 +020061endmenu