mirror of https://gitee.com/openkylin/linux.git
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: 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>
This commit is contained in:
parent
afd9eb8804
commit
719646b76a
|
@ -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";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue