diff mbox series

[v2,2/2] arm64: dts: uniphier: Remove compatible "snps,dw-pcie" from pcie node

Message ID 1648617814-9217-3-git-send-email-hayashi.kunihiko@socionext.com (mailing list archive)
State Handled Elsewhere
Headers show
Series dt-bindings: PCI: uniphier: Convert bindings and fix devicetree warning issue | expand

Commit Message

Kunihiko Hayashi March 30, 2022, 5:23 a.m. UTC
UniPhier PCIe host controller doesn't use "snps,dw-pcie" compatible, so
this is no longer needed. Remove the compatible string from the pcie node
to fix the following warning.

  uniphier-ld20-akebi96.dtb: pcie@66000000: compatible: ['socionext,uniphier-pcie', 'snps,dw-pcie'] is too long
      From schema: Documentation/devicetree/bindings/pci/socionext,uniphier-pcie.yaml

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
---
 arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 2 +-
 arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Kunihiko Hayashi April 18, 2022, 12:56 a.m. UTC | #1
On 2022/03/30 14:23, Kunihiko Hayashi wrote:
> UniPhier PCIe host controller doesn't use "snps,dw-pcie" compatible, so
> this is no longer needed. Remove the compatible string from the pcie node
> to fix the following warning.
> 
>    uniphier-ld20-akebi96.dtb: pcie@66000000: compatible:
> ['socionext,uniphier-pcie', 'snps,dw-pcie'] is too long
>        From schema:
> Documentation/devicetree/bindings/pci/socionext,uniphier-pcie.yaml
> 
> Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
> ---
>   arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 2 +-
>   arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)

This patch 2 is for the devicetree and patch 1 has already been merged,
so I'll post it as a new patch series along with other devicetree patches.

Thank you,

---
Best Regards
Kunihiko Hayashi
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi
index 8f2c1c1e2c64..6c774ee6ec9b 100644
--- a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi
+++ b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi
@@ -895,7 +895,7 @@  usb_ssphy1: ss-phy@310 {
 		};
 
 		pcie: pcie@66000000 {
-			compatible = "socionext,uniphier-pcie", "snps,dw-pcie";
+			compatible = "socionext,uniphier-pcie";
 			status = "disabled";
 			reg-names = "dbi", "link", "config";
 			reg = <0x66000000 0x1000>, <0x66010000 0x10000>,
diff --git a/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi b/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi
index be97da132258..b87f6fc85902 100644
--- a/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi
+++ b/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi
@@ -792,7 +792,7 @@  usb1_ssphy0: ss-phy@300 {
 		};
 
 		pcie: pcie@66000000 {
-			compatible = "socionext,uniphier-pcie", "snps,dw-pcie";
+			compatible = "socionext,uniphier-pcie";
 			status = "disabled";
 			reg-names = "dbi", "link", "config";
 			reg = <0x66000000 0x1000>, <0x66010000 0x10000>,