irqchip: Add support for IDT 79rc3243x interrupt controller
PATCH 1/1 irqchip: Add support for IDT 79rc3243x interrupt controller
IDT 79rc3243x SoCs have rather simple interrupt controllers connected to the MIPS CPU interrupt lines. Each of them has room for up to 32 interrupts.
--- drivers/irqchip/Kconfig | 5 ++ drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-idt3243x.c | 124 +++++++++++++++++++++++++++++++++ 3 files changed, 130 insertions(+) create mode 100644 drivers/irqchip/irq-idt3243x.c
drivers/irqchip/Kconfig +5 -0
@@ -586,4 +586,9 @@ config MST_IRQ help Support MStar Interrupt Controller. +config IRQ_IDT3243X + bool + select GENERIC_IRQ_CHIP + select IRQ_DOMAIN + endmenu
drivers/irqchip/Makefile +1 -0
@@ -113,3 +113,4 @@ obj-$(CONFIG_LOONGSON_PCH_MSI) += irq-loongson-pch-msi.o obj-$(CONFIG_MST_IRQ) += irq-mst-intc.o obj-$(CONFIG_SL28CPLD_INTC) += irq-sl28cpld.o obj-$(CONFIG_MACH_REALTEK_RTL) += irq-realtek-rtl.o +obj-$(CONFIG_IRQ_IDT3243X) += irq-idt3243x.o
drivers/irqchip/irq-idt3243x.c new file +124 -0
124 lines not on this page · raw message
Signature · 1 line
2.29.2
Quoted 5 lines · Thomas Bogendoerfer
IDT 79rc3243x SoCs have rather simple interrupt controllers connected to the MIPS CPU interrupt lines. Each of them has room for up to 32 interrupts.
Signed-off-by Thomas Bogendoerfer <[email protected]>
Is there a DT binding for this irqchip? The code looks fine, but it'd be good if the binding was merged at the same time as the driver.
Thanks,
M.
Signature · 1 line
Jazz is not dead. It just smells funny...
Quoted 9 lines · Marc Zyngier
Quoted 5 lines · Thomas Bogendoerfer
IDT 79rc3243x SoCs have rather simple interrupt controllers connected to the MIPS CPU interrupt lines. Each of them has room for up to 32 interrupts.
Signed-off-by Thomas Bogendoerfer <[email protected]>Is there a DT binding for this irqchip? The code looks fine, but it'd be good if the binding was merged at the same time as the driver.
I'll write one and send a v2.
Thomas.
Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]