]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc9f287bbdcb98de499a071a7a80d4e251e8683be
treeb83cc041654251749f0b0560e89b81632fb313b6
parent6b3a414c45e8012b36c5ef5c2efd7957eabc50b7
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