All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] rockchip dwc2: Turn off vbus on shutdown
@ 2017-04-05 14:06 ` Sjoerd Simons
  0 siblings, 0 replies; 16+ messages in thread
From: Sjoerd Simons @ 2017-04-05 14:06 UTC (permalink / raw)
  To: John Youn, Heiko Stuebner
  Cc: devicetree, linux-usb, linux-kernel, Randy Li, linux-rockchip,
	Rob Herring, Kishon Vijay Abraham I, Mark Rutland, Russell King,
	linux-arm-kernel, Greg Kroah-Hartman

A board I'm working on seems to get its usb->sata bridge in a rather
confused state during reboot, which unfortunately can't be recovered on
the next boot (only hard reset helps).

This seems to be avoidable by turning off vbus, which turns the internal
usb hub off on shutdown.

First patch add the ability to describe vbus regulators for the rockchip
usb phy, second one starts using that on the rock2 square board and
while the final one adds the actual workaround of turning off the phy on
shutdown.


Sjoerd Simons (3):
  phy: rockchip-usb: Add vbus regulator support.
  ARM: dts: rockchip: rock2: Setup usb vbus-supply
  usb: dwc2: Power off the phy on shutdown

 .../devicetree/bindings/phy/rockchip-usb-phy.txt      |  1 +
 arch/arm/boot/dts/rk3288-rock2-square.dts             |  8 ++++----
 drivers/phy/phy-rockchip-usb.c                        | 19 +++++++++++++++++++
 drivers/usb/dwc2/platform.c                           |  3 +++
 4 files changed, 27 insertions(+), 4 deletions(-)

-- 
2.11.0

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

end of thread, other threads:[~2017-04-06 22:23 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-05 14:06 [PATCH 0/3] rockchip dwc2: Turn off vbus on shutdown Sjoerd Simons
2017-04-05 14:06 ` Sjoerd Simons
2017-04-05 14:06 ` Sjoerd Simons
2017-04-05 14:06 ` [PATCH 1/3] phy: rockchip-usb: Add vbus regulator support Sjoerd Simons
2017-04-05 14:06   ` Sjoerd Simons
2017-04-05 14:06   ` Sjoerd Simons
2017-04-06 10:37   ` Kishon Vijay Abraham I
2017-04-06 10:37     ` Kishon Vijay Abraham I
2017-04-06 10:37     ` Kishon Vijay Abraham I
2017-04-05 14:06 ` [PATCH 2/3] ARM: dts: rockchip: rock2: Setup usb vbus-supply Sjoerd Simons
2017-04-05 14:06   ` Sjoerd Simons
2017-04-05 14:06   ` Sjoerd Simons
2017-04-06 22:23   ` Heiko Stuebner
2017-04-06 22:23     ` Heiko Stuebner
2017-04-06 22:23     ` Heiko Stuebner
2017-04-05 14:06 ` [PATCH 3/3] usb: dwc2: Power off the phy on shutdown Sjoerd Simons

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.