ARM: shmobile: INTC External IRQ pin driver on sh73a0
authorMagnus Damm <damm@opensource.se>
Tue, 26 Feb 2013 03:01:09 +0000 (12:01 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 18 Mar 2013 12:26:05 +0000 (21:26 +0900)
commit341eb5465f67437ad37ef2f6302b581beda4614a
treeb83cc041654251749f0b0560e89b81632fb313b6
parent1f4f11c671dacc219fae538ecf691fd212e295a6
ARM: shmobile: INTC External IRQ pin driver on sh73a0

Adjust the sh73a0 IRQ code to make use of the
INTC External IRQ pin driver for external
interrupt pins IRQ0 -> IRQ31.

This removes quite a bit of special-case code
in intc-sh73a0.c but the number of lines get
replaced with platform device information in
setup-sh73a0.c. The PFC code is also adjusted
to make gpio_to_irq() return the correct
interrupt number.

At this point the DT reference implementations
are not covered. In the future such code shall
tie in the INTC External IRQ pin driver via
DT, so this kind of verbose code is not needed
for the long term DT case.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/Kconfig
arch/arm/mach-shmobile/board-kzm9g.c
arch/arm/mach-shmobile/intc-sh73a0.c
arch/arm/mach-shmobile/setup-sh73a0.c
drivers/pinctrl/sh-pfc/pfc-sh73a0.c