]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: marvell: armada-37xx: use 'usb2-phy' in USB3 controller's phy-names
authorGabor Juhos <j4g8y7@gmail.com>
Mon, 30 Mar 2026 15:25:16 +0000 (17:25 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Thu, 9 Apr 2026 08:14:40 +0000 (10:14 +0200)
Instead of the generic 'usb2-phy' name, the Armada 37xx device trees
are using a custom 'usb2-utmi-otg-phy' name for the USB2 PHY in the USB3
controller node. Since commit 53a2d95df836 ("usb: core: add phy notify
connect and disconnect"), this triggers a bug [1] in the USB core which
causes double use of the USB3 PHY.

Change the PHY name to 'usb2-phy' in the SoC and in the uDPU specific
dtsi files in order to avoid triggering the bug and also to keep the
names in line with the ones used by other platforms.

Link: https://lore.kernel.org/r/20260330-usb-avoid-usb3-phy-double-use-v1-1-d2113aecb535@gmail.com
Fixes: 53a2d95df836 ("usb: core: add phy notify connect and disconnect")
Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-3720-uDPU.dtsi
arch/arm64/boot/dts/marvell/armada-37xx.dtsi

index cd856c0aba71e6f6fd3db8fb386ad607912e7577..12deacb741ccbea684d905f246f26a4399fc8cd8 100644 (file)
 &usb3 {
        status = "okay";
        phys = <&usb2_utmi_otg_phy>;
-       phy-names = "usb2-utmi-otg-phy";
+       phy-names = "usb2-phy";
 };
 
 &uart0 {
index 44c47409f8793ae1266303607812ef481edbfbc5..7470d504a41081b32bee45368028189a13ea7087 100644 (file)
                                interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&sb_periph_clk 12>;
                                phys = <&comphy0 0>, <&usb2_utmi_otg_phy>;
-                               phy-names = "usb3-phy", "usb2-utmi-otg-phy";
+                               phy-names = "usb3-phy", "usb2-phy";
                                status = "disabled";
                        };