]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
usb: dwc3: Add disabling of start_transfer failure quirk
authorThinh Nguyen <thinh.nguyen@synopsys.com>
Thu, 15 Nov 2018 06:56:48 +0000 (22:56 -0800)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 26 Nov 2018 07:06:32 +0000 (09:06 +0200)
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.

Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Documentation/devicetree/bindings/usb/dwc3.txt

index 7e33e53e7c294938936de02baaf0e586c630c94e..8e5265e9f6585c3d5cc9f2605246329f60d85c14 100644 (file)
@@ -39,6 +39,9 @@ Optional properties:
  - resets: a single pair of phandle and reset specifier
  - snps,usb2-lpm-disable: indicate if we don't want to enable USB2 HW LPM
  - snps,usb3_lpm_capable: determines if platform is USB3 LPM capable
+ - 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,disable_scramble_quirk: true when SW should disable data scrambling.
        Only really useful for FPGA builds.
  - snps,has-lpm-erratum: true when DWC3 was configured with LPM Erratum enabled