diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2013-12-12 13:46:03 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-01-23 13:02:37 +0100 |
commit | 2997609eb4c9e296d9129d45ea1f2ec99cc7c4da (patch) | |
tree | 247988896cfc281f218bf407338ec329d76839ac /drivers/bcma/Kconfig | |
parent | 87c99203fea897fbdd84b681ad9fced2517dcf98 (diff) | |
download | linux-2997609eb4c9e296d9129d45ea1f2ec99cc7c4da.tar.bz2 |
bcma: gpio: add own IRQ domain
Input GPIO changes can generate interrupts, but we need kind of ACK for
them by changing IRQ polarity. This is required to stop hardware from
keep generating interrupts and generate another one on the next GPIO
state change.
This code allows using GPIOs with standard interrupts and add for
example GPIO buttons support.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/6216/
Diffstat (limited to 'drivers/bcma/Kconfig')
-rw-r--r-- | drivers/bcma/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bcma/Kconfig b/drivers/bcma/Kconfig index 7c081b38ef3e..0ee48be23837 100644 --- a/drivers/bcma/Kconfig +++ b/drivers/bcma/Kconfig @@ -75,6 +75,7 @@ config BCMA_DRIVER_GMAC_CMN config BCMA_DRIVER_GPIO bool "BCMA GPIO driver" depends on BCMA && GPIOLIB + select IRQ_DOMAIN if BCMA_HOST_SOC help Driver to provide access to the GPIO pins of the bcma bus. |