]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pinctrl: sh-pfc: r8a7795: Add support for INTC-EX IRQ pins
authorMagnus Damm <damm+renesas@opensource.se>
Mon, 15 Feb 2016 12:17:19 +0000 (21:17 +0900)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 18 Feb 2016 08:30:57 +0000 (09:30 +0100)
commitbb46f6f3f3bf7135266813522b2453da1c26fe85
tree9f8163f70dcda56c6d99d3291c4f9f4fa4b5b269
parent73cfc55ae0680584f2d47aeaf65c5419ab129d8e
pinctrl: sh-pfc: r8a7795: Add support for INTC-EX IRQ pins

Most pins on the r8a7795 SoC can be configured in GPIO mode for
interrupt and GPIO functionality, while a couple of them can also
be routed to the INTC-EX hardware block (formerly known as IRQC).

On r8a7795 the INTC-EX hardware handles pins IRQ0 -> IRQ5 and
this patch adds support for them to the PFC driver as "intc_ex_irqN".

Tested on r8a7795 Salvator-X with an external loop back adapter on
EXIO_D that connects pin 9 (IRQ2/GP2_02) and pin 26 (ExA22/GP2_06).

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/pinctrl/sh-pfc/pfc-r8a7795.c