From: "Andreas Färber" <afaerber@suse.de>
To: Thomas Gleixner <tglx@linutronix.de>,
Jason Cooper <jason@lakedaemon.net>,
Marc Zyngier <marc.zyngier@arm.com>,
linux-arm-kernel@lists.infradead.org
Cc: "Mark Rutland" <mark.rutland@arm.com>,
devicetree@vger.kernel.org, "Roc He" <hepeng@zidoo.tv>,
蒋丽琴 <jiang.liqin@geniatech.com>,
"Catalin Marinas" <catalin.marinas@arm.com>,
"Will Deacon" <will.deacon@arm.com>,
linux-kernel@vger.kernel.org, "Rob Herring" <robh+dt@kernel.org>,
"Andreas Färber" <afaerber@suse.de>
Subject: [RFC 2/3] arm64: dts: realtek: Add irq mux to RTD1295
Date: Thu, 17 Aug 2017 12:11:39 +0200 [thread overview]
Message-ID: <20170817101140.32000-3-afaerber@suse.de> (raw)
In-Reply-To: <20170817101140.32000-1-afaerber@suse.de>
Update UART nodes with interrupts.
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
arch/arm64/boot/dts/realtek/rtd1295.dtsi | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/arch/arm64/boot/dts/realtek/rtd1295.dtsi b/arch/arm64/boot/dts/realtek/rtd1295.dtsi
index 2d2d84b573e3..77063e984db9 100644
--- a/arch/arm64/boot/dts/realtek/rtd1295.dtsi
+++ b/arch/arm64/boot/dts/realtek/rtd1295.dtsi
@@ -112,6 +112,14 @@
#reset-cells = <1>;
};
+ iso_irq_mux: interrupt-controller@98007000 {
+ compatible = "realtek,rtd1295-iso-irq-mux";
+ reg = <0x98007000 0x100>;
+ interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-controller;
+ #interrupt-cells = <1>;
+ };
+
iso_reset: reset-controller@98007088 {
compatible = "realtek,rtd1295-reset";
reg = <0x98007088 0x4>;
@@ -124,16 +132,28 @@
reg-shift = <2>;
reg-io-width = <4>;
clock-frequency = <27000000>;
+ interrupt-parent = <&iso_irq_mux>;
+ interrupts = <2>;
resets = <&iso_reset RTD1295_ISO_RSTN_UR0>;
status = "disabled";
};
+ irq_mux: interrupt-controller@9801b000 {
+ compatible = "realtek,rtd1295-irq-mux";
+ reg = <0x9801b000 0x100>;
+ interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-controller;
+ #interrupt-cells = <1>;
+ };
+
uart1: serial@9801b200 {
compatible = "snps,dw-apb-uart";
reg = <0x9801b200 0x100>;
reg-shift = <2>;
reg-io-width = <4>;
clock-frequency = <432000000>;
+ interrupt-parent = <&irq_mux>;
+ interrupts = <3>, <5>;
resets = <&reset2 RTD1295_RSTN_UR1>;
status = "disabled";
};
@@ -144,6 +164,8 @@
reg-shift = <2>;
reg-io-width = <4>;
clock-frequency = <432000000>;
+ interrupt-parent = <&irq_mux>;
+ interrupts = <8>, <13>;
resets = <&reset2 RTD1295_RSTN_UR2>;
status = "disabled";
};
--
2.12.3
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2017-08-17 10:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-17 10:11 [RFC 0/3] arm64: Realtek RTD1295 IRQ mux Andreas Färber
[not found] ` <20170817101140.32000-1-afaerber-l3A5Bk7waGM@public.gmane.org>
2017-08-17 10:11 ` [RFC 1/3] dt-bindings: interrupt-controller: Add Realtek RTD1295 Andreas Färber
[not found] ` <20170817101140.32000-2-afaerber-l3A5Bk7waGM@public.gmane.org>
2017-08-22 2:14 ` Rob Herring
2017-08-25 19:41 ` Andreas Färber
2017-08-17 10:11 ` Andreas Färber [this message]
[not found] ` <20170817101140.32000-4-afaerber@suse.de>
[not found] ` <da3b236f-08ec-837a-de18-4c22b30ce5ca@arm.com>
2017-08-18 17:21 ` [RFC 3/3] irqchip: Add Realtek RTD1295 mux driver Andreas Färber
[not found] ` <d7b03533-0442-4df9-7829-5e81f3ed6f34-l3A5Bk7waGM@public.gmane.org>
2017-08-18 17:47 ` Marc Zyngier
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=20170817101140.32000-3-afaerber@suse.de \
--to=afaerber@suse.de \
--cc=catalin.marinas@arm.com \
--cc=devicetree@vger.kernel.org \
--cc=hepeng@zidoo.tv \
--cc=jason@lakedaemon.net \
--cc=jiang.liqin@geniatech.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marc.zyngier@arm.com \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--cc=tglx@linutronix.de \
--cc=will.deacon@arm.com \
/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).