ARM: shmobile: r8a7740: Migrate from INTC to GIC
authorBastian Hecht <hechtb@gmail.com>
Wed, 27 Mar 2013 13:54:04 +0000 (14:54 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 2 Apr 2013 02:02:09 +0000 (11:02 +0900)
commit0b7d78202260162057248875b1c9bac70d041e58
tree59f3f08b9d71e1d3a7b4d45f657e9a8320e611d6
parentc91cf2fad00f24bfe268d30b75e4015aaa326c04
ARM: shmobile: r8a7740: Migrate from INTC to GIC

With the added capabilty of the intc_irqpin driver to handle shared
external IRQs, all prerequisites are fulfilled and we are ready to
migrate completely to GIC. This includes the following steps:

- Kconfig: select ARM_GIC and RENESAS_INTC_IRQPIN
- intc-r8a7740: Throw out all legacy INTC code and init the GIC. We need
   to mask out all shared IRQs as it is needed by the
shared intc_irqpin driver.
- setup-r8a7740: Add 4 irqpin devices to handle external IRQs and update
all IRQ numbers to point to the GIC SPI.
- board-armadillo: Update all IRQ numbers to point to the GIC SPI.
- pfc-r8a7740: Update all IRQ numbers of the GPIOs to point to the GIC
SPI.

Signed-off-by: Bastian Hecht <hechtb+renesas@gmail.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/Kconfig
arch/arm/mach-shmobile/board-armadillo800eva.c
arch/arm/mach-shmobile/intc-r8a7740.c
arch/arm/mach-shmobile/setup-r8a7740.c
drivers/pinctrl/sh-pfc/pfc-r8a7740.c