summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2022-11-07 15:45:24 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2022-11-08 11:05:44 +0100
commit288f3e294bd47a6ef3c5872dc50585c39da3c1f5 (patch)
tree9b404f5dea42793d4170bfc392aa75ca9a260503 /drivers/gpio/Kconfig
parent2d11e1838be14b9f5ba409da0fd4b07a162cc03c (diff)
downloadbarebox-288f3e294bd47a6ef3c5872dc50585c39da3c1f5.tar.gz
barebox-288f3e294bd47a6ef3c5872dc50585c39da3c1f5.tar.xz
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> Link: https://lore.barebox.org/20221107144524.489471-5-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
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 ab75fe4ed9..dd2b56d256 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -205,6 +205,12 @@ config GPIO_ZYNQ
help
Say yes here to support Xilinx Zynq GPIO controller.
+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.
+
endmenu
endif