summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorRabin Vincent <rabin@rab.in>2015-07-31 14:48:57 +0200
committerLinus Walleij <linus.walleij@linaro.org>2015-08-03 10:57:04 +0200
commit29b5357d25ba1528531ef9532b5743a32fdf8cd2 (patch)
tree2e13a7b21b1c3f64ef6e85625fc9a8d4e321f20d /drivers/gpio/Kconfig
parent8b67a1f0ad1f260f1a4032d5f7b032ac113bfa7d (diff)
downloadlinux-stable-29b5357d25ba1528531ef9532b5743a32fdf8cd2.tar.gz
linux-stable-29b5357d25ba1528531ef9532b5743a32fdf8cd2.tar.bz2
linux-stable-29b5357d25ba1528531ef9532b5743a32fdf8cd2.zip
gpio: etraxfs: add interrupt support
On ETRAX FS, all pins on the first port (and only the first port) have interrupt support. On ARTPEC-3, all pins on all ports have interrupt support. However, there are only eight interrupts. Each of the interrupts is associated with a group of pins and for each interrupt the one pin from the group which will trigger it can be selected. Signed-off-by: Rabin Vincent <rabin@rab.in> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 3a9dc1a8f56e..37d9418c5a2d 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -171,6 +171,7 @@ config GPIO_ETRAXFS
depends on CRIS || COMPILE_TEST
depends on OF
select GPIO_GENERIC
+ select GPIOLIB_IRQCHIP
help
Say yes here to support the GPIO controller on Axis ETRAX FS SoCs.