Skip to content

usb: dwc2: Another attempt handling rk3288's remote wake quirk

Douglas Anderson linux-arm-kernel linux-devicetree linux-rockchip linux-usb lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 3 repliesIn review
  2. v14 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- Cancel the work when dwc2 is freed (Matthias).

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4dt-bindings: usb: dwc2: Document quirk to reset PHY upon wakeupDocumentation/devicetree/bindings/usb/dwc2.txt+2 -03 replies
2/4usb: dwc2: optionally assert phy reset when waking updrivers/usb/dwc2/core.h drivers/usb/dwc2/core_intr.c drivers/usb/dwc2/hcd.c +1 more+41 -30 replies
3/4ARM: dts: rockchip: Hook resets up to USB PHYs on rk3288.arch/arm/boot/dts/rk3288.dtsi+6 -00 replies
4/4ARM: dts: rockchip: Add quirk for resetting rk3288's dwc2 host on wakeuparch/arm/boot/dts/rk3288.dtsi+1 -00 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchMatthias Kaehlcke
1/4R-b
2/4
3/4
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] usb: dwc2: Another attempt handling rk3288's remote wake quirk

This is another attempt to upstream the code to unwedge the rk3288's "host" USB port when it sees a remote wakeup. Previously I attempted this [1] and it appears that Randy Li made some attempts too [2] which resulted in at least the PHY bindings for the USB PHY landing as well as the USB PHY support. Nice!

Hopefully this addresses previous comments and could land this time?

[1] https://lkml.kernel.org/r/[email protected]
[2] https://lkml.kernel.org/r/[email protected]

Changes in v2:
- Cancel the work when dwc2 is freed (Matthias).

Douglas Anderson (4):
dt-bindings: usb: dwc2: Document quirk to reset PHY upon wakeup
usb: dwc2: optionally assert phy reset when waking up
ARM: dts: rockchip: Hook resets up to USB PHYs on rk3288.
ARM: dts: rockchip: Add quirk for resetting rk3288's dwc2 host on
wakeup

 Documentation/devicetree/bindings/usb/dwc2.txt |  2 ++
 arch/arm/boot/dts/rk3288.dtsi                  |  7 +++++++
 drivers/usb/dwc2/core.h                        |  5 +++++
 drivers/usb/dwc2/core_intr.c                   | 12 ++++++++++++
 drivers/usb/dwc2/hcd.c                         | 18 +++++++++++++++---
 drivers/usb/dwc2/platform.c                    |  9 +++++++++
 6 files changed, 50 insertions(+), 3 deletions(-)
Signature · 1 line
2.21.0.593.g511ec345e18-goog