Skip to contentSkip to conversation

ARM: dts: rockchip: Fix VBUS on rk3288-vyasa

PATCH Applied Michael Trimarchi 2 participants 2 messages Jul 7, 2020 – Jul 18, 2020 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: rockchip: Fix VBUS on rk3288-vyasa

Connect the voltage regulator of vbus to the otg connector. Depending on the current mode this is enabled (in "host" mode") or disabled (in "peripheral" mode). The regulator must be updated if the controller is configured in "otg" mode and the status changes between "host" and "peripheral".

---
 arch/arm/boot/dts/rk3288-vyasa.dts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm/boot/dts/rk3288-vyasa.dts +1 -2
index ba06e9f97ddc..5b0263b1be73 100644
@@ -87,8 +87,6 @@
 		pinctrl-0 = <&otg_vbus_drv>;
 		regulator-min-microvolt = <5000000>;
 		regulator-max-microvolt = <5000000>;
-		regulator-always-on;
-		regulator-boot-on;
 		vin-supply = <&vsus_5v>;
 	};
 
@@ -405,6 +403,7 @@
 
 &usb_otg {
 	status = "okay";
+	vbus-supply = <&vusb1_5v>;
 };
 
 &vopb {
Signature · 1 line
2.25.1
#1 lore raw
Quoted 5 lines · Michael Trimarchi

Connect the voltage regulator of vbus to the otg connector. Depending on the current mode this is enabled (in "host" mode") or disabled (in "peripheral" mode). The regulator must be updated if the controller is configured in "otg" mode and the status changes between "host" and "peripheral".

Applied, thanks!

[1/1] ARM: dts: rockchip: Fix VBUS on rk3288-vyasa

      commit: 719646b76a41b8a482f8701825b635e9710ab329

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>