[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250122063411.3503097-5-quic_varada@quicinc.com>
Date: Wed, 22 Jan 2025 12:04:08 +0530
From: Varadarajan Narayanan <quic_varada@...cinc.com>
To: <bhelgaas@...gle.com>, <lpieralisi@...nel.org>, <kw@...ux.com>,
<manivannan.sadhasivam@...aro.org>, <robh@...nel.org>,
<krzk+dt@...nel.org>, <conor+dt@...nel.org>, <vkoul@...nel.org>,
<kishon@...nel.org>, <andersson@...nel.org>, <konradybcio@...nel.org>,
<p.zabel@...gutronix.de>, <dmitry.baryshkov@...aro.org>,
<quic_nsekar@...cinc.com>, <quic_varada@...cinc.com>,
<linux-arm-msm@...r.kernel.org>, <linux-pci@...r.kernel.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-phy@...ts.infradead.org>
Subject: [PATCH v7 4/7] arm64: dts: qcom: ipq9574: Reorder reg and reg-names
The 'reg' & 'reg-names' constraints used in the bindings and dtsi
are different resulting in dt_bindings_check errors. Re-order
them to address following errors.
arch/arm64/boot/dts/qcom/ipq9574-rdp449.dtb: pcie@...00000: reg-names:0: 'parf' was expected
Signed-off-by: Varadarajan Narayanan <quic_varada@...cinc.com>
---
arch/arm64/boot/dts/qcom/ipq9574.dtsi | 52 +++++++++++++++++----------
1 file changed, 34 insertions(+), 18 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/ipq9574.dtsi b/arch/arm64/boot/dts/qcom/ipq9574.dtsi
index 942290028972..d27c55c7f6e4 100644
--- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi
@@ -876,12 +876,16 @@ frame@...8000 {
pcie1: pcie@...00000 {
compatible = "qcom,pcie-ipq9574";
- reg = <0x10000000 0xf1d>,
- <0x10000f20 0xa8>,
- <0x10001000 0x1000>,
- <0x000f8000 0x4000>,
- <0x10100000 0x1000>;
- reg-names = "dbi", "elbi", "atu", "parf", "config";
+ reg = <0x000f8000 0x4000>,
+ <0x10000000 0xf1d>,
+ <0x10000f20 0xa8>,
+ <0x10001000 0x1000>,
+ <0x10100000 0x1000>;
+ reg-names = "parf",
+ "dbi",
+ "elbi",
+ "atu",
+ "config";
device_type = "pci";
linux,pci-domain = <1>;
bus-range = <0x00 0xff>;
@@ -956,12 +960,16 @@ pcie1: pcie@...00000 {
pcie3: pcie@...00000 {
compatible = "qcom,pcie-ipq9574";
- reg = <0x18000000 0xf1d>,
- <0x18000f20 0xa8>,
- <0x18001000 0x1000>,
- <0x000f0000 0x4000>,
- <0x18100000 0x1000>;
- reg-names = "dbi", "elbi", "atu", "parf", "config";
+ reg = <0x000f0000 0x4000>,
+ <0x18000000 0xf1d>,
+ <0x18000f20 0xa8>,
+ <0x18001000 0x1000>,
+ <0x18100000 0x1000>;
+ reg-names = "parf",
+ "dbi",
+ "elbi",
+ "atu",
+ "config";
device_type = "pci";
linux,pci-domain = <3>;
bus-range = <0x00 0xff>;
@@ -1036,12 +1044,16 @@ pcie3: pcie@...00000 {
pcie2: pcie@...00000 {
compatible = "qcom,pcie-ipq9574";
- reg = <0x20000000 0xf1d>,
+ reg = <0x00088000 0x4000>,
+ <0x20000000 0xf1d>,
<0x20000f20 0xa8>,
<0x20001000 0x1000>,
- <0x00088000 0x4000>,
<0x20100000 0x1000>;
- reg-names = "dbi", "elbi", "atu", "parf", "config";
+ reg-names = "parf",
+ "dbi",
+ "elbi",
+ "atu",
+ "config";
device_type = "pci";
linux,pci-domain = <2>;
bus-range = <0x00 0xff>;
@@ -1116,12 +1128,16 @@ pcie2: pcie@...00000 {
pcie0: pci@...00000 {
compatible = "qcom,pcie-ipq9574";
- reg = <0x28000000 0xf1d>,
+ reg = <0x00080000 0x4000>,
+ <0x28000000 0xf1d>,
<0x28000f20 0xa8>,
<0x28001000 0x1000>,
- <0x00080000 0x4000>,
<0x28100000 0x1000>;
- reg-names = "dbi", "elbi", "atu", "parf", "config";
+ reg-names = "parf",
+ "dbi",
+ "elbi",
+ "atu",
+ "config";
device_type = "pci";
linux,pci-domain = <0>;
bus-range = <0x00 0xff>;
--
2.34.1
Powered by blists - more mailing lists