gpio: etraxfs: add interrupt support
authorRabin Vincent <rabin@rab.in>
Fri, 31 Jul 2015 12:48:57 +0000 (14:48 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 3 Aug 2015 08:57:04 +0000 (10:57 +0200)
commit29b5357d25ba1528531ef9532b5743a32fdf8cd2
tree2e13a7b21b1c3f64ef6e85625fc9a8d4e321f20d
parent8b67a1f0ad1f260f1a4032d5f7b032ac113bfa7d
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>
drivers/gpio/Kconfig
drivers/gpio/gpio-etraxfs.c