ARM: dts: helios4: fix vbus-supply for USB2 PHY
Subsystems (2)
PATCH 1/1 ARM: dts: helios4: fix vbus-supply for USB2 PHY
The usb-nop-xceiv binding and driver use "vbus-supply"; the driver acquires the VBUS regulator via devm_regulator_get_exclusive("vbus") (phy-generic.c). The stale "vbus-regulator" name is never read by the driver and dtbs_check rejects it as an unknown property. Rename the property so reg_5p0v_usb is honored.
Fixes ced8025b569e ("ARM: dts: armada388-helios4")
Assisted-by opencode:big-pickle
Signed-off-by Rosen Penev <[email protected]>
--- arch/arm/boot/dts/marvell/armada-388-helios4.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/marvell/armada-388-helios4.dts +1 -1
@@ -140,7 +140,7 @@ fan2: j17-pwm { usb2_phy: usb2-phy { compatible = "usb-nop-xceiv"; - vbus-regulator = <®_5p0v_usb>; + vbus-supply = <®_5p0v_usb>; }; usb3_phy: usb3-phy {
Signature · 1 line
2.55.0
Gregory CLEMENT
maintainerQuoted 9 lines · Rosen Penev
The usb-nop-xceiv binding and driver use "vbus-supply"; the driver acquires the VBUS regulator via
devm_regulator_get_exclusive("vbus")(phy-generic.c). The stale "vbus-regulator" name is never read by the driver anddtbs_checkrejects it as an unknown property. Rename the property soreg_5p0v_usbis honored.Fixes ced8025b569e ("ARM: dts: armada388-helios4")Assisted-by opencode:big-pickleSigned-off-by Rosen Penev <[email protected]>
Applied on mvebu/dt
Thanks,
Gregory
Quoted 20 lines
--- arch/arm/boot/dts/marvell/armada-388-helios4.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/boot/dts/marvell/armada-388-helios4.dts +1
-1@@ -140,7 +140,7 @@ fan2: j17-pwm { usb2_phy: usb2-phy { compatible = "usb-nop-xceiv"; - vbus-regulator = <®_5p0v_usb>; + vbus-supply = <®_5p0v_usb>; }; usb3_phy: usb3-phy {Signature · 1 line
2.55.0
Signature · 3 lines
Grégory CLEMENT, Bootlin Embedded Linux and Kernel engineering https://bootlin.com