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@xxxxxxxxxxxxxxxxx> --- Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.29.0