2021-12-25 00:35:12

by David Heidelberg

[permalink] [raw]
Subject: [PATCH] ARM: dts: apq8064: make pci regs property dt-schema compliant

Correctly format register pairs.

Fixes warning generated by `make qcom-apq8064-asus-nexus7-flo.dtb` as:
arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dt.yaml: soc: pci@1b500000:reg:0: [458227712, 4096, 458235904, 128, 459276288, 256, 267386880, 1048576] is too long

Signed-off-by: David Heidelberg <[email protected]>
---
arch/arm/boot/dts/qcom-apq8064.dtsi | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi
index 3d5d9ffb66af..4f65a035dbb9 100644
--- a/arch/arm/boot/dts/qcom-apq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-apq8064.dtsi
@@ -1367,10 +1367,10 @@ gfx3d1: iommu@7d00000 {

pcie: pci@1b500000 {
compatible = "qcom,pcie-apq8064", "snps,dw-pcie";
- reg = <0x1b500000 0x1000
- 0x1b502000 0x80
- 0x1b600000 0x100
- 0x0ff00000 0x100000>;
+ reg = <0x1b500000 0x1000>,
+ <0x1b502000 0x80>,
+ <0x1b600000 0x100>,
+ <0x0ff00000 0x100000>;
reg-names = "dbi", "elbi", "parf", "config";
device_type = "pci";
linux,pci-domain = <0>;
--
2.34.1



2022-02-02 11:04:21

by Bjorn Andersson

[permalink] [raw]
Subject: Re: (subset) [PATCH] ARM: dts: apq8064: make pci regs property dt-schema compliant

On Sat, 25 Dec 2021 01:35:02 +0100, David Heidelberg wrote:
> Correctly format register pairs.
>
> Fixes warning generated by `make qcom-apq8064-asus-nexus7-flo.dtb` as:
> arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dt.yaml: soc: pci@1b500000:reg:0: [458227712, 4096, 458235904, 128, 459276288, 256, 267386880, 1048576] is too long
>
>

Applied, thanks!

[1/1] ARM: dts: apq8064: make pci regs property dt-schema compliant
commit: 019b7f93bf0dd6de82810f3cb0897ebdd5fd9285

Best regards,
--
Bjorn Andersson <[email protected]>