linux-phy.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] usb: davinci: Add PM runtime support and improve HOST only mode support
@ 2024-05-28 10:20 Bastien Curutchet
  2024-05-28 10:20 ` [PATCH 1/4] phy: ti: phy-da8xx-usb: Add runtime PM support Bastien Curutchet
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Bastien Curutchet @ 2024-05-28 10:20 UTC (permalink / raw)
  To: Vinod Koul, Kishon Vijay Abraham I, Bin Liu, Greg Kroah-Hartman
  Cc: linux-phy, linux-kernel, linux-usb, Thomas Petazzoni,
	herve.codina, christophercordahi, Bastien Curutchet

Hi all,

I've worked on adding PM runtime support on the DAVINCI's USB PHY
controller. It revealed some bugs in the MUSB controller that I fixed in
the last three patches.

The platform I work on uses the MUSB controller in HOST-only mode and has
been designed to save as much energy as possible. To do so, the USB's
VBUS supply can be cut off by toggling a GPIO, this triggers the bug
fixed by patch 2.

If an USB stick gets unplugged, then plugged back while the PHY is in
suspend state, a BABBLE error happens. This BABBLE can't be recovered.
This is fixed by last patch.

Bastien Curutchet (4):
  phy: ti: phy-da8xx-usb: Add runtime PM support
  Revert "usb: musb: da8xx: Set phy in OTG mode by default"
  usb: musb: da8xx: Remove try_idle implementation from host-only mode
  usb: musb: da8xx: Implement BABBLE recovery

 drivers/phy/ti/phy-da8xx-usb.c | 49 ++++++++++++++++++++++++++++++++++
 drivers/usb/musb/da8xx.c       | 20 ++++++++------
 2 files changed, 61 insertions(+), 8 deletions(-)

-- 
2.44.0


-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

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

end of thread, other threads:[~2024-06-15 12:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-28 10:20 [PATCH 0/4] usb: davinci: Add PM runtime support and improve HOST only mode support Bastien Curutchet
2024-05-28 10:20 ` [PATCH 1/4] phy: ti: phy-da8xx-usb: Add runtime PM support Bastien Curutchet
2024-06-15 12:09   ` Vinod Koul
2024-05-28 10:20 ` [PATCH 2/4] Revert "usb: musb: da8xx: Set phy in OTG mode by default" Bastien Curutchet
2024-05-28 10:20 ` [PATCH 3/4] usb: musb: da8xx: Remove try_idle implementation from host-only mode Bastien Curutchet
2024-05-28 10:20 ` [PATCH 4/4] usb: musb: da8xx: Implement BABBLE recovery Bastien Curutchet

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