Thread (2 messages) 2 messages, 2 authors, 2016-06-28

Re: [PATCH v3 12/19] sh: irqchip: SH7751 IRQCHIP Driver

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2016-06-28 07:55:57
Also in: linux-sh

Hi Sato-san,

On Tue, Jun 28, 2016 at 8:36 AM, Yoshinori Sato
[off-list ref] wrote:
quoted hunk ↗ jump to hunk
index 0000000..2bc6f22f
--- /dev/null
+++ b/Documentation/devicetree/bindings/interrupt-controller/renesas,sh7751-intc.txt
@@ -0,0 +1,25 @@
+DT bindings for the SH7751 interrupt controller
+
+Required properties:
+
+  - compatible: has to be "renesas,sh7751-intc".
+
+  - reg: Base address and length of interrupt controller register
+         and extend register.
+
+  - interrupt-controller: Identifies the node as an interrupt controller.
+
+  - #interrupt-cells: has to be <2>: an interrupt index and flags, as defined
+    in interrupts.txt in this directory.
+
+Example
+-------
+
+       shintc: interrupt-controller@ffd00000 {
+               compatible = "renesas,sh7751-intc";
+               #interrupt-cells = <2>;
+               #address-cells = <1>;
+               #size-cells = <1>;
Why do you need #address-cells and #size-cells?
+               interrupt-controller;
+               reg = <0xffd00000 14>, <0xfe080000 128>;
+       };
Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help