ARM: dts: rockchip: Fix VBUS on rk3288-vyasa
authorMichael Trimarchi <michael@amarulasolutions.com>
Tue, 7 Jul 2020 10:12:14 +0000 (12:12 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 18 Jul 2020 15:13:43 +0000 (17:13 +0200)
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".

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Link: https://lore.kernel.org/r/20200707101214.2301768-1-michael@amarulasolutions.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3288-vyasa.dts

index 385dd59393e13d37d5ae2932909c882adea1628f..1a20854a131733ec508863dfb096314e5ce8af13 100644 (file)
@@ -99,8 +99,6 @@
                pinctrl-0 = <&otg_vbus_drv>;
                regulator-min-microvolt = <5000000>;
                regulator-max-microvolt = <5000000>;
-               regulator-always-on;
-               regulator-boot-on;
                vin-supply = <&vsus_5v>;
        };
 
 };
 
 &usb_otg {
+       vbus-supply = <&vusb1_5v>;
        status = "okay";
 };