Skip to contentSkip to conversation

irqchip: Conexant CX92755 interrupts controller support

PATCH New Baruch Siach 2 participants 5 messages Jan 15, 2015 – Jan 26, 2015

Subsystems (3)
lore
Share & tools
lore

Baruch Siach

author maintainer
#0 lore raw

v3 cover irqchip: Conexant CX92755 interrupts controller support

This short series adds support for the Conexant CX92755 SoC interrupts controller. This SoC is part of the Conexant Digicolor series of SoCs.

v3:
* Split from the "ARM: Conexant Digicolor CX92755 SoC support" series, as these patches should go via the irqchip maintainers

* Use syscon to access the system global UC_IRQ_CONTROL register

* Add description of the "syscon" property to the device tree binding documentation

* Rename the interrupt controller node name to "interrupt-controller" (Sergei Shtylyov)

v2:
http://marc.info/?t=142074613900007&r=1&w=2

* Migrate the irq driver to generic irq chip, simplifying the code somewhat (Arnd Bergmann)

v1:
http://thread.gmane.org/gmane.linux.kernel/1855027

Baruch Siach (2):
irqchip: devicetree: document Conexant Digicolor irq binding
irqchip: Conexant CX92755 interrupts controller driver

 .../bindings/interrupt-controller/digicolor-ic.txt |  22 ++++
 drivers/irqchip/Makefile                           |   1 +
 drivers/irqchip/irq-digicolor.c                    | 120 +++++++++++++++++++++
 3 files changed, 143 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/digicolor-ic.txt
 create mode 100644 drivers/irqchip/irq-digicolor.c
Signature · 1 line
2.1.4
author maintainer
#1 lore raw

PATCH v3 1/2 irqchip: devicetree: document Conexant Digicolor irq binding

---
 .../bindings/interrupt-controller/digicolor-ic.txt | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/digicolor-ic.txt
Documentation/devicetree/bindings/interrupt-controller/digicolor-ic.txt new file +22 -0
new file mode 100644
index 000000000000..c25c9a4de615
@@ -0,0 +1,22 @@
+Conexant Digicolor Interrupt Controller
+
+Required properties:
+
+- compatible : should be "cnxt,cx92755-ic"
+- reg : Specifies base physical address and size of the interrupt controller
+  registers (IC) area
+- interrupt-controller : Identifies the node as an interrupt controller
+- #interrupt-cells : Specifies the number of cells needed to encode an
+  interrupt source. The value shall be 1.
+- syscon: A phandle to the syscon node describing UC registers
+
+Example:
+
+	intc: interrupt-controller at f0000040 {
+		compatible = "cnxt,cx92755-ic";
+		interrupt-controller;
+		#interrupt-cells = <1>;
+		reg = <0xf0000040 0x40>;
+		syscon = <&uc_regs>;
+	};
+
Signature · 1 line
2.1.4
author maintainer
#3 lore raw

PATCH v3 2/2 irqchip: Conexant CX92755 interrupts controller driver

In reply to Baruch Siach

Add interrupt controller driver to the Conexant CX92755 SoC, part of the Digicolor SoCs series. Use the generic irq framework support. Use syscon to access the system global UC_IRQ_CONTROL register.

---
 drivers/irqchip/Makefile        |   1 +
 drivers/irqchip/irq-digicolor.c | 120 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 121 insertions(+)
 create mode 100644 drivers/irqchip/irq-digicolor.c
drivers/irqchip/Makefile +1 -0
index 9516a324be6d..42965d2476bb 100644
@@ -42,3 +42,4 @@ obj-$(CONFIG_BRCMSTB_L2_IRQ)		+= irq-brcmstb-l2.o
 obj-$(CONFIG_KEYSTONE_IRQ)		+= irq-keystone.o
 obj-$(CONFIG_MIPS_GIC)			+= irq-mips-gic.o
 obj-$(CONFIG_ARCH_MEDIATEK)		+= irq-mtk-sysirq.o
+obj-$(CONFIG_ARCH_DIGICOLOR)		+= irq-digicolor.o
drivers/irqchip/irq-digicolor.c new file +120 -0

120 lines not on this page · raw message

Signature · 1 line
2.1.4
#2 lore raw

[tip:irq/core] irqchip: Devicetree: document Conexant Digicolor irq binding

In reply to Baruch Siach
irqchip: Devicetree: document Conexant Digicolor irq binding
Commit-ID:  f848526f3768a80cb3fbcf503306e2c29a80a83c
Gitweb:     http://git.kernel.org/tip/f848526f3768a80cb3fbcf503306e2c29a80a83c
Author:     Baruch Siach <[email protected]>
AuthorDate: Thu, 15 Jan 2015 12:33:59 +0200
Committer:  Thomas Gleixner <[email protected]>
CommitDate: Mon, 26 Jan 2015 11:38:23 +0100

irqchip: Devicetree: document Conexant Digicolor irq binding

---
 .../bindings/interrupt-controller/digicolor-ic.txt  | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
Documentation/devicetree/bindings/interrupt-controller/digicolor-ic.txt new file +21 -0
new file mode 100644
index 0000000..42d41ec
@@ -0,0 +1,21 @@
+Conexant Digicolor Interrupt Controller
+
+Required properties:
+
+- compatible : should be "cnxt,cx92755-ic"
+- reg : Specifies base physical address and size of the interrupt controller
+  registers (IC) area
+- interrupt-controller : Identifies the node as an interrupt controller
+- #interrupt-cells : Specifies the number of cells needed to encode an
+  interrupt source. The value shall be 1.
+- syscon: A phandle to the syscon node describing UC registers
+
+Example:
+
+	intc: interrupt-controller@f0000040 {
+		compatible = "cnxt,cx92755-ic";
+		interrupt-controller;
+		#interrupt-cells = <1>;
+		reg = <0xf0000040 0x40>;
+		syscon = <&uc_regs>;
+	};
#4 lore raw

[tip:irq/core] irqchip: Conexant CX92755 interrupts controller driver

In reply to Baruch Siach
irqchip: Conexant CX92755 interrupts controller driver
Commit-ID:  8041dfbd31cfff31309a2469c3d692595381c38e
Gitweb:     http://git.kernel.org/tip/8041dfbd31cfff31309a2469c3d692595381c38e
Author:     Baruch Siach <[email protected]>
AuthorDate: Thu, 15 Jan 2015 12:34:00 +0200
Committer:  Thomas Gleixner <[email protected]>
CommitDate: Mon, 26 Jan 2015 11:38:23 +0100

irqchip: Conexant CX92755 interrupts controller driver

Add interrupt controller driver to the Conexant CX92755 SoC, part of the Digicolor SoCs series. Use the generic irq framework support. Use syscon to access the system global UC_IRQ_CONTROL register.

---
 drivers/irqchip/Makefile        |   1 +
 drivers/irqchip/irq-digicolor.c | 120 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 121 insertions(+)
drivers/irqchip/Makefile +1 -0
index 9516a32..42965d2 100644
@@ -42,3 +42,4 @@ obj-$(CONFIG_BRCMSTB_L2_IRQ)		+= irq-brcmstb-l2.o
 obj-$(CONFIG_KEYSTONE_IRQ)		+= irq-keystone.o
 obj-$(CONFIG_MIPS_GIC)			+= irq-mips-gic.o
 obj-$(CONFIG_ARCH_MEDIATEK)		+= irq-mtk-sysirq.o
+obj-$(CONFIG_ARCH_DIGICOLOR)		+= irq-digicolor.o
drivers/irqchip/irq-digicolor.c new file +120 -0

120 lines not on this page · raw message