ARM: mach-shmobile: Introduce INTC_IRQ_PINS_16H
authorMagnus Damm <damm@opensource.se>
Wed, 28 Mar 2012 10:22:46 +0000 (19:22 +0900)
committerRafael J. Wysocki <rjw@sisk.pl>
Wed, 11 Apr 2012 10:11:48 +0000 (12:11 +0200)
commitd7e7e4ffc64f700e876a9f3b2727febaa2041221
tree087be2bd61890b659eaec51f0437d379940ef3e4
parent0f2c9f20e4e339de30cfd5613dfa9505e7b9c58b
ARM: mach-shmobile: Introduce INTC_IRQ_PINS_16H

Add INTC_IRQ_PINS_16H to allow broken out support of the
the high 16 external interrupt pins. On SoCs with 32 external
interrupt pins the interrupt vectors for the low 16 and the
high 16 interrupt pins are sparesly populated. The low 16 are
at 0x0200 and high 16 are at 0x3200 which with current macros
results in a separation of 384 linux interrupts. This sparse
population makes it unsuitable with a single IRQ domain to
cover the full IRQ range, so this macro breaks out the 32 pins
into two separate 16 bit controllers to allow two independent
INTC instances with two separate IRQ domains.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
arch/arm/mach-shmobile/include/mach/intc.h