Peter Rosin | 0edff03 | 2017-12-29 00:22:55 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Peter Rosin | a3b02a9 | 2017-05-14 21:51:06 +0200 | [diff] [blame] | 2 | # |
| 3 | # Multiplexer devices |
| 4 | # |
| 5 | |
Peter Rosin | 4c19c0e | 2017-07-04 10:22:44 +0200 | [diff] [blame] | 6 | config MULTIPLEXER |
| 7 | tristate |
Peter Rosin | a3b02a9 | 2017-05-14 21:51:06 +0200 | [diff] [blame] | 8 | |
Peter Rosin | 4c19c0e | 2017-07-04 10:22:44 +0200 | [diff] [blame] | 9 | menu "Multiplexer drivers" |
| 10 | depends on MULTIPLEXER |
Peter Rosin | 2c089f0 | 2017-05-14 21:51:07 +0200 | [diff] [blame] | 11 | |
Peter Rosin | afda08c | 2017-05-14 21:51:14 +0200 | [diff] [blame] | 12 | config MUX_ADG792A |
| 13 | tristate "Analog Devices ADG792A/ADG792G Multiplexers" |
Arnd Bergmann | aca4e68 | 2017-06-09 12:22:51 +0200 | [diff] [blame] | 14 | depends on I2C |
Peter Rosin | afda08c | 2017-05-14 21:51:14 +0200 | [diff] [blame] | 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 | |
Mircea Caprioru | 8b9ce69 | 2018-08-01 10:37:40 +0200 | [diff] [blame] | 24 | config 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 Rosin | 2c089f0 | 2017-05-14 21:51:07 +0200 | [diff] [blame] | 34 | config 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 Zabel | 7372638 | 2017-05-14 21:51:16 +0200 | [diff] [blame] | 48 | config MUX_MMIO |
Pankaj Bansal | 8ecfaca | 2019-06-12 08:53:00 +0000 | [diff] [blame] | 49 | tristate "MMIO/Regmap register bitfield-controlled Multiplexer" |
| 50 | depends on OF || COMPILE_TEST |
Philipp Zabel | 7372638 | 2017-05-14 21:51:16 +0200 | [diff] [blame] | 51 | help |
Pankaj Bansal | 8ecfaca | 2019-06-12 08:53:00 +0000 | [diff] [blame] | 52 | MMIO/Regmap register bitfield-controlled Multiplexer controller. |
Philipp Zabel | 7372638 | 2017-05-14 21:51:16 +0200 | [diff] [blame] | 53 | |
Pankaj Bansal | 8ecfaca | 2019-06-12 08:53:00 +0000 | [diff] [blame] | 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. |
Philipp Zabel | 7372638 | 2017-05-14 21:51:16 +0200 | [diff] [blame] | 57 | |
| 58 | To compile the driver as a module, choose M here: the module will |
| 59 | be called mux-mmio. |
| 60 | |
Peter Rosin | 4c19c0e | 2017-07-04 10:22:44 +0200 | [diff] [blame] | 61 | endmenu |