arm64: dts: qcom: Correct QMP PHY child node name
authorShawn Guo <shawn.guo@linaro.org>
Wed, 29 Sep 2021 03:42:47 +0000 (11:42 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:13:57 +0000 (13:13 +0100)
[ Upstream commit 1351512f29b4348e6b497f6343896c1033d409b4 ]

Many child nodes of QMP PHY are named without following bindings schema
and causing dtbs_check warnings like below.

phy@1c06000: 'lane@1c06800' does not match any of the regexes: '^phy@[0-9a-f]+$'
        arch/arm64/boot/dts/qcom/msm8998-asus-novago-tp370ql.dt.yaml
        arch/arm64/boot/dts/qcom/msm8998-hp-envy-x2.dt.yaml
        arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dt.yaml
        arch/arm64/boot/dts/qcom/msm8998-mtp.dt.yaml
        arch/arm64/boot/dts/qcom/msm8998-oneplus-cheeseburger.dt.yaml
        arch/arm64/boot/dts/qcom/msm8998-oneplus-dumpling.dt.yaml

Correct them to fix the warnings.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20210929034253.24570-5-shawn.guo@linaro.org
Stable-dep-of: 36a31b3a8d9b ("arm64: dts: qcom: sm8150: fix UFS PHY registers")
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/ipq6018.dtsi
arch/arm64/boot/dts/qcom/ipq8074.dtsi
arch/arm64/boot/dts/qcom/msm8996.dtsi
arch/arm64/boot/dts/qcom/msm8998.dtsi
arch/arm64/boot/dts/qcom/sdm845.dtsi
arch/arm64/boot/dts/qcom/sm8150.dtsi
arch/arm64/boot/dts/qcom/sm8250.dtsi
arch/arm64/boot/dts/qcom/sm8350.dtsi

index ce4c2b4..30ac0b2 100644 (file)
                        reset-names = "phy",
                                      "common";
 
-                       pcie_phy0: lane@84200 {
+                       pcie_phy0: phy@84200 {
                                reg = <0x0 0x84200 0x0 0x16c>, /* Serdes Tx */
                                      <0x0 0x84400 0x0 0x200>, /* Serdes Rx */
                                      <0x0 0x84800 0x0 0x4f4>; /* PCS: Lane0, COM, PCIE */
index 6b9ac05..9d4019e 100644 (file)
                        reset-names = "phy","common";
                        status = "disabled";
 
-                       usb1_ssphy: lane@58200 {
+                       usb1_ssphy: phy@58200 {
                                reg = <0x00058200 0x130>,       /* Tx */
                                      <0x00058400 0x200>,     /* Rx */
                                      <0x00058800 0x1f8>,     /* PCS  */
                        reset-names = "phy","common";
                        status = "disabled";
 
-                       usb0_ssphy: lane@78200 {
+                       usb0_ssphy: phy@78200 {
                                reg = <0x00078200 0x130>,       /* Tx */
                                      <0x00078400 0x200>,     /* Rx */
                                      <0x00078800 0x1f8>,     /* PCS  */
index 70187fd..4017422 100644 (file)
                        reset-names = "phy", "common", "cfg";
                        status = "disabled";
 
-                       pciephy_0: lane@35000 {
+                       pciephy_0: phy@35000 {
                                reg = <0x00035000 0x130>,
                                      <0x00035200 0x200>,
                                      <0x00035400 0x1dc>;
                                reset-names = "lane0";
                        };
 
-                       pciephy_1: lane@36000 {
+                       pciephy_1: phy@36000 {
                                reg = <0x00036000 0x130>,
                                      <0x00036200 0x200>,
                                      <0x00036400 0x1dc>;
                                reset-names = "lane1";
                        };
 
-                       pciephy_2: lane@37000 {
+                       pciephy_2: phy@37000 {
                                reg = <0x00037000 0x130>,
                                      <0x00037200 0x200>,
                                      <0x00037400 0x1dc>;
                        reset-names = "ufsphy";
                        status = "disabled";
 
-                       ufsphy_lane: lanes@627400 {
+                       ufsphy_lane: phy@627400 {
                                reg = <0x627400 0x12c>,
                                      <0x627600 0x200>,
                                      <0x627c00 0x1b4>;
                        reset-names = "phy", "common";
                        status = "disabled";
 
-                       ssusb_phy_0: lane@7410200 {
+                       ssusb_phy_0: phy@7410200 {
                                reg = <0x07410200 0x200>,
                                      <0x07410400 0x130>,
                                      <0x07410600 0x1a8>;
index 228339f..5350b91 100644 (file)
                        vdda-phy-supply = <&vreg_l1a_0p875>;
                        vdda-pll-supply = <&vreg_l2a_1p2>;
 
-                       pciephy: lane@1c06800 {
+                       pciephy: phy@1c06800 {
                                reg = <0x01c06200 0x128>, <0x01c06400 0x1fc>, <0x01c06800 0x20c>;
                                #phy-cells = <0>;
 
                        reset-names = "ufsphy";
                        resets = <&ufshc 0>;
 
-                       ufsphy_lanes: lanes@1da7400 {
+                       ufsphy_lanes: phy@1da7400 {
                                reg = <0x01da7400 0x128>,
                                      <0x01da7600 0x1fc>,
                                      <0x01da7c00 0x1dc>,
                                 <&gcc GCC_USB3PHY_PHY_BCR>;
                        reset-names = "phy", "common";
 
-                       usb1_ssphy: lane@c010200 {
+                       usb1_ssphy: phy@c010200 {
                                reg = <0xc010200 0x128>,
                                      <0xc010400 0x200>,
                                      <0xc010c00 0x20c>,
index ea7a272..ed293f6 100644 (file)
 
                        status = "disabled";
 
-                       pcie0_lane: lanes@1c06200 {
+                       pcie0_lane: phy@1c06200 {
                                reg = <0 0x01c06200 0 0x128>,
                                      <0 0x01c06400 0 0x1fc>,
                                      <0 0x01c06800 0 0x218>,
 
                        status = "disabled";
 
-                       pcie1_lane: lanes@1c06200 {
+                       pcie1_lane: phy@1c06200 {
                                reg = <0 0x01c0a800 0 0x800>,
                                      <0 0x01c0a800 0 0x800>,
                                      <0 0x01c0b800 0 0x400>;
                        reset-names = "ufsphy";
                        status = "disabled";
 
-                       ufs_mem_phy_lanes: lanes@1d87400 {
+                       ufs_mem_phy_lanes: phy@1d87400 {
                                reg = <0 0x01d87400 0 0x108>,
                                      <0 0x01d87600 0 0x1e0>,
                                      <0 0x01d87c00 0 0x1dc>,
                                 <&gcc GCC_USB3_PHY_PRIM_BCR>;
                        reset-names = "phy", "common";
 
-                       usb_1_ssphy: lanes@88e9200 {
+                       usb_1_ssphy: phy@88e9200 {
                                reg = <0 0x088e9200 0 0x128>,
                                      <0 0x088e9400 0 0x200>,
                                      <0 0x088e9c00 0 0x218>,
                                 <&gcc GCC_USB3_PHY_SEC_BCR>;
                        reset-names = "phy", "common";
 
-                       usb_2_ssphy: lane@88eb200 {
+                       usb_2_ssphy: phy@88eb200 {
                                reg = <0 0x088eb200 0 0x128>,
                                      <0 0x088eb400 0 0x1fc>,
                                      <0 0x088eb800 0 0x218>,
index f347f75..74c4acb 100644 (file)
                        reset-names = "ufsphy";
                        status = "disabled";
 
-                       ufs_mem_phy_lanes: lanes@1d87400 {
+                       ufs_mem_phy_lanes: phy@1d87400 {
                                reg = <0 0x01d87400 0 0x108>,
                                      <0 0x01d87600 0 0x1e0>,
                                      <0 0x01d87c00 0 0x1dc>,
                                 <&gcc GCC_USB3_PHY_PRIM_BCR>;
                        reset-names = "phy", "common";
 
-                       usb_1_ssphy: lanes@88e9200 {
+                       usb_1_ssphy: phy@88e9200 {
                                reg = <0 0x088e9200 0 0x200>,
                                      <0 0x088e9400 0 0x200>,
                                      <0 0x088e9c00 0 0x218>,
                                 <&gcc GCC_USB3_PHY_SEC_BCR>;
                        reset-names = "phy", "common";
 
-                       usb_2_ssphy: lane@88eb200 {
+                       usb_2_ssphy: phy@88eb200 {
                                reg = <0 0x088eb200 0 0x200>,
                                      <0 0x088eb400 0 0x200>,
                                      <0 0x088eb800 0 0x800>,
index 9a95c15..bcc948f 100644 (file)
 
                        status = "disabled";
 
-                       pcie0_lane: lanes@1c06200 {
+                       pcie0_lane: phy@1c06200 {
                                reg = <0 0x1c06200 0 0x170>, /* tx */
                                      <0 0x1c06400 0 0x200>, /* rx */
                                      <0 0x1c06800 0 0x1f0>, /* pcs */
 
                        status = "disabled";
 
-                       pcie1_lane: lanes@1c0e200 {
+                       pcie1_lane: phy@1c0e200 {
                                reg = <0 0x1c0e200 0 0x170>, /* tx0 */
                                      <0 0x1c0e400 0 0x200>, /* rx0 */
                                      <0 0x1c0ea00 0 0x1f0>, /* pcs */
 
                        status = "disabled";
 
-                       pcie2_lane: lanes@1c16200 {
+                       pcie2_lane: phy@1c16200 {
                                reg = <0 0x1c16200 0 0x170>, /* tx0 */
                                      <0 0x1c16400 0 0x200>, /* rx0 */
                                      <0 0x1c16a00 0 0x1f0>, /* pcs */
                        reset-names = "ufsphy";
                        status = "disabled";
 
-                       ufs_mem_phy_lanes: lanes@1d87400 {
+                       ufs_mem_phy_lanes: phy@1d87400 {
                                reg = <0 0x01d87400 0 0x108>,
                                      <0 0x01d87600 0 0x1e0>,
                                      <0 0x01d87c00 0 0x1dc>,
                                 <&gcc GCC_USB3_PHY_SEC_BCR>;
                        reset-names = "phy", "common";
 
-                       usb_2_ssphy: lanes@88eb200 {
+                       usb_2_ssphy: phy@88eb200 {
                                reg = <0 0x088eb200 0 0x200>,
                                      <0 0x088eb400 0 0x200>,
                                      <0 0x088eb800 0 0x800>;
index c0a3ea4..d6dc556 100644 (file)
                        reset-names = "ufsphy";
                        status = "disabled";
 
-                       ufs_mem_phy_lanes: lanes@1d87400 {
+                       ufs_mem_phy_lanes: phy@1d87400 {
                                reg = <0 0x01d87400 0 0x108>,
                                      <0 0x01d87600 0 0x1e0>,
                                      <0 0x01d87c00 0 0x1dc>,