blob: 4a1bf7d0d29c94bc1b1b3156359f19c16bc5d1dd [file]
# SPDX-License-Identifier: (GPL-2.0+ OR MIT)
config AMLOGIC_MUX_GPIO
tristate "Duplicate GPIO-controlled Multiplexer"
depends on MULTIPLEXER
depends on AMLOGIC_GPIOLIB
default n
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 amlogic-mux-gpio.
config MUX_GPIO_IDLE_HIGHZ
bool "Set the GPIO pin to high-z input when the mux was idle"
depends on AMLOGIC_MUX_GPIO
default n
help
Set the de-assert pin to be input and disable the internal pull up