2017-12-29 00:22:55 +01:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2017-05-14 21:51:06 +02:00
|
|
|
#
|
|
|
|
|
# Multiplexer devices
|
|
|
|
|
#
|
|
|
|
|
|
2017-07-04 10:22:44 +02:00
|
|
|
config MULTIPLEXER
|
2026-02-26 15:21:16 +02:00
|
|
|
bool
|
|
|
|
|
|
|
|
|
|
config MUX_CORE
|
|
|
|
|
bool "Generic Multiplexer Support"
|
|
|
|
|
select MULTIPLEXER
|
|
|
|
|
help
|
|
|
|
|
This framework is designed to abstract multiplexer handling for
|
|
|
|
|
devices via various GPIO-, MMIO/Regmap or specific multiplexer
|
|
|
|
|
controller chips.
|
|
|
|
|
|
|
|
|
|
If unsure, say no.
|
|
|
|
|
|
|
|
|
|
if MULTIPLEXER
|
2017-05-14 21:51:06 +02:00
|
|
|
|
2017-07-04 10:22:44 +02:00
|
|
|
menu "Multiplexer drivers"
|
2017-05-14 21:51:07 +02:00
|
|
|
|
2017-05-14 21:51:14 +02:00
|
|
|
config MUX_ADG792A
|
|
|
|
|
tristate "Analog Devices ADG792A/ADG792G Multiplexers"
|
2017-06-09 12:22:51 +02:00
|
|
|
depends on I2C
|
2017-05-14 21:51:14 +02:00
|
|
|
help
|
|
|
|
|
ADG792A and ADG792G Wide Bandwidth Triple 4:1 Multiplexers
|
|
|
|
|
|
|
|
|
|
The driver supports both operating the three multiplexers in
|
|
|
|
|
parallel and operating them independently.
|
|
|
|
|
|
|
|
|
|
To compile the driver as a module, choose M here: the module will
|
|
|
|
|
be called mux-adg792a.
|
|
|
|
|
|
2018-08-01 10:37:40 +02:00
|
|
|
config MUX_ADGS1408
|
|
|
|
|
tristate "Analog Devices ADGS1408/ADGS1409 Multiplexers"
|
|
|
|
|
depends on SPI
|
|
|
|
|
help
|
|
|
|
|
ADGS1408 8:1 multiplexer and ADGS1409 double 4:1 multiplexer
|
|
|
|
|
switches.
|
|
|
|
|
|
|
|
|
|
To compile the driver as a module, choose M here: the module will
|
|
|
|
|
be called mux-adgs1408.
|
|
|
|
|
|
2017-05-14 21:51:07 +02:00
|
|
|
config MUX_GPIO
|
|
|
|
|
tristate "GPIO-controlled Multiplexer"
|
|
|
|
|
depends on GPIOLIB || COMPILE_TEST
|
|
|
|
|
help
|
|
|
|
|
GPIO-controlled Multiplexer controller.
|
|
|
|
|
|
|
|
|
|
The driver builds a single multiplexer controller using a number
|
|
|
|
|
of gpio pins. For N pins, there will be 2^N possible multiplexer
|
|
|
|
|
states. The GPIO pins can be connected (by the hardware) to several
|
|
|
|
|
multiplexers, which in that case will be operated in parallel.
|
|
|
|
|
|
|
|
|
|
To compile the driver as a module, choose M here: the module will
|
|
|
|
|
be called mux-gpio.
|
|
|
|
|
|
2017-05-14 21:51:16 +02:00
|
|
|
config MUX_MMIO
|
2019-06-12 08:53:00 +00:00
|
|
|
tristate "MMIO/Regmap register bitfield-controlled Multiplexer"
|
2023-05-31 23:53:27 +02:00
|
|
|
depends on OF
|
2025-06-16 11:38:42 +02:00
|
|
|
select REGMAP_MMIO
|
2017-05-14 21:51:16 +02:00
|
|
|
help
|
2019-06-12 08:53:00 +00:00
|
|
|
MMIO/Regmap register bitfield-controlled Multiplexer controller.
|
2017-05-14 21:51:16 +02:00
|
|
|
|
2019-06-12 08:53:00 +00:00
|
|
|
The driver builds multiplexer controllers for bitfields in either
|
|
|
|
|
a syscon register or a driver regmap register. For N bit wide
|
|
|
|
|
bitfields, there will be 2^N possible multiplexer states.
|
2017-05-14 21:51:16 +02:00
|
|
|
|
|
|
|
|
To compile the driver as a module, choose M here: the module will
|
|
|
|
|
be called mux-mmio.
|
|
|
|
|
|
2017-07-04 10:22:44 +02:00
|
|
|
endmenu
|
2026-02-26 15:21:16 +02:00
|
|
|
|
|
|
|
|
endif # MULTIPLEXER
|