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>
This commit is contained in:
Alban Bedel 2016-01-28 20:44:32 +01:00 • committed by Linus Walleij
commit 2b8f89e19b
2 changed files with 206 additions and 0 deletions