]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: at91: AIC and GPIO IRQ device tree initialization
authorNicolas Ferre <nicolas.ferre@atmel.com>
Tue, 14 Feb 2012 17:08:14 +0000 (18:08 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 1 Mar 2012 12:29:03 +0000 (13:29 +0100)
commit45b553967155424de0e45ab2883827bae54bd092
tree7803070e93c4955e7b37eb4f4e81e4d1411aeb98
parent941f15d566b22a7473198d3575933a29d51b047c
ARM: at91: AIC and GPIO IRQ device tree initialization

Both AIC and GPIO controllers are now using the standard of_irq_init()
function to initialize IRQs in case of DT use.
The DT specific initialization functions are now separated from the
non-DT case and are now using "linear" irq domains.
The .map() irqdomain operation is responsible for positioning the IRQ
handlers. In AIC case, the Linux IRQ number is directly programmed in
the hardware to avoid an additional reverse mapping operation.
The AIC position its irq domain as the "default" irq domain.

For DT case, the priority is not yet filled in the SMR. It will be the
subject of another patch.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/mach-at91/board-dt.c
arch/arm/mach-at91/generic.h
arch/arm/mach-at91/gpio.c
arch/arm/mach-at91/irq.c