From: Michal Simek <michal.simek@xilinx.com>
To: linux-kernel@vger.kernel.org, monstr@monstr.eu,
michal.simek@xilinx.com, git@xilinx.com
Cc: Andre Przywara <andre.przywara@arm.com>,
Rob Herring <robh+dt@kernel.org>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: dts: zynq: Add address-cells property to interrupt controllers
Date: Mon, 1 Feb 2021 15:27:35 +0100 [thread overview]
Message-ID: <91e3405245c89f134676449cf3822285798d2ed2.1612189652.git.michal.simek@xilinx.com> (raw)
The commit 3eb619b2f7d8 ("scripts/dtc: Update to upstream version
v1.6.0-11-g9d7888cbf19c") updated dtc version which also contained DTC
commit
"81e0919a3e21 checks: Add interrupt provider test"
where reasons for this checking are mentioned as
"A missing #address-cells property is less critical, but creates
ambiguities when used in interrupt-map properties, so warn about this as
well now."
Add address-cells property to gic and gpio nodes to get rid of this warning.
The similar change has been done for ZynqMP too.
CC: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---
arch/arm/boot/dts/zynq-7000.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/zynq-7000.dtsi b/arch/arm/boot/dts/zynq-7000.dtsi
index df9ad831cf05..c4810d58540b 100644
--- a/arch/arm/boot/dts/zynq-7000.dtsi
+++ b/arch/arm/boot/dts/zynq-7000.dtsi
@@ -133,6 +133,7 @@ can1: can@e0009000 {
gpio0: gpio@e000a000 {
compatible = "xlnx,zynq-gpio-1.0";
+ #address-cells = <0>;
#gpio-cells = <2>;
clocks = <&clkc 42>;
gpio-controller;
@@ -168,6 +169,7 @@ i2c1: i2c@e0005000 {
intc: interrupt-controller@f8f01000 {
compatible = "arm,cortex-a9-gic";
#interrupt-cells = <3>;
+ #address-cells = <0>;
interrupt-controller;
reg = <0xF8F01000 0x1000>,
<0xF8F00100 0x100>;
--
2.30.0
next reply other threads:[~2021-02-01 14:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-01 14:27 Michal Simek [this message]
2021-02-01 17:41 ` [PATCH] ARM: dts: zynq: Add address-cells property to interrupt controllers Rob Herring
2021-02-03 7:00 ` Michal Simek
2021-02-03 14:12 ` Rob Herring
2021-02-03 14:15 ` Michal Simek
2021-02-03 14:43 ` Andre Przywara
2021-02-03 16:49 ` Rob Herring
2021-02-03 18:03 ` Rob Herring
2021-02-04 20:09 ` Rob Herring
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=91e3405245c89f134676449cf3822285798d2ed2.1612189652.git.michal.simek@xilinx.com \
--to=michal.simek@xilinx.com \
--cc=andre.przywara@arm.com \
--cc=devicetree@vger.kernel.org \
--cc=git@xilinx.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=monstr@monstr.eu \
--cc=robh+dt@kernel.org \
/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).