diff options
author | Paul Kocialkowski <paul.kocialkowski@bootlin.com> | 2019-12-03 15:12:43 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-12-13 09:50:29 +0100 |
commit | c16485ad8e023b2188d19f0ace3bc2af500884e1 (patch) | |
tree | 1a9d5aa180c8f50e1e21d0eba401910c6bee92cb /drivers/gpio/Kconfig | |
parent | dt-bindings: gpio: Document the Xylon LogiCVC GPIO controller (diff) | |
download | linux-c16485ad8e023b2188d19f0ace3bc2af500884e1.tar.xz linux-c16485ad8e023b2188d19f0ace3bc2af500884e1.zip |
gpio: Add support for the Xylon LogiCVC GPIOs
The LogiCVC display hardware block comes with GPIO capabilities
that must be exposed separately from the main driver (as GPIOs) for
use with regulators and panels. A syscon is used to share the same
regmap across the two drivers.
Add a minimalistic GPIO driver to drive these GPIOs, using a syscon
regmap when available.
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Link: https://lore.kernel.org/r/20191203141243.251058-5-paul.kocialkowski@bootlin.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r-- | drivers/gpio/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 8adffd42f8cb..79f153b1da7e 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -312,6 +312,12 @@ config GPIO_IXP4XX IXP4xx series of chips. If unsure, say N. +config GPIO_LOGICVC + tristate "Xylon LogiCVC GPIO support" + depends on MFD_SYSCON && OF + help + Say yes here to support GPIO functionality of the Xylon LogiCVC + programmable logic block. config GPIO_LOONGSON bool "Loongson-2/3 GPIO support" |