All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Wahren <stefan.wahren@i2se.com>
To: Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Florian Fainelli <f.fainelli@gmail.com>,
	Ray Jui <rjui@broadcom.com>,
	Scott Branden <sbranden@broadcom.com>,
	Eric Anholt <eric@anholt.net>
Cc: Gottfried Haider <gottfried.haider@gmail.com>,
	devicetree@vger.kernel.org,
	Stefan Wahren <stefan.wahren@i2se.com>,
	Phil Elwell <phil@raspberrypi.org>,
	bcm-kernel-feedback-list@broadcom.com,
	Peter Robinson <pbrobinson@gmail.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-rpi-kernel@lists.infradead.org
Subject: [PATCH 2/6] ARM: dts: bcm2835-rpi: Drop unnecessary #address-cells/#size-cells
Date: Sat, 12 Jan 2019 13:43:24 +0100	[thread overview]
Message-ID: <1547297008-2740-3-git-send-email-stefan.wahren@i2se.com> (raw)
In-Reply-To: <1547297008-2740-1-git-send-email-stefan.wahren@i2se.com>

Compiling the bcm2835-rpi.dtsi with W=1 leads to the following warning:

Warning (avoid_unnecessary_addr_size): /soc/firmware: unnecessary
 #address-cells/#size-cells without "ranges" or child "reg" property

Fix this by removing these unnecessary properties.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
---
 arch/arm/boot/dts/bcm2835-rpi.dtsi | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm/boot/dts/bcm2835-rpi.dtsi b/arch/arm/boot/dts/bcm2835-rpi.dtsi
index e490f2a..715d50c 100644
--- a/arch/arm/boot/dts/bcm2835-rpi.dtsi
+++ b/arch/arm/boot/dts/bcm2835-rpi.dtsi
@@ -19,8 +19,6 @@
 	soc {
 		firmware: firmware {
 			compatible = "raspberrypi,bcm2835-firmware", "simple-bus";
-			#address-cells = <0>;
-			#size-cells = <0>;
 			mboxes = <&mailbox>;
 		};
 
-- 
2.7.4

WARNING: multiple messages have this Message-ID (diff)
From: Stefan Wahren <stefan.wahren@i2se.com>
To: Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Florian Fainelli <f.fainelli@gmail.com>,
	Ray Jui <rjui@broadcom.com>,
	Scott Branden <sbranden@broadcom.com>,
	Eric Anholt <eric@anholt.net>
Cc: Gottfried Haider <gottfried.haider@gmail.com>,
	devicetree@vger.kernel.org,
	Stefan Wahren <stefan.wahren@i2se.com>,
	Phil Elwell <phil@raspberrypi.org>,
	bcm-kernel-feedback-list@broadcom.com,
	Peter Robinson <pbrobinson@gmail.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-rpi-kernel@lists.infradead.org
Subject: [PATCH 2/6] ARM: dts: bcm2835-rpi: Drop unnecessary #address-cells/#size-cells
Date: Sat, 12 Jan 2019 13:43:24 +0100	[thread overview]
Message-ID: <1547297008-2740-3-git-send-email-stefan.wahren@i2se.com> (raw)
In-Reply-To: <1547297008-2740-1-git-send-email-stefan.wahren@i2se.com>

Compiling the bcm2835-rpi.dtsi with W=1 leads to the following warning:

Warning (avoid_unnecessary_addr_size): /soc/firmware: unnecessary
 #address-cells/#size-cells without "ranges" or child "reg" property

Fix this by removing these unnecessary properties.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
---
 arch/arm/boot/dts/bcm2835-rpi.dtsi | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm/boot/dts/bcm2835-rpi.dtsi b/arch/arm/boot/dts/bcm2835-rpi.dtsi
index e490f2a..715d50c 100644
--- a/arch/arm/boot/dts/bcm2835-rpi.dtsi
+++ b/arch/arm/boot/dts/bcm2835-rpi.dtsi
@@ -19,8 +19,6 @@
 	soc {
 		firmware: firmware {
 			compatible = "raspberrypi,bcm2835-firmware", "simple-bus";
-			#address-cells = <0>;
-			#size-cells = <0>;
 			mboxes = <&mailbox>;
 		};
 
-- 
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2019-01-12 12:43 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-12 12:43 [PATCH 0/6] ARM: dts: bcm283x: Several DTS improvements Stefan Wahren
2019-01-12 12:43 ` Stefan Wahren
2019-01-12 12:43 ` [PATCH 1/6] ARM: dts: bcm283x: Fix DTC warning for memory node Stefan Wahren
2019-01-12 12:43   ` Stefan Wahren
2019-01-21  4:59   ` Peter Robinson
2019-01-21  4:59     ` Peter Robinson
2019-01-12 12:43 ` Stefan Wahren [this message]
2019-01-12 12:43   ` [PATCH 2/6] ARM: dts: bcm2835-rpi: Drop unnecessary #address-cells/#size-cells Stefan Wahren
2019-01-12 12:43 ` [PATCH 3/6] ARM: dts: bcm2835: Fix labels for GPIO 0,1 Stefan Wahren
2019-01-12 12:43   ` Stefan Wahren
2019-01-12 12:43 ` [PATCH 4/6] ARM: dts: bcm2837-rpi-3-b: Use consistent label for HDMI hotplug Stefan Wahren
2019-01-12 12:43   ` Stefan Wahren
2019-01-21  5:02   ` Peter Robinson
2019-01-21  5:02     ` Peter Robinson
2019-01-12 12:43 ` [PATCH 5/6] ARM: dts: bcm2837-rpi-3-b-plus: Clarify label for STATUS_LED Stefan Wahren
2019-01-12 12:43   ` Stefan Wahren
2019-01-21  5:00   ` Peter Robinson
2019-01-21  5:00     ` Peter Robinson
2019-01-12 12:43 ` [PATCH 6/6] ARM: dts: bcm283x: Add missing GPIO line names Stefan Wahren
2019-01-12 12:43   ` Stefan Wahren
2019-01-21  4:52   ` Peter Robinson
2019-01-21  4:52     ` Peter Robinson
2019-01-21 20:27   ` Eric Anholt
2019-01-21 20:27     ` Eric Anholt
2019-01-22  7:57 ` [PATCH 0/6] ARM: dts: bcm283x: Several DTS improvements Stefan Wahren
2019-01-22  7:57   ` Stefan Wahren

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=1547297008-2740-3-git-send-email-stefan.wahren@i2se.com \
    --to=stefan.wahren@i2se.com \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=devicetree@vger.kernel.org \
    --cc=eric@anholt.net \
    --cc=f.fainelli@gmail.com \
    --cc=gottfried.haider@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-rpi-kernel@lists.infradead.org \
    --cc=mark.rutland@arm.com \
    --cc=pbrobinson@gmail.com \
    --cc=phil@raspberrypi.org \
    --cc=rjui@broadcom.com \
    --cc=robh+dt@kernel.org \
    --cc=sbranden@broadcom.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.