arm64: dts: hisilicon: avoid irrelevant nodes being mistakenly identified as PHY...
authorZhen Lei <thunder.leizhen@huawei.com>
Mon, 18 Jan 2021 03:16:33 +0000 (11:16 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Fri, 29 Jan 2021 08:33:26 +0000 (16:33 +0800)
Currently, the names of several nodes incorrectly match common PHY
provider schema. And the phy-provider.yaml requires them must have
property "#phy-cells". As a result, false positives similar to the
following are reported:
usb2-phy@120: '#phy-cells' is a required property

Change their names slightly so that they do not match pattern:
"^(|usb-|usb2-|usb3-|pci-|pcie-|sata-)phy(@[0-9a-f,]+)*$".

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi

index 16e11fde3ed9020d6d9af051176b9854eb9a8ce6..a83b9d4f172e350341a2de43daf2f8d76c7e911f 100644 (file)
                        #size-cells = <1>;
                        ranges = <0x0 0x8a20000 0x1000>;
 
-                       usb2_phy1: usb2-phy@120 {
+                       usb2_phy1: usb2_phy@120 {
                                compatible = "hisilicon,hi3798cv200-usb2-phy";
                                reg = <0x120 0x4>;
                                clocks = <&crg HISTB_USB2_PHY1_REF_CLK>;
                                };
                        };
 
-                       usb2_phy2: usb2-phy@124 {
+                       usb2_phy2: usb2_phy@124 {
                                compatible = "hisilicon,hi3798cv200-usb2-phy";
                                reg = <0x124 0x4>;
                                clocks = <&crg HISTB_USB2_PHY2_REF_CLK>;