ARM: mach-shmobile: sh73a0: Allow initialisation of GIC by DT
authorSimon Horman <horms+renesas@verge.net.au>
Wed, 21 Nov 2012 12:12:43 +0000 (21:12 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 25 Jan 2013 03:43:48 +0000 (12:43 +0900)
commita3f22db5102238197d5f6bbcad2f720ec7f09e10
treefbe330c446e6d05b7f681a0f3d87dbeba09cc7ac
parent20aa11358d52e1a3fc037d601ffe704e6f55c5fb
ARM: mach-shmobile: sh73a0: Allow initialisation of GIC by DT

This allows the GIC interrupt controller of the sh73a0 SoC to be
initialised using a flattened device tree blob.

It does not allow the INTC interrupt controller which is also present on
the sh73a0 SoC to be enabled via device tree.  Nor does it handle sharing
of interrupts between the GIC and INTC interrupt controllers.

This limits the usefulness of this code to applications which only wish to
access devices which use interrupts that can be handled by the GIC
interrupt controller. Other applications should, for now, continue using
non-device tree initialisation of the sh72a0 interrupt controllers.

Includes update to use irqchip_init() by Thierry Reding

Cc: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/sh73a0.dtsi [new file with mode: 0644]
arch/arm/mach-shmobile/include/mach/common.h
arch/arm/mach-shmobile/intc-sh73a0.c