All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Fainelli <f.fainelli@gmail.com>
To: linux-arm-kernel@lists.infradead.org
Cc: "Stephen Rothwell" <sfr@canb.auug.org.au>,
	"Florian Fainelli" <f.fainelli@gmail.com>,
	"Hauke Mehrtens" <hauke@hauke-m.de>,
	"Rafał Miłecki" <zajec5@gmail.com>,
	"Broadcom internal kernel review list"
	<bcm-kernel-feedback-list@broadcom.com>,
	"Rob Herring" <robh+dt@kernel.org>,
	"Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>,
	devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND
	FLATTENED DEVICE TREE BINDINGS),
	linux-kernel@vger.kernel.org (open list)
Subject: [PATCH] ARM: dts: BCM5301X: Add missing "ranges property for PCIe nodes
Date: Tue, 20 Sep 2022 14:02:12 -0700	[thread overview]
Message-ID: <20220920210213.3268525-1-f.fainelli@gmail.com> (raw)

Add empty ranges properties to silence such warnings:

arch/arm/boot/dts/bcm5301x.dtsi:240.21-246.5: Warning (pci_bridge): /axi@18000000/pcie@12000: missing ranges for PCI bridge (or not a bridge)
arch/arm/boot/dts/bcm5301x.dtsi:248.21-254.5: Warning (pci_bridge): /axi@18000000/pcie@13000: missing ranges for PCI bridge (or not a bridge)
arch/arm/boot/dts/bcm5301x.dtsi:256.21-262.5: Warning (pci_bridge): /axi@18000000/pcie@14000: missing ranges for PCI bridge (or not a bridge)

to silence warnings. This is not a functional issue since the driver does not
make use of the OF infrastructure for registering the PCIe controller(s) on
this chip, but uses the BCMA bus.

Fixes: 61dc1e3850a6 ("ARM: dts: BCM5301X: Add basic PCI controller properties")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Change-Id: Ia4eba6d21b72620d2fd8d5c3548c1777d3c1c357
---
 arch/arm/boot/dts/bcm5301x.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi
index a06184b8e0d9..3fb1448b449f 100644
--- a/arch/arm/boot/dts/bcm5301x.dtsi
+++ b/arch/arm/boot/dts/bcm5301x.dtsi
@@ -240,6 +240,7 @@ chipcommon: chipcommon@0 {
 		pcie0: pcie@12000 {
 			reg = <0x00012000 0x1000>;
 			device_type = "pci";
+			ranges = <0 0 0 0 0 0>;
 
 			#address-cells = <3>;
 			#size-cells = <2>;
@@ -248,6 +249,7 @@ pcie0: pcie@12000 {
 		pcie1: pcie@13000 {
 			reg = <0x00013000 0x1000>;
 			device_type = "pci";
+			ranges = <0 0 0 0 0 0>;
 
 			#address-cells = <3>;
 			#size-cells = <2>;
@@ -256,6 +258,7 @@ pcie1: pcie@13000 {
 		pcie2: pcie@14000 {
 			reg = <0x00014000 0x1000>;
 			device_type = "pci";
+			ranges = <0 0 0 0 0 0>;
 
 			#address-cells = <3>;
 			#size-cells = <2>;
-- 
2.25.1


WARNING: multiple messages have this Message-ID (diff)
From: Florian Fainelli <f.fainelli@gmail.com>
To: linux-arm-kernel@lists.infradead.org
Cc: "Stephen Rothwell" <sfr@canb.auug.org.au>,
	"Florian Fainelli" <f.fainelli@gmail.com>,
	"Hauke Mehrtens" <hauke@hauke-m.de>,
	"Rafał Miłecki" <zajec5@gmail.com>,
	"Broadcom internal kernel review list"
	<bcm-kernel-feedback-list@broadcom.com>,
	"Rob Herring" <robh+dt@kernel.org>,
	"Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>,
	devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND
	FLATTENED DEVICE TREE BINDINGS),
	linux-kernel@vger.kernel.org (open list)
Subject: [PATCH] ARM: dts: BCM5301X: Add missing "ranges property for PCIe nodes
Date: Tue, 20 Sep 2022 14:02:12 -0700	[thread overview]
Message-ID: <20220920210213.3268525-1-f.fainelli@gmail.com> (raw)

Add empty ranges properties to silence such warnings:

arch/arm/boot/dts/bcm5301x.dtsi:240.21-246.5: Warning (pci_bridge): /axi@18000000/pcie@12000: missing ranges for PCI bridge (or not a bridge)
arch/arm/boot/dts/bcm5301x.dtsi:248.21-254.5: Warning (pci_bridge): /axi@18000000/pcie@13000: missing ranges for PCI bridge (or not a bridge)
arch/arm/boot/dts/bcm5301x.dtsi:256.21-262.5: Warning (pci_bridge): /axi@18000000/pcie@14000: missing ranges for PCI bridge (or not a bridge)

to silence warnings. This is not a functional issue since the driver does not
make use of the OF infrastructure for registering the PCIe controller(s) on
this chip, but uses the BCMA bus.

Fixes: 61dc1e3850a6 ("ARM: dts: BCM5301X: Add basic PCI controller properties")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Change-Id: Ia4eba6d21b72620d2fd8d5c3548c1777d3c1c357
---
 arch/arm/boot/dts/bcm5301x.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi
index a06184b8e0d9..3fb1448b449f 100644
--- a/arch/arm/boot/dts/bcm5301x.dtsi
+++ b/arch/arm/boot/dts/bcm5301x.dtsi
@@ -240,6 +240,7 @@ chipcommon: chipcommon@0 {
 		pcie0: pcie@12000 {
 			reg = <0x00012000 0x1000>;
 			device_type = "pci";
+			ranges = <0 0 0 0 0 0>;
 
 			#address-cells = <3>;
 			#size-cells = <2>;
@@ -248,6 +249,7 @@ pcie0: pcie@12000 {
 		pcie1: pcie@13000 {
 			reg = <0x00013000 0x1000>;
 			device_type = "pci";
+			ranges = <0 0 0 0 0 0>;
 
 			#address-cells = <3>;
 			#size-cells = <2>;
@@ -256,6 +258,7 @@ pcie1: pcie@13000 {
 		pcie2: pcie@14000 {
 			reg = <0x00014000 0x1000>;
 			device_type = "pci";
+			ranges = <0 0 0 0 0 0>;
 
 			#address-cells = <3>;
 			#size-cells = <2>;
-- 
2.25.1


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

             reply	other threads:[~2022-09-20 21:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-20 21:02 Florian Fainelli [this message]
2022-09-20 21:02 ` [PATCH] ARM: dts: BCM5301X: Add missing "ranges property for PCIe nodes Florian Fainelli
2022-09-20 21:03 ` Florian Fainelli
2022-09-20 21:03   ` Florian Fainelli

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=20220920210213.3268525-1-f.fainelli@gmail.com \
    --to=f.fainelli@gmail.com \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=devicetree@vger.kernel.org \
    --cc=hauke@hauke-m.de \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=sfr@canb.auug.org.au \
    --cc=zajec5@gmail.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.