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


Groups > linux.kernel > #1616971 > unrolled thread

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

Started bySjoerd Simons <sjoerd.simons@collabora.co.uk>
First post2017-04-05 16:10 +0200
Last post2017-04-07 00:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [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

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

FromSjoerd Simons <sjoerd.simons@collabora.co.uk>
Date2017-04-05 16:10 +0200
Subject[PATCH 2/3] ARM: dts: rockchip: rock2: Setup usb vbus-supply
Message-ID<tsTNg-3DV-31@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1618378

FromHeiko Stuebner <heiko@sntech.de>
Date2017-04-07 00:30 +0200
Message-ID<tto4G-6Wf-3@gated-at.bofh.it>
In reply to#1616971
Am Mittwoch, 5. April 2017, 16:06:11 CEST schrieb Sjoerd Simons:
> 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>

I've queued this for 4.13 .

Not eligible for 4.12, as the patch alone (when testing my tree or armsoc)
would regress the sata-bridge, due to the regulator-always-on going away.


Heiko

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web