Home
last modified time | relevance | path

Searched hist:e91fd6ddb72b2652177c0e015b415fbe2839cf6a (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/mips/lantiq/
H A Dirq.cdiff e91fd6ddb72b2652177c0e015b415fbe2839cf6a Sat Jan 09 13:53:51 CST 2021 Martin Blumenstingl <martin.blumenstingl@googlemail.com> MIPS: lantiq: irq: register the interrupt controllers with irqchip_init

Add support for more interrupt controllers by switching from
of_irq_init() to irqchip_init() in Lantiq's arch_init_irq(). This
requires switching the ICU interrupt controller to use
IRQCHIP_DECLARE(), like a real irqchip driver would do.

This is needed for future changes when new irqchip drivers are
implemented:
- a dedicated driver for the EIU interrupt controller
- a driver for the MSI PIC (Programmable Interrupt Controller) found on
VRX200 and newer SoCs
- ..or any other driver which uses IRQCHIP_DECLARE

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>