blob: 7c754a0f14bb5327b6e590ae6f31755a3762034a [file] [log] [blame]
Peter Rosina3b02a92017-05-14 21:51:06 +02001#
2# Multiplexer devices
3#
4
5menuconfig MULTIPLEXER
6 tristate "Multiplexer subsystem"
7 help
8 Multiplexer controller subsystem. Multiplexers are used in a
9 variety of settings, and this subsystem abstracts their use
10 so that the rest of the kernel sees a common interface. When
11 multiple parallel multiplexers are controlled by one single
12 multiplexer controller, this subsystem also coordinates the
13 multiplexer accesses.
14
15 To compile the subsystem as a module, choose M here: the module will
16 be called mux-core.
Peter Rosin2c089f02017-05-14 21:51:07 +020017
18if MULTIPLEXER
19
Peter Rosinafda08c2017-05-14 21:51:14 +020020config MUX_ADG792A
21 tristate "Analog Devices ADG792A/ADG792G Multiplexers"
Arnd Bergmannaca4e682017-06-09 12:22:51 +020022 depends on I2C
Peter Rosinafda08c2017-05-14 21:51:14 +020023 help
24 ADG792A and ADG792G Wide Bandwidth Triple 4:1 Multiplexers
25
26 The driver supports both operating the three multiplexers in
27 parallel and operating them independently.
28
29 To compile the driver as a module, choose M here: the module will
30 be called mux-adg792a.
31
Peter Rosin2c089f02017-05-14 21:51:07 +020032config MUX_GPIO
33 tristate "GPIO-controlled Multiplexer"
34 depends on GPIOLIB || COMPILE_TEST
35 help
36 GPIO-controlled Multiplexer controller.
37
38 The driver builds a single multiplexer controller using a number
39 of gpio pins. For N pins, there will be 2^N possible multiplexer
40 states. The GPIO pins can be connected (by the hardware) to several
41 multiplexers, which in that case will be operated in parallel.
42
43 To compile the driver as a module, choose M here: the module will
44 be called mux-gpio.
45
Philipp Zabel73726382017-05-14 21:51:16 +020046config MUX_MMIO
47 tristate "MMIO register bitfield-controlled Multiplexer"
48 depends on (OF && MFD_SYSCON) || COMPILE_TEST
49 help
50 MMIO register bitfield-controlled Multiplexer controller.
51
52 The driver builds multiplexer controllers for bitfields in a syscon
53 register. For N bit wide bitfields, there will be 2^N possible
54 multiplexer states.
55
56 To compile the driver as a module, choose M here: the module will
57 be called mux-mmio.
58
Peter Rosin2c089f02017-05-14 21:51:07 +020059endif