Commit 719646b7 authored by Michael Trimarchi's avatar Michael Trimarchi Committed by Heiko Stuebner

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".
Signed-off-by: default avatarMichael Trimarchi <michael@amarulasolutions.com>
Link: https://lore.kernel.org/r/20200707101214.2301768-1-michael@amarulasolutions.comSigned-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent afd9eb88
......@@ -99,8 +99,6 @@ vusb1_5v: vusb1-5v {
pinctrl-0 = <&otg_vbus_drv>;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
regulator-boot-on;
vin-supply = <&vsus_5v>;
};
......@@ -416,6 +414,7 @@ &usb_host1 {
};
&usb_otg {
vbus-supply = <&vusb1_5v>;
status = "okay";
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment