IRQCHIP: irq-pic32-evic: Add support for PIC32 interrupt controller
authorCristian Birsan <cristian.birsan@microchip.com>
Thu, 14 Jan 2016 01:15:35 +0000 (18:15 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 24 Jan 2016 01:52:20 +0000 (02:52 +0100)
commitaaa8666ada780e8a4a60870aa4379e5e29e395f3
treea96279fec80f9ac5bbe50d11232f3b8adb4ee81d
parentedf2194dc9b9b527d003c47051bd4b09b61ddd55
IRQCHIP: irq-pic32-evic: Add support for PIC32 interrupt controller

This adds support for the interrupt controller present on PIC32 class
devices. It handles all internal and external interrupts. This controller
exists outside of the CPU core and is the arbitrator of all interrupts
(including interrupts from the CPU itself) before they are presented to
the CPU.

The following features are supported:
 - DT properties for EVIC and for devices/peripherals that use interrupt lines
 - Persistent and non-persistent interrupt handling
 - irqdomain and generic chip support
 - Configuration of external interrupt edge polarity

Signed-off-by: Cristian Birsan <cristian.birsan@microchip.com>
Signed-off-by: Joshua Henderson <joshua.henderson@microchip.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/12092/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
drivers/irqchip/Kconfig
drivers/irqchip/Makefile
drivers/irqchip/irq-pic32-evic.c [new file with mode: 0644]