irqchip: versatile-fpga: add support for arm,versatile-sic
authorRob Herring <robh@kernel.org>
Mon, 3 Mar 2014 15:15:18 +0000 (09:15 -0600)
committerRob Herring <robh@kernel.org>
Tue, 24 Jun 2014 19:15:58 +0000 (14:15 -0500)
commit59318461c8f65f6f322e391f333dfb6ec2fe4446
tree91bd7d9fd0b971a0d3a61bf1330d59094dd62692
parent2920bc9abedf87451e9ba2695a4c418c567046b6
irqchip: versatile-fpga: add support for arm,versatile-sic

The secondary controller on ARM Versatile AB and PB is similar to
other ARM platforms, but has a pass-thru register to connect some
interrupts directly to interrupt inputs on the primary interrupt
controller. The PIC_ENABLES register needs to be configured for
proper operation when the matching node is arm,versatile-sic. Add the
the necessary IRQCHIP_DECLARE as well.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
drivers/irqchip/irq-versatile-fpga.c