USB Fixes for Gadget Mode on DWC3
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 12 repliesIn review
- v12 patches 4 repliesSuperseded
Changes in v2 from the cover letter
- Take the existing dwc3_core_soft_reset() function from the upstream Linux core.c file. This necessitates including another patch to add support from upstream Linux for the ip and version_type field and accompanying macros and functions to initialize it.
- Specify the timeout changes made in the gadget driver as part of a separate patch and note the change is required.
- Remove change in dwc3_ref_clk_period() as it was not intended to be included.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | usb: dwc3: core: Add ip and version_type support from Linuxdrivers/ drivers/ | +81 | 1 reply | |
| 2/4 | usb: dwc3: Increase DWC3 controller halt timeoutdrivers/ | +2 | 1 reply | |
| 3/4 | usb: dwc3: gadget: Don't send unintended link state changedrivers/ drivers/ | +21 | 1 reply | |
| 4/4 | usb: dwc3: core: improve reset sequencedrivers/ | +39 | 8 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Mattijs Korpershoek |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V2 0/4] USB Fixes for Gadget Mode on DWC3
From: Chris Morgan <[email protected]>
In order to get gadget mode functional (for fastboot and ums) I need to pull two patches in from mainline Linux. After applying these two patches to U-Boot I am able to use ums and fastboot on my Anbernic RG353P device for testing purposes.
Changes since V1:
- Take the existing dwc3_core_soft_reset() function from the upstream Linux core.c file. This necessitates including another patch to add support from upstream Linux for the ip and version_type field and accompanying macros and functions to initialize it.
- Specify the timeout changes made in the gadget driver as part of a separate patch and note the change is required.
- Remove change in dwc3_ref_clk_period() as it was not intended to be included.
Chris Morgan (4):
usb: dwc3: core: Add ip and version_type support from Linux
usb: dwc3: Increase DWC3 controller halt timeout
usb: dwc3: gadget: Don't send unintended link state change
usb: dwc3: core: improve reset sequence
drivers/usb/dwc3/core.c | 92 +++++++++++++++++++++++++-------------- drivers/usb/dwc3/core.h | 60 +++++++++++++++++++++++++ drivers/usb/dwc3/gadget.c | 20 ++++----- drivers/usb/dwc3/gadget.h | 14 ++++++ 4 files changed, 143 insertions(+), 43 deletions(-)
Signature · 1 line
2.43.0