From: Rich Felker <dalias@libc.org>
To: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
linux-sh@vger.kernel.org
Cc: Thomas Gleixner <tglx@linutronix.de>,
Jason Cooper <jason@lakedaemon.net>,
Marc Zyngier <marc.zyngier@arm.com>,
Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>
Subject: [PATCH v6 1/2] of: add J-Core interrupt controller bindings
Date: Thu, 04 Aug 2016 04:30:37 +0000 [thread overview]
Message-ID: <c8aae4597153595cf965efe96422f699639c9d51.147018b6529.git.dalias@libc.org> (raw)
In-Reply-To: <cover.147018b6529.git.dalias@libc.org>
Signed-off-by: Rich Felker <dalias@libc.org>
Acked-by: Rob Herring <robh@kernel.org>
---
.../bindings/interrupt-controller/jcore,aic.txt | 26 ++++++++++++++++++++++
1 file changed, 26 insertions(+)
create mode 100644 Documentation/devicetree/bindings/interrupt-controller/jcore,aic.txt
diff --git a/Documentation/devicetree/bindings/interrupt-controller/jcore,aic.txt b/Documentation/devicetree/bindings/interrupt-controller/jcore,aic.txt
new file mode 100644
index 0000000..ee2ad36
--- /dev/null
+++ b/Documentation/devicetree/bindings/interrupt-controller/jcore,aic.txt
@@ -0,0 +1,26 @@
+J-Core Advanced Interrupt Controller
+
+Required properties:
+
+- compatible: Should be "jcore,aic1" for the (obsolete) first-generation aic
+ with 8 interrupt lines with programmable priorities, or "jcore,aic2" for
+ the "aic2" core with 64 interrupts.
+
+- reg: Memory region(s) for configuration. For SMP, there should be one
+ region per cpu, indexed by the sequential, zero-based hardware cpu
+ number.
+
+- 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.
+
+
+Example:
+
+aic: interrupt-controller@200 {
+ compatible = "jcore,aic2";
+ reg = < 0x200 0x30 0x500 0x30 >;
+ interrupt-controller;
+ #interrupt-cells = <1>;
+};
--
2.8.1
next prev parent reply other threads:[~2016-08-04 4:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-04 4:30 [PATCH v6 0/2] J-Core interrupt controller support Rich Felker
2016-08-04 4:30 ` Rich Felker [this message]
2016-08-04 4:30 ` [PATCH v6 2/2] irqchip: add J-Core AIC driver Rich Felker
2016-08-04 14:32 ` Geert Uytterhoeven
2016-08-04 16:42 ` Rich Felker
2016-08-04 14:31 ` [PATCH v6 0/2] J-Core interrupt controller support Jason Cooper
2016-08-16 13:53 ` Jason Cooper
-- strict thread matches above, loose matches on Subject: below --
2016-08-03 1:08 Rich Felker
2016-05-17 23:18 ` [PATCH v6 1/2] of: add J-Core interrupt controller bindings Rich Felker
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=c8aae4597153595cf965efe96422f699639c9d51.147018b6529.git.dalias@libc.org \
--to=dalias@libc.org \
--cc=devicetree@vger.kernel.org \
--cc=jason@lakedaemon.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=marc.zyngier@arm.com \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--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).