usb: dwc3: Workaround isoc start_transfer failure
Subsystems (2)
v6 cover usb: dwc3: Workaround isoc start_transfer failure
DWC_usb31 peripheral v1.70a-ea06 and prior needs a SW workaround for isoc START TRANSFER command failure. This patch series implements that workaround
Change in v6:
- Defined more version types in "usb: dwc3: Track DWC_usb31 VERSIONTYPE"
- Minor cleanup/fix in "usb: dwc3: Add workaround for isoc start transfer failure"
Change in v5:
- Splitted and resent from an old patch series
- Cleanup and fixed review issues
Change in v4:
- None
Change in v3:
- None
Change in v2:
- None
Thinh Nguyen (3):
usb: dwc3: Track DWC_usb31 VERSIONTYPE
usb: dwc3: Add disabling of start_transfer failure quirk
usb: dwc3: Add workaround for isoc start transfer failure
Documentation/devicetree/bindings/usb/dwc3.txt | 3 + drivers/usb/dwc3/core.c | 3 + drivers/usb/dwc3/core.h | 23 +++++ drivers/usb/dwc3/gadget.c | 131 +++++++++++++++++++++++++ 4 files changed, 160 insertions(+)
Signature · 1 line
2.11.0
PATCH v6 2/3 usb: dwc3: Add disabling of start_transfer failure quirk
DWC_usb31 peripheral v1.70a-ea06 and prior needs a SW workaround for isoc START TRANSFER command failure. However, some affected versions may have RTL patches to fix this without a SW workaround. Add this quirk to disable the SW workaround when it is not needed.
Synopsys STAR 9001202023: Wrong microframe number for isochronous IN endpoints.
--- Documentation/devicetree/bindings/usb/dwc3.txt | 3 +++ 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/usb/dwc3.txt +3 -0
@@ -37,6 +37,9 @@ Optional properties: - phy-names: from the *Generic PHY* bindings; supported names are "usb2-phy" or "usb3-phy". - resets: a single pair of phandle and reset specifier + - snps,dis-start-transfer-quirk: when set, disable isoc START TRANSFER command + failure SW work-around for DWC_usb31 version 1.70a-ea06 + and prior. - snps,usb3_lpm_capable: determines if platform is USB3 LPM capable - snps,disable_scramble_quirk: true when SW should disable data scrambling. Only really useful for FPGA builds.
Signature · 1 line
2.11.0
Re: [PATCH v6 2/3] usb: dwc3: Add disabling of start_transfer failure quirk
Quoted 5 lines · Thinh Nguyen
DWC_usb31peripheral v1.70a-ea06 and prior needs a SW workaround for isoc START TRANSFER command failure. However, some affected versions may have RTL patches to fix this without a SW workaround. Add this quirk to disable the SW workaround when it is not needed.
Quoted 7 lines
Synopsys STAR 9001202023: Wrong microframe number for isochronous IN endpoints.
Signed-off-by Thinh Nguyen <[email protected]>--- Documentation/devicetree/bindings/usb/dwc3.txt | 3 +++ 1 file changed, 3 insertions(+)
Re: [PATCH v6 2/3] usb: dwc3: Add disabling of start_transfer failure quirk
In reply to Thinh NguyenQuoted 9 lines · Thinh Nguyen
DWC_usb31peripheral v1.70a-ea06 and prior needs a SW workaround for isoc START TRANSFER command failure. However, some affected versions may have RTL patches to fix this without a SW workaround. Add this quirk to disable the SW workaround when it is not needed.Synopsys STAR 9001202023: Wrong microframe number for isochronous IN endpoints.
Signed-off-by Thinh Nguyen <[email protected]>
unfortunately, does't apply to testing/next. Could you rebase??
checking file Documentation/devicetree/bindings/usb/dwc3.txt Hunk #1 FAILED at 37.
1 out of 1 hunk FAILED
(patch 1/3 is applied, though)
Signature · 1 line
balbi
Re: [PATCH v6 2/3] usb: dwc3: Add disabling of start_transfer failure quirk
Hi,
Quoted 7 lines · Felipe Balbi
Quoted 5 lines · Thinh Nguyen
DWC_usb31peripheral v1.70a-ea06 and prior needs a SW workaround for isoc START TRANSFER command failure. However, some affected versions may have RTL patches to fix this without a SW workaround. Add this quirk to disable the SW workaround when it is not needed.
Quoted 6 lines
Quoted 4 lines
Synopsys STAR 9001202023: Wrong microframe number for isochronous IN endpoints.
Signed-off-by Thinh Nguyen <[email protected]>unfortunately, does't apply to testing/next. Could you rebase??
Done.
Thanks,
Thinh