Re: [PATCH] MIPS: lantiq: irq: register the interrupt controllers with irqchip_init
From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Date: 2021-01-13 10:45:23
Also in:
lkml
From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Date: 2021-01-13 10:45:23
Also in:
lkml
On Sat, Jan 09, 2021 at 08:53:51PM +0100, Martin Blumenstingl wrote:
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> --- arch/mips/lantiq/irq.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)
applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]