• Magnus Damm's avatar
    ARM: mach-shmobile: Introduce INTC_IRQ_PINS_16H · d7e7e4ff
    Magnus Damm authored
    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: default avatarMagnus Damm <damm@opensource.se>
    Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
    d7e7e4ff
intc.h 10.4 KB