From: Eugeniu Rosca <erosca@de.adit-jv.com>
To: <linux-renesas-soc@vger.kernel.org>, <linux-gpio@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>,
Linus Walleij <linus.walleij@linaro.org>,
Marek Vasut <marek.vasut+renesas@gmail.com>,
Wolfram Sang <wsa+renesas@sang-engineering.com>,
Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>,
Bartosz Golaszewski <bgolaszewski@baylibre.com>,
Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>,
Biju Das <biju.das@bp.renesas.com>,
Grygorii Strashko <grygorii.strashko@ti.com>,
Chris Paterson <chris.paterson2@renesas.com>,
Yusuke Ashiduka <ashiduka@fujitsu.com>,
Torii Kenichi <torii.ken1@jp.fujitsu.com>,
Fukui Yohhei <yohhei.fukui@denso-ten.com>,
Yasushi Asano <yasano@jp.adit-jv.com>,
Yuichi Kusakabe <yuichi.kusakabe@denso-ten.com>,
Andrew Gabbasov <andrew_gabbasov@mentor.com>,
Jiada Wang <jiada_wang@mentor.com>,
Eugeniu Rosca <erosca@de.adit-jv.com>,
Eugeniu Rosca <rosca.eugeniu@gmail.com>
Subject: [RFC PATCH 3/3] [LOCAL] arm64: dts: renesas: ulcb: Showcase 'use-alternative-interrupt'
Date: Wed, 22 Apr 2020 12:10:26 +0200 [thread overview]
Message-ID: <20200422101026.9220-4-erosca@de.adit-jv.com> (raw)
In-Reply-To: <20200422101026.9220-1-erosca@de.adit-jv.com>
One caveat is that the 'interrupts' property update _must_ go hand
in hand with the newly added 'use-alternative-interrupt' property.
Is there an easy way to avoid it?
Signed-off-by: Eugeniu Rosca <erosca@de.adit-jv.com>
---
arch/arm64/boot/dts/renesas/ulcb.dtsi | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/ulcb.dtsi b/arch/arm64/boot/dts/renesas/ulcb.dtsi
index d2ba9598cd1e..168dadbd1185 100644
--- a/arch/arm64/boot/dts/renesas/ulcb.dtsi
+++ b/arch/arm64/boot/dts/renesas/ulcb.dtsi
@@ -174,6 +174,46 @@ &extalr_clk {
clock-frequency = <32768>;
};
+&gpio0 {
+ use-alternative-interrupt;
+ interrupts = <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>;
+};
+
+&gpio1 {
+ use-alternative-interrupt;
+ interrupts = <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>;
+};
+
+&gpio2 {
+ use-alternative-interrupt;
+ interrupts = <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>;
+};
+
+&gpio3 {
+ use-alternative-interrupt;
+ interrupts = <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>;
+};
+
+&gpio4 {
+ use-alternative-interrupt;
+ interrupts = <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>;
+};
+
+&gpio5 {
+ use-alternative-interrupt;
+ interrupts = <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>;
+};
+
+&gpio6 {
+ use-alternative-interrupt;
+ interrupts = <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>;
+};
+
+&gpio7 {
+ use-alternative-interrupt;
+ interrupts = <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>;
+};
+
&hdmi0 {
status = "okay";
--
2.26.0
prev parent reply other threads:[~2020-04-22 10:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-22 10:10 [RFC PATCH 0/3] gpio: rcar: Add support for GPIO alternative interrupt Eugeniu Rosca
2020-04-22 10:10 ` [RFC PATCH 1/3] dt-bindings: gpio-rcar: Add optional use-alternative-interrupt property Eugeniu Rosca
2020-04-24 8:06 ` Geert Uytterhoeven
2020-04-22 10:10 ` [RFC PATCH 2/3] gpio: rcar: Add support for GPIO alternative interrupt Eugeniu Rosca
2020-04-24 8:36 ` Geert Uytterhoeven
2020-04-22 10:10 ` Eugeniu Rosca [this message]
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=20200422101026.9220-4-erosca@de.adit-jv.com \
--to=erosca@de.adit-jv.com \
--cc=andrew_gabbasov@mentor.com \
--cc=ashiduka@fujitsu.com \
--cc=bgolaszewski@baylibre.com \
--cc=biju.das@bp.renesas.com \
--cc=chris.paterson2@renesas.com \
--cc=geert+renesas@glider.be \
--cc=grygorii.strashko@ti.com \
--cc=jiada_wang@mentor.com \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=marek.vasut+renesas@gmail.com \
--cc=rosca.eugeniu@gmail.com \
--cc=sergei.shtylyov@cogentembedded.com \
--cc=torii.ken1@jp.fujitsu.com \
--cc=wsa+renesas@sang-engineering.com \
--cc=yasano@jp.adit-jv.com \
--cc=yohhei.fukui@denso-ten.com \
--cc=yoshihiro.shimoda.uh@renesas.com \
--cc=yuichi.kusakabe@denso-ten.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
all inboxes | Powered by JetHome®