]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: rockchip: Setup usb vbus-supply on rk3288-rock2
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Wed, 5 Apr 2017 14:06:11 +0000 (16:06 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 13 May 2017 22:37:57 +0000 (00:37 +0200)
Now that the rockchip usb phy has a vbus-supply property use that to
control the vbus regulator on rock2.

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3288-rock2-square.dts

index a23a94811be8ade1bdc6b8233d875c0483b126d4..8ed25e9f60bc480309765ab26c10426a5965e2cd 100644 (file)
                gpio = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
                pinctrl-names = "default";
                pinctrl-0 = <&host_vbus_drv>;
-               /* Always on as the rockchip usb phy doesn't have a vbus-supply
-                * property
-                */
-               regulator-always-on;
                regulator-name = "vcc_host";
        };
 
        status = "okay";
 };
 
+&usbphy1 {
+       vbus-supply = <&vcc_usb_host>;
+};
+
 &usb_host0_ehci {
        status = "okay";
 };