summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorJan Kotas <jank@cadence.com>2018-12-18 16:10:42 +0000
committerLinus Walleij <linus.walleij@linaro.org>2018-12-21 11:41:00 +0100
commit72ab2f76319e15f7ad1f9d5f529df47099d4d271 (patch)
treea5b3335d3efc798d5edf9787d7507045774c965d /drivers/gpio/Kconfig
parente4b194aa0bf522dad9ecf0568eb0fdd598a2713b (diff)
downloadlinux-72ab2f76319e15f7ad1f9d5f529df47099d4d271.tar.bz2
gpio: Add Cadence GPIO driver
This patch adds a driver for Cadence GPIO controller. It can be enabled with GPIO_CADENCE Kconfig option. It uses generic GPIO infrastructure and works as an interrupt controller. At the moment it only supports level sensitive irqs. Signed-off-by: Jan Kotas <jank@cadence.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index f47994708809..7b3e4e19a799 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -160,6 +160,14 @@ config GPIO_BRCMSTB
help
Say yes here to enable GPIO support for Broadcom STB (BCM7XXX) SoCs.
+config GPIO_CADENCE
+ tristate "Cadence GPIO support"
+ depends on OF_GPIO
+ select GPIO_GENERIC
+ select GPIOLIB_IRQCHIP
+ help
+ Say yes here to enable support for Cadence GPIO controller.
+
config GPIO_CLPS711X
tristate "CLPS711X GPIO support"
depends on ARCH_CLPS711X || COMPILE_TEST