diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2022-09-14 16:21:54 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2022-09-19 13:53:47 +0200 |
commit | 422797652877f55e7dccb8362fdd2ce399489cdc (patch) | |
tree | 913b313cdaed654e314424f23c6d961b4a84b440 /arch/arm/boot/dts/r8a77470.dtsi | |
parent | 167720e4bcc83bfc72c717abdfd5d5cd4dc80b61 (diff) | |
download | linux-422797652877f55e7dccb8362fdd2ce399489cdc.tar.bz2 |
ARM: dts: renesas: Fix USB PHY device and child node names
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
Diffstat (limited to 'arch/arm/boot/dts/r8a77470.dtsi')
-rw-r--r-- | arch/arm/boot/dts/r8a77470.dtsi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/r8a77470.dtsi b/arch/arm/boot/dts/r8a77470.dtsi index c90f2a270214..a5cf663a0118 100644 --- a/arch/arm/boot/dts/r8a77470.dtsi +++ b/arch/arm/boot/dts/r8a77470.dtsi @@ -357,7 +357,7 @@ 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>; @@ -369,7 +369,7 @@ resets = <&cpg 704>; status = "disabled"; - usb0: usb-channel@0 { + usb0: usb-phy@0 { reg = <0>; #phy-cells = <1>; }; @@ -393,7 +393,7 @@ 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>; @@ -405,7 +405,7 @@ resets = <&cpg 706>; status = "disabled"; - usb1: usb-channel@0 { + usb1: usb-phy@0 { reg = <0>; #phy-cells = <1>; }; |