Skip to content

Fixes and workarounds for dwc2 on HiKey board (rebased to synopsys-usb/next)

John Stultz lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 8 repliesIn review
  2. v2 posting 2/25 patches 8 repliesSuperseded
  3. v2 RFC posting 1/25 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 RFC5 patches4 repliesSuperseded

v2 from the cover letter

* Reworked goto logic in patch #2, as suggested by Vardan v3:
* Rebased to synopsys-usb/next

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4usb: dwc2: Avoid sleeping while holding hsotg->lockdrivers/usb/dwc2/core.c drivers/usb/dwc2/core.h drivers/usb/dwc2/gadget.c+5 -54 replies
2/4usb: dwc2: Workaround case where GOTGCTL state is wrongdrivers/usb/dwc2/hcd.c+9 -00 replies
3/4usb: dwc2: Force port resume on switching to device modedrivers/usb/dwc2/hcd.c+7 -00 replies
4/4usb: dwc2: Add a quirk to allow speed negotiation for Hisilicon Hi6220drivers/usb/dwc2/core.h drivers/usb/dwc2/hcd.c drivers/usb/dwc2/params.c+68 -00 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJohn YounVardan Mikayelyan
SeriesA-b
1/4
2/4A-b R-b
3/4
4/4

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

Read the v3 thread

Cover letter [PATCH 0/4 v3] Fixes and workarounds for dwc2 on HiKey board (rebased to synopsys-usb/next)

Just wanted to resend my patches for dwc2 controller on the HiKey board for consideration for the 4.11 merge window.

This patchset is the same as v2, only rebased against John's synopsys-usb/next branch.

This does still exclude my patchset[1] to add extcon support to dwc2, which John Youn suspects a pending rework of the dwc2 fifo init logic might make unnecssary.

thanks
-john

[1] https://lkml.org/lkml/2016/12/6/69

v2:
* Reworked goto logic in patch #2, as suggested by Vardan v3:
* Rebased to synopsys-usb/next

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 Chen Yu <[email protected]>
Cc Vardan Mikayelyan <[email protected]>
Cc Kishon Vijay Abraham I <[email protected]>
Cc Felipe Balbi <[email protected]>
Cc Greg Kroah-Hartman <[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

John Stultz (2):
usb: dwc2: Avoid sleeping while holding hsotg->lock
usb: dwc2: Workaround case where GOTGCTL state is wrong

 drivers/usb/dwc2/core.c   |  6 ++--
 drivers/usb/dwc2/core.h   |  9 +++++-
 drivers/usb/dwc2/gadget.c |  2 +-
 drivers/usb/dwc2/hcd.c    | 76 +++++++++++++++++++++++++++++++++++++++++++++++
 drivers/usb/dwc2/params.c |  1 +
 5 files changed, 89 insertions(+), 5 deletions(-)
Signature · 1 line
2.7.4