ARM: dts: renesas: Fix USB PHY device and child node names
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 14 Sep 2022 14:21:54 +0000 (16:21 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 19 Sep 2022 11:53:47 +0000 (13:53 +0200)
make dtbs_check:

    usb-phy@e6590100: '#phy-cells' is a required property
    From schema: dtschema/schemas/phy/phy-provider.yaml

The R-Car Gen2 USB PHY device nodes do not represent USB PHYs
theirselves, and thus do not have "#phy-cells" properties.  Fix the
warning by renaming them from "usb-phy" to "usb-phy-controller".
Rename their child nodes from "usb-channel" to "usb-phy", as these do
represent USB PHYs.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/6442b4042e26537abc8632c4772f8201685f1f1f.1663165098.git.geert+renesas@glider.be
arch/arm/boot/dts/r8a7742.dtsi
arch/arm/boot/dts/r8a7743.dtsi
arch/arm/boot/dts/r8a7744.dtsi
arch/arm/boot/dts/r8a7745.dtsi
arch/arm/boot/dts/r8a77470.dtsi
arch/arm/boot/dts/r8a7790.dtsi
arch/arm/boot/dts/r8a7791.dtsi
arch/arm/boot/dts/r8a7794.dtsi

index 420e0b3259d48de65186fe0088f27a5f98664f7b..758a1bf02fae9a15b0f2d438d92a77d533d38773 100644 (file)
                        status = "disabled";
                };
 
-               usbphy: usb-phy@e6590100 {
+               usbphy: usb-phy-controller@e6590100 {
                        compatible = "renesas,usb-phy-r8a7742",
                                     "renesas,rcar-gen2-usb-phy";
                        reg = <0 0xe6590100 0 0x100>;
                        resets = <&cpg 704>;
                        status = "disabled";
 
-                       usb0: usb-channel@0 {
+                       usb0: usb-phy@0 {
                                reg = <0>;
                                #phy-cells = <1>;
                        };
-                       usb2: usb-channel@2 {
+                       usb2: usb-phy@2 {
                                reg = <2>;
                                #phy-cells = <1>;
                        };
index c0c145a5fe8da52af07fa88b064464b6d3539052..20f1d98a048dc1aff42c12c82e1fb6aa20f5d492 100644 (file)
                        status = "disabled";
                };
 
-               usbphy: usb-phy@e6590100 {
+               usbphy: usb-phy-controller@e6590100 {
                        compatible = "renesas,usb-phy-r8a7743",
                                     "renesas,rcar-gen2-usb-phy";
                        reg = <0 0xe6590100 0 0x100>;
                        resets = <&cpg 704>;
                        status = "disabled";
 
-                       usb0: usb-channel@0 {
+                       usb0: usb-phy@0 {
                                reg = <0>;
                                #phy-cells = <1>;
                        };
-                       usb2: usb-channel@2 {
+                       usb2: usb-phy@2 {
                                reg = <2>;
                                #phy-cells = <1>;
                        };
index 3f4fb53dd6df16963f69a7a7f22d83fd2adbf53c..96b2d5a4e8f64bd698f39e719a15e04a7bdb0c36 100644 (file)
                        status = "disabled";
                };
 
-               usbphy: usb-phy@e6590100 {
+               usbphy: usb-phy-controller@e6590100 {
                        compatible = "renesas,usb-phy-r8a7744",
                                     "renesas,rcar-gen2-usb-phy";
                        reg = <0 0xe6590100 0 0x100>;
                        resets = <&cpg 704>;
                        status = "disabled";
 
-                       usb0: usb-channel@0 {
+                       usb0: usb-phy@0 {
                                reg = <0>;
                                #phy-cells = <1>;
                        };
-                       usb2: usb-channel@2 {
+                       usb2: usb-phy@2 {
                                reg = <2>;
                                #phy-cells = <1>;
                        };
index fe8e98a66d93ebc8dcc93dda8df42b13ad935c3c..afc902e532d8d45a4352287731b6b3d398fcbc6c 100644 (file)
                        status = "disabled";
                };
 
-               usbphy: usb-phy@e6590100 {
+               usbphy: usb-phy-controller@e6590100 {
                        compatible = "renesas,usb-phy-r8a7745",
                                     "renesas,rcar-gen2-usb-phy";
                        reg = <0 0xe6590100 0 0x100>;
                        resets = <&cpg 704>;
                        status = "disabled";
 
-                       usb0: usb-channel@0 {
+                       usb0: usb-phy@0 {
                                reg = <0>;
                                #phy-cells = <1>;
                        };
-                       usb2: usb-channel@2 {
+                       usb2: usb-phy@2 {
                                reg = <2>;
                                #phy-cells = <1>;
                        };
index c90f2a27021467013c0dbadb0967edc1741e89b7..a5cf663a0118ee1de0114db7efdd36b231b36180 100644 (file)
                        status = "disabled";
                };
 
-               usbphy0: usb-phy@e6590100 {
+               usbphy0: usb-phy-controller@e6590100 {
                        compatible = "renesas,usb-phy-r8a77470",
                                     "renesas,rcar-gen2-usb-phy";
                        reg = <0 0xe6590100 0 0x100>;
                        resets = <&cpg 704>;
                        status = "disabled";
 
-                       usb0: usb-channel@0 {
+                       usb0: usb-phy@0 {
                                reg = <0>;
                                #phy-cells = <1>;
                        };
                        status = "disabled";
                };
 
-               usbphy1: usb-phy@e6598100 {
+               usbphy1: usb-phy-controller@e6598100 {
                        compatible = "renesas,usb-phy-r8a77470",
                                     "renesas,rcar-gen2-usb-phy";
                        reg = <0 0xe6598100 0 0x100>;
                        resets = <&cpg 706>;
                        status = "disabled";
 
-                       usb1: usb-channel@0 {
+                       usb1: usb-phy@0 {
                                reg = <0>;
                                #phy-cells = <1>;
                        };
index a640488d513b2f531e3f5a9faa07515b09a7cf2c..db171e3c62f25eb879ab7f2755832bd455e16547 100644 (file)
                        status = "disabled";
                };
 
-               usbphy: usb-phy@e6590100 {
+               usbphy: usb-phy-controller@e6590100 {
                        compatible = "renesas,usb-phy-r8a7790",
                                     "renesas,rcar-gen2-usb-phy";
                        reg = <0 0xe6590100 0 0x100>;
                        resets = <&cpg 704>;
                        status = "disabled";
 
-                       usb0: usb-channel@0 {
+                       usb0: usb-phy@0 {
                                reg = <0>;
                                #phy-cells = <1>;
                        };
-                       usb2: usb-channel@2 {
+                       usb2: usb-phy@2 {
                                reg = <2>;
                                #phy-cells = <1>;
                        };
index 542ed0a71872959a9acf69174ae87e05fad2ed57..d8f91d9f42aeed8a024bf5b6b4f7bf6db01fd176 100644 (file)
                        status = "disabled";
                };
 
-               usbphy: usb-phy@e6590100 {
+               usbphy: usb-phy-controller@e6590100 {
                        compatible = "renesas,usb-phy-r8a7791",
                                     "renesas,rcar-gen2-usb-phy";
                        reg = <0 0xe6590100 0 0x100>;
                        resets = <&cpg 704>;
                        status = "disabled";
 
-                       usb0: usb-channel@0 {
+                       usb0: usb-phy@0 {
                                reg = <0>;
                                #phy-cells = <1>;
                        };
-                       usb2: usb-channel@2 {
+                       usb2: usb-phy@2 {
                                reg = <2>;
                                #phy-cells = <1>;
                        };
index b601ee6f7580b2852f0cb95f0869d07f3ff02864..7aa781ff3bff695234c0c0d072e5d52bd6398c5a 100644 (file)
                        status = "disabled";
                };
 
-               usbphy: usb-phy@e6590100 {
+               usbphy: usb-phy-controller@e6590100 {
                        compatible = "renesas,usb-phy-r8a7794",
                                     "renesas,rcar-gen2-usb-phy";
                        reg = <0 0xe6590100 0 0x100>;
                        resets = <&cpg 704>;
                        status = "disabled";
 
-                       usb0: usb-channel@0 {
+                       usb0: usb-phy@0 {
                                reg = <0>;
                                #phy-cells = <1>;
                        };
-                       usb2: usb-channel@2 {
+                       usb2: usb-phy@2 {
                                reg = <2>;
                                #phy-cells = <1>;
                        };