irqchip: Add support for IDT 79rc3243x interrupt controller
Subsystems (2)
PATCH v3 1/2 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
PATCH v3 2/2 dt-bindings: interrupt-controller: Add IDT 79RC3243x Interrupt Controller
Document DT bindings for IDT 79RC3243x Interrupt Controller.
---
Changes in v3:
- fixed compatible string in example
Changes in v2:
- added dt binding doc
.../interrupt-controller/idt,3243x-pic.yaml | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/idt,3243x-pic.yaml
Documentation/devicetree/bindings/interrupt-controller/idt,3243x-pic.yaml new file +48 -0
@@ -0,0 +1,48 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/idt,3243x-pic.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: IDT 79RC3243x Interrupt Controller Device Tree Bindings + +maintainers: + - Thomas Bogendoerfer <[email protected]> + +allOf: + - $ref: /schemas/interrupt-controller.yaml# + +properties: + "#interrupt-cells": + const: 1 + + compatible: + const: idt,3243x-pci + + reg: + maxItems: 1 + + interrupt-controller: true + +required: + - "#interrupt-cells" + - compatible + - reg + - interrupt-controller + +additionalProperties: false + +examples: + - | + idtpic3: interrupt-controller@3800c { + compatible = "idt,3243x-pic"; + reg = <0x3800c 0x0c>; + + interrupt-controller; + #interrupt-cells = <1>; + + interrupt-parent = <&cpuintc>; + interrupts = <3>; + }; + +...
Signature · 1 line
2.29.2
[irqchip: irq/irqchip-next] dt-bindings: interrupt-controller: Add IDT 79RC3243x Interrupt Controller
The following commit has been merged into the irq/irqchip-next branch of irqchip:
The following commit has been merged into the irq/irqchip-next branch of irqchip:
Commit-ID: f0d37ead8d308e59ff5837bb6e3e65c9137a3bb6 Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/f0d37ead8d308e59ff5837bb6e3e65c9137a3bb6 Author: Thomas Bogendoerfer <[email protected]> AuthorDate: Wed, 21 Apr 2021 16:26:05 +02:00 Committer: Marc Zyngier <[email protected]> CommitterDate: Thu, 22 Apr 2021 13:56:57 +01:00
dt-bindings: interrupt-controller: Add IDT 79RC3243x Interrupt Controller
Document DT bindings for IDT 79RC3243x Interrupt Controller.
--- Documentation/devicetree/bindings/interrupt-controller/idt,3243x-pic.yaml | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/idt,3243x-pic.yaml
Documentation/devicetree/bindings/interrupt-controller/idt,3243x-pic.yaml new file +48 -0
@@ -0,0 +1,48 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/idt,3243x-pic.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: IDT 79RC3243x Interrupt Controller Device Tree Bindings + +maintainers: + - Thomas Bogendoerfer <[email protected]> + +allOf: + - $ref: /schemas/interrupt-controller.yaml# + +properties: + "#interrupt-cells": + const: 1 + + compatible: + const: idt,3243x-pci + + reg: + maxItems: 1 + + interrupt-controller: true + +required: + - "#interrupt-cells" + - compatible + - reg + - interrupt-controller + +additionalProperties: false + +examples: + - | + idtpic3: interrupt-controller@3800c { + compatible = "idt,3243x-pic"; + reg = <0x3800c 0x0c>; + + interrupt-controller; + #interrupt-cells = <1>; + + interrupt-parent = <&cpuintc>; + interrupts = <3>; + }; + +...
The following commit has been merged into the irq/irqchip-next branch of irqchip:
The following commit has been merged into the irq/irqchip-next branch of irqchip:
Commit-ID: cf9cc3bb5a8bbdcff2ddfd658a3d6b85553f594a Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/cf9cc3bb5a8bbdcff2ddfd658a3d6b85553f594a Author: Thomas Bogendoerfer <[email protected]> AuthorDate: Wed, 21 Apr 2021 16:26:04 +02:00 Committer: Marc Zyngier <[email protected]> CommitterDate: Thu, 22 Apr 2021 13:56:56 +01:00
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
@@ -583,4 +583,9 @@ config WPCM450_AIC help Support for the interrupt controller in the Nuvoton WPCM450 BMC SoC. +config IRQ_IDT3243X + bool + select GENERIC_IRQ_CHIP + select IRQ_DOMAIN + endmenu
drivers/irqchip/Makefile +1 -0
@@ -114,3 +114,4 @@ 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_WPCM450_AIC) += irq-wpcm450-aic.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