devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] irqchip: renesas-intc: Document DT bindings
@ 2013-11-28  6:40 Simon Horman
  2013-11-28  9:31 ` Mark Rutland
  0 siblings, 1 reply; 2+ messages in thread
From: Simon Horman @ 2013-11-28  6:40 UTC (permalink / raw)
  To: linux-sh; +Cc: linux-arm-kernel, Magnus Damm, Simon Horman, devicetree

Cc: devicetree@vger.kernel.org
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 .../interrupt-controller/renesas,intc-irqc.txt     | 30 ++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/renesas,intc-irqc.txt

diff --git a/Documentation/devicetree/bindings/interrupt-controller/renesas,intc-irqc.txt b/Documentation/devicetree/bindings/interrupt-controller/renesas,intc-irqc.txt
new file mode 100644
index 0000000..305d4e7
--- /dev/null
+++ b/Documentation/devicetree/bindings/interrupt-controller/renesas,intc-irqc.txt
@@ -0,0 +1,30 @@
+DT bindings for the R-/SH-Mobile INTC controller
+
+Required properties:
+
+- compatible: Must be one of the following:
+    "renesas,intc"
+    "renesas,intc-r8a73a4"
+    "renesas,intc-r8a7790"
+    "renesas,intc-r8a7791"
+- #interrupt-cells: has to be <2>: an interrupt index and flags, as defined in
+  interrupts.txt in this directory
+
+Optional properties:
+
+- any properties, listed in interrupts.txt, and any standard resource allocation
+  properties
+
+Example:
+
+        irqc0: interrupt-controller@e61c0000 {
+                compatible = "renesas,irqc-r8a7790", "renesas,irqc";
+                #interrupt-cells = <2>;
+                interrupt-controller;
+                reg = <0 0xe61c0000 0 0x200>;
+                interrupt-parent = <&gic>;
+                interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>,
+                             <0 1 IRQ_TYPE_LEVEL_HIGH>,
+                             <0 2 IRQ_TYPE_LEVEL_HIGH>,
+                             <0 3 IRQ_TYPE_LEVEL_HIGH>;
+        };
-- 
1.8.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-28  9:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-28  6:40 [PATCH] irqchip: renesas-intc: Document DT bindings Simon Horman
2013-11-28  9:31 ` Mark Rutland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).