aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorAlban Bedel <albeu@free.fr>2016-01-28 20:44:32 +0100
committerLinus Walleij <linus.walleij@linaro.org>2016-02-10 11:15:24 +0100
commit2b8f89e19b6d83d97019358328cbed22bbb0505e (patch)
tree14ee908f82178fd98737beafef94a40141e90dc7 /drivers/gpio/Kconfig
parentgpio: ath79: Make the driver removable (diff)
downloadlinux-dev-2b8f89e19b6d83d97019358328cbed22bbb0505e.tar.xz
linux-dev-2b8f89e19b6d83d97019358328cbed22bbb0505e.zip
gpio: ath79: Add support for the interrupt controller
Add support for the interrupt controller using GPIOLIB_IRQCHIP. Both edges isn't supported by the chip and has to be emulated by switching the polarity on each interrupt. Signed-off-by: Alban Bedel <albeu@free.fr> 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 3c1bb917dd72..f52b25964bc6 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -131,6 +131,7 @@ config GPIO_ATH79
default y if ATH79
depends on ATH79 || COMPILE_TEST
select GPIO_GENERIC
+ select GPIOLIB_IRQCHIP
help
Select this option to enable GPIO driver for
Atheros AR71XX/AR724X/AR913X SoC devices.