irqchip: Add support for TI-NSPIRE irqchip
Subsystems (2)
PATCH RESEND v2 1/1 irqchip: Add support for TI-NSPIRE irqchip
This patch adds support for the interrupt controllers found in some TI-Nspire models.
FIQ support was taken out to simplify the driver
code and may be added in later. Since Linux on this platform doesn't really use FIQs, this wasn't really that important in the first place.
Changes from v1 to v2:
* Converted to use generic IRQ chips.
* Removed FIQ for now to simplify driver code.
* Based against tip/irq/core and uses IRQ domain support for generic chips.
Signed-off-by Daniel Tang <[email protected]>
Acked-by Grant Likely <[email protected]>
--- .../interrupt-controller/lsi,zevio-intc.txt | 18 +++ drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-zevio.c | 129 +++++++++++++++++++++ 3 files changed, 148 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/lsi,zevio-intc.txt create mode 100644 drivers/irqchip/irq-zevio.c
Documentation/devicetree/bindings/interrupt-controller/lsi,zevio-intc.txt new file +18 -0
@@ -0,0 +1,18 @@ +TI-NSPIRE interrupt controller + +Required properties: +- compatible: Compatible property value should be "lsi,zevio-intc". + +- reg: Physical base address of the controller and length of memory mapped + region. + +- interrupt-controller : Identifies the node as an interrupt controller + +Example: + +interrupt-controller { + compatible = "lsi,zevio-intc"; + interrupt-controller; + reg = <0xDC000000 0x1000>; + #interrupt-cells = <1>; +};
drivers/irqchip/Makefile +1 -0
@@ -15,4 +15,5 @@ obj-$(CONFIG_SIRF_IRQ) += irq-sirfsoc.o obj-$(CONFIG_RENESAS_INTC_IRQPIN) += irq-renesas-intc-irqpin.o obj-$(CONFIG_RENESAS_IRQC) += irq-renesas-irqc.o obj-$(CONFIG_VERSATILE_FPGA_IRQ) += irq-versatile-fpga.o +obj-$(CONFIG_ARCH_NSPIRE) += irq-zevio.o obj-$(CONFIG_ARCH_VT8500) += irq-vt8500.o
drivers/irqchip/irq-zevio.c new file +129 -0
129 lines not on this page · raw message
Signature · 1 line
1.8.1.3