ARM: at91/aic: add irq domain and device tree support
authorNicolas Ferre <nicolas.ferre@atmel.com>
Tue, 22 Nov 2011 21:26:09 +0000 (22:26 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 1 Mar 2012 12:29:00 +0000 (13:29 +0100)
commite261501d05bd2df244d31e0866b1e81776766ecf
treec0699ee7b1f2c8a58ff25c5dd2a0ab211a5b423d
parent89d4a1753b6632327f18d6c8e0842b366b736621
ARM: at91/aic: add irq domain and device tree support

Add an irqdomain for the AIC interrupt controller.
The device tree support is mapping the registers and
is using the irq_domain_add_legacy() to manage hwirq
translation.
The documentation is describing the meaning of the
two cells required for using this "interrupt-controller"
in a device tree node.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Documentation/devicetree/bindings/arm/atmel-aic.txt [new file with mode: 0644]
arch/arm/Kconfig
arch/arm/boot/dts/at91sam9g20.dtsi
arch/arm/boot/dts/at91sam9g45.dtsi
arch/arm/mach-at91/irq.c