summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2022-10-07 13:46:46 +0200
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2022-10-26 14:52:01 +0200
commit1454a928b637bd169d99fc91a46b3b36cea76f9f (patch)
tree24945884cefd8271d6a0cbc9b96b72617eefa029 /drivers/gpio/Kconfig
parent2a903ca922d007a0b40ca425ce55b5f0a0e01956 (diff)
downloadlinux-stable-1454a928b637bd169d99fc91a46b3b36cea76f9f.tar.gz
linux-stable-1454a928b637bd169d99fc91a46b3b36cea76f9f.tar.bz2
linux-stable-1454a928b637bd169d99fc91a46b3b36cea76f9f.zip
gpio: Add gpio latch driver
This driver implements a GPIO multiplexer based on latches connected to other GPIOs. A set of data GPIOs is connected to the data input of multiple latches. The clock input of each latch is driven by another set of GPIOs. With two 8-bit latches 10 GPIOs can be multiplexed into 16 GPIOs. GPOs might be a better term as in fact the multiplexed pins are output only. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Serge Semin <fancer.lancer@gmail.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> [Bartosz: fixed the strange of_device_id formatting] Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 5a04990f03cc..8c756cb29214 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -1684,6 +1684,12 @@ config GPIO_AGGREGATOR
industrial control context, to be operated from userspace using
the GPIO chardev interface.
+config GPIO_LATCH
+ tristate "GPIO latch driver"
+ help
+ Say yes here to enable a driver for GPIO multiplexers based on latches
+ connected to other GPIOs.
+
config GPIO_MOCKUP
tristate "GPIO Testing Driver"
select IRQ_SIM