From: Geert Uytterhoeven <geert+renesas@glider.be>
To: Simon Horman <horms@verge.net.au>, Magnus Damm <magnus.damm@gmail.com>
Cc: devicetree@vger.kernel.org, linux-sh@vger.kernel.org,
linux-kernel@vger.kernel.org,
Geert Uytterhoeven <geert+renesas@glider.be>,
Thomas Gleixner <tglx@linutronix.de>
Subject: [PATCH 03/13] irqchip: renesas-irqc: Add DT binding documentation
Date: Wed, 9 Jul 2014 14:23:33 +0200 [thread overview]
Message-ID: <1404908623-909-4-git-send-email-geert+renesas@glider.be> (raw)
In-Reply-To: <1404908623-909-1-git-send-email-geert+renesas@glider.be>
The renesas-irqc driver supports DT, but the DT binding documentation was
missing.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Thomas Gleixner <tglx@linutronix.de>
---
.../bindings/interrupt-controller/renesas,irqc.txt | 30 ++++++++++++++++++++++
1 file changed, 30 insertions(+)
create mode 100644 Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.txt
diff --git a/Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.txt b/Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.txt
new file mode 100644
index 000000000000..f819e2a5907c
--- /dev/null
+++ b/Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.txt
@@ -0,0 +1,30 @@
+DT bindings for the R-Mobile/R-Car interrupt controller
+
+Required properties:
+
+- compatible: has to be "renesas,irqc-<soctype>", "renesas,irqc" as fallback.
+ Examples with soctypes are:
+ - "renesas,irqc-r8a73a4" (R-Mobile AP6)
+ - "renesas,irqc-r8a7790" (R-Car H2)
+ - "renesas,irqc-r8a7791" (R-Car M2)
+- #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>;
+ 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.9.1
next prev parent reply other threads:[~2014-07-09 12:23 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-09 12:23 [PATCH 00/13] ARM: shmobile: DT bindings and DTS updates Geert Uytterhoeven
2014-07-09 12:23 ` [PATCH 01/13] of: Add vendor prefix for Sitronix Geert Uytterhoeven
2014-07-09 12:23 ` Geert Uytterhoeven [this message]
2014-07-11 9:07 ` [PATCH 03/13] irqchip: renesas-irqc: Add DT binding documentation Simon Horman
2014-07-09 12:23 ` [PATCH 04/13] mmc: tmio-mmc: Add renesas,sdhi-r8a7791 to " Geert Uytterhoeven
2014-07-09 12:31 ` Ulf Hansson
2014-07-09 12:23 ` [PATCH 05/13] thermal: rcar: Document SoC-specific bindings Geert Uytterhoeven
2014-07-11 9:13 ` Simon Horman
2014-07-15 14:48 ` Zhang Rui
2014-07-16 2:16 ` Kuninori Morimoto
2014-07-18 7:46 ` Simon Horman
2014-07-18 9:11 ` Kuninori Morimoto
2014-08-05 8:57 ` Geert Uytterhoeven
2014-08-06 0:30 ` Kuninori Morimoto
2014-08-06 7:09 ` Geert Uytterhoeven
2014-07-09 12:23 ` [PATCH 06/13] sh-pfc: Add renesas,pfc-r8a7791 to binding documentation Geert Uytterhoeven
2014-07-09 12:52 ` Laurent Pinchart
2014-07-10 9:25 ` Linus Walleij
[not found] ` <1404908623-909-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2014-07-09 12:23 ` [PATCH 02/13] irqchip: renesas-intc-irqpin: Document SoC-specific bindings Geert Uytterhoeven
2014-07-11 9:06 ` Simon Horman
2014-07-09 12:23 ` [PATCH 07/13] ARM: shmobile: r8a73a4 dtsi: Add SoC-specific irqc compatible property Geert Uytterhoeven
2014-07-11 9:15 ` Simon Horman
2014-07-09 12:23 ` [PATCH 08/13] ARM: shmobile: r8a73a4 dtsi: Add SoC-specific thermal " Geert Uytterhoeven
[not found] ` <1404908623-909-9-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2014-07-11 9:15 ` Simon Horman
2014-07-09 12:23 ` [PATCH 09/13] ARM: shmobile: r8a7779 " Geert Uytterhoeven
2014-07-11 9:16 ` Simon Horman
2014-07-09 12:23 ` [PATCH 10/13] [RFC] ARM: dts: Add shmobile platform device tree bindings documentation Geert Uytterhoeven
2014-07-11 9:17 ` Simon Horman
2014-07-11 14:26 ` Geert Uytterhoeven
[not found] ` <CAMuHMdXP6GfO7OEnXU8x4Sn5j8_tA2nnrFANr1sriB-B4BYoOQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-07-11 15:09 ` Simon Horman
2014-07-09 12:23 ` [PATCH 11/13] [RFC] mmc: tmio-mmc: Add support for SDHI on new R-Car Gen2 SoCs Geert Uytterhoeven
2014-07-11 9:19 ` Simon Horman
2014-07-09 12:23 ` [PATCH 12/13] [RFC] thermal: rcar: Add binding docs for " Geert Uytterhoeven
2014-07-11 9:21 ` Simon Horman
2014-07-11 9:23 ` Simon Horman
2014-07-09 12:23 ` [PATCH 13/13] [RFC] irqchip: renesas-irqc: " Geert Uytterhoeven
2014-07-11 9:24 ` Simon Horman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1404908623-909-4-git-send-email-geert+renesas@glider.be \
--to=geert+renesas@glider.be \
--cc=devicetree@vger.kernel.org \
--cc=horms@verge.net.au \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).