diff mbox series

[2/2] dt-bindings: usb: snps,dwc3: Add 'snps,inv-sync-hdr-quirk' quirk

Message ID 20240927072557.74194-2-michael@allwinnertech.com
State New
Headers show
Series None | expand

Commit Message

Michael Wu Sept. 27, 2024, 7:25 a.m. UTC
Added the new 'snps,inv-sync-hdr-quirk' DT property to dwc3 core for Gen2
polarity detection.

The link uses data block (0011b) sync header for SYNC OS instead of control
block (1100b). Set this quirk if the third-party PHY does not correct the
sync header of the SYNC OS in the case of inverse polarity.

Signed-off-by: Michael Wu <michael@allwinnertech.com>
---
 Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
index 1cd0ca90127d9..e5ed5cca1cf25 100644
--- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
+++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
@@ -280,6 +280,12 @@  properties:
       asserts utmi_sleep_n.
     type: boolean
 
+  snps,inv-sync-hdr-quirk:
+    description:
+      Set if the third-party PHY does not correct the sync header of the
+      SYNC OS in the case of inverse polarity.
+    type: boolean
+
   snps,hird-threshold:
     description: HIRD threshold
     $ref: /schemas/types.yaml#/definitions/uint8