]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Thu, 28 Mar 2013 07:40:39 +0000 (16:40 +0900)
commitd089d2bf1aa0f114fc0f0f7ecf7b7bebe41a5107
treed19f1a135e4314d2fdf9cfd4cfad3ab5b4aedc43
parent968bfac5c3a7ee993e0a4bd8cb8e1b73c8073161
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