linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: rockchip: Fix VBUS on rk3288-vyasa
@ 2020-07-07 10:12 Michael Trimarchi
  2020-07-18 15:14 ` Heiko Stuebner
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Trimarchi @ 2020-07-07 10:12 UTC (permalink / raw)
  To: Heiko Stuebner; +Cc: devicetree, Rob Herring, linux-kernel, linux-arm-kernel

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>
---
 arch/arm/boot/dts/rk3288-vyasa.dts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/rk3288-vyasa.dts b/arch/arm/boot/dts/rk3288-vyasa.dts
index ba06e9f97ddc..5b0263b1be73 100644
--- a/arch/arm/boot/dts/rk3288-vyasa.dts
+++ b/arch/arm/boot/dts/rk3288-vyasa.dts
@@ -87,8 +87,6 @@
 		pinctrl-0 = <&otg_vbus_drv>;
 		regulator-min-microvolt = <5000000>;
 		regulator-max-microvolt = <5000000>;
-		regulator-always-on;
-		regulator-boot-on;
 		vin-supply = <&vsus_5v>;
 	};
 
@@ -405,6 +403,7 @@
 
 &usb_otg {
 	status = "okay";
+	vbus-supply = <&vusb1_5v>;
 };
 
 &vopb {
-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: dts: rockchip: Fix VBUS on rk3288-vyasa
  2020-07-07 10:12 [PATCH] ARM: dts: rockchip: Fix VBUS on rk3288-vyasa Michael Trimarchi
@ 2020-07-18 15:14 ` Heiko Stuebner
  0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stuebner @ 2020-07-18 15:14 UTC (permalink / raw)
  To: Michael Trimarchi
  Cc: devicetree, Rob Herring, Heiko Stuebner, linux-arm-kernel, linux-kernel

On Tue, 7 Jul 2020 12:12:14 +0200, Michael Trimarchi wrote:
> 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".

Applied, thanks!

[1/1] ARM: dts: rockchip: Fix VBUS on rk3288-vyasa
      commit: 719646b76a41b8a482f8701825b635e9710ab329

Best regards,
-- 
Heiko Stuebner <heiko@sntech.de>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-18 15:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-07 10:12 [PATCH] ARM: dts: rockchip: Fix VBUS on rk3288-vyasa Michael Trimarchi
2020-07-18 15:14 ` Heiko Stuebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).