Skip to content

RFC dwc2 fixes for HiKey

John Stultz lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest2 patches 0 repliesNew
  2. v1 RFC2 patches 9 repliesSuperseded

Changes in v2 from the cover letter

* Fix build issue reported by kbuildbot
* Rework to avoid using new dts entry suggested by RobH
* Further tweaks from Chen Yu to try to address comments from John Youn
* Further simplified logic

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2usb: dwc2: Force port resume on switching to device modedrivers/usb/dwc2/hcd.c+8 -00 replies
2/2usb: dwc2: Add a quirk to allow speed negotiation for Hisilicon Hi6220drivers/usb/dwc2/core.h drivers/usb/dwc2/hcd.c drivers/usb/dwc2/platform.c+68 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [RFC][PATCH 0/2 v2] dwc2 fixes for HiKey

I wanted to send out two patches we're using on the dwc2 driver in order to make HiKey function.

The first is seemingly just a bug fix we ran into when changing modes while the bus was auto-suspended.

The second is a little more interesting as it works around a limitation of the the device in that it can't handle split transactions, so the usb speed but be lowered and raised manually when full-speed devices come and go.

I wanted to send these out for further review and consideration.

Changes in v2:
* Fix build issue reported by kbuildbot
* Rework to avoid using new dts entry suggested by RobH
* Further tweaks from Chen Yu to try to address comments from John Youn
* Further simplified logic

Feedback would be greatly appreciated!

thanks
-john

Cc Wei Xu <[email protected]>
Cc Guodong Xu <[email protected]>
Cc Amit Pundir <[email protected]>
Cc Rob Herring <[email protected]>
Cc John Youn <[email protected]>
Cc Douglas Anderson <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Chen Yu <[email protected]>

Chen Yu (2):
usb: dwc2: Force port resume on switching to device mode
usb: dwc2: Add a quirk to allow speed negotiation for Hisilicon Hi6220

 drivers/usb/dwc2/core.h     |  6 ++++
 drivers/usb/dwc2/hcd.c      | 69 +++++++++++++++++++++++++++++++++++++++++++++
 drivers/usb/dwc2/platform.c |  1 +
 3 files changed, 76 insertions(+)
Signature · 1 line
2.7.4