Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1616971

[PATCH 2/3] ARM: dts: rockchip: rock2: Setup usb vbus-supply

From Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Newsgroups linux.kernel
Subject [PATCH 2/3] ARM: dts: rockchip: rock2: Setup usb vbus-supply
Date 2017-04-05 16:10 +0200
Message-ID <tsTNg-3DV-31@gated-at.bofh.it> (permalink)
References <tsTNg-3DV-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>
---

 arch/arm/boot/dts/rk3288-rock2-square.dts | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/rk3288-rock2-square.dts b/arch/arm/boot/dts/rk3288-rock2-square.dts
index a23a94811be8..8ed25e9f60bc 100644
--- a/arch/arm/boot/dts/rk3288-rock2-square.dts
+++ b/arch/arm/boot/dts/rk3288-rock2-square.dts
@@ -125,10 +125,6 @@
 		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";
 	};
 
@@ -279,6 +275,10 @@
 	status = "okay";
 };
 
+&usbphy1 {
+	vbus-supply = <&vcc_usb_host>;
+};
+
 &usb_host0_ehci {
 	status = "okay";
 };
-- 
2.11.0

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 2/3] ARM: dts: rockchip: rock2: Setup usb vbus-supply Sjoerd Simons <sjoerd.simons@collabora.co.uk> - 2017-04-05 16:10 +0200
  Re: [PATCH 2/3] ARM: dts: rockchip: rock2: Setup usb vbus-supply Heiko Stuebner <heiko@sntech.de> - 2017-04-07 00:30 +0200

csiph-web