[PATCH 0/5 v2] Fixes and workarounds for dwc2 on HiKey board
From: John Stultz
Date: Tue Jan 03 2017 - 14:53:03 EST
Hope everyone had a happy new years!
I just wanted to send out my current queue of patches for dwc2
controller on the HiKey board for consideration for the 4.11
merge window.
This does 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.
Any feedback would be greatly appreciated!
thanks
-john
[1] https://lkml.org/lkml/2016/12/6/69
New in v2:
* Reworked goto logic in patch #2, as suggested by Vardan
Cc: Wei Xu <xuwei5@xxxxxxxxxxxxx>
Cc: Guodong Xu <guodong.xu@xxxxxxxxxx>
Cc: Amit Pundir <amit.pundir@xxxxxxxxxx>
Cc: Rob Herring <robh+dt@xxxxxxxxxx>
Cc: John Youn <johnyoun@xxxxxxxxxxxx>
Cc: Vardan Mikayelyan <Vardan.Mikayelyan@xxxxxxxxxxxx>
Cc: Douglas Anderson <dianders@xxxxxxxxxxxx>
Cc: Chen Yu <chenyu56@xxxxxxxxxx>
Cc: Kishon Vijay Abraham I <kishon@xxxxxx>
Cc: Felipe Balbi <felipe.balbi@xxxxxxxxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Cc: linux-usb@xxxxxxxxxxxxxxx
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 (3):
usb: dwc2: Avoid sleeping while holding hsotg->lock
usb: dwc2: Workaround case where GOTGCTL state is wrong
usb: dwc2: Avoid suspending if we're in gadget mode
drivers/usb/dwc2/core.c | 6 ++--
drivers/usb/dwc2/core.h | 9 +++++-
drivers/usb/dwc2/gadget.c | 2 +-
drivers/usb/dwc2/hcd.c | 79 +++++++++++++++++++++++++++++++++++++++++++++++
drivers/usb/dwc2/params.c | 19 ++++++++++++
5 files changed, 110 insertions(+), 5 deletions(-)
--
2.7.4