lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240927072557.74194-2-michael@allwinnertech.com>
Date: Fri, 27 Sep 2024 15:25:57 +0800
From: Michael Wu <michael@...winnertech.com>
To: gregkh@...uxfoundation.org,
	robh@...nel.org,
	krzk+dt@...nel.org,
	conor+dt@...nel.org,
	Thinh.Nguyen@...opsys.com,
	balbi@...nel.org
Cc: linux-usb@...r.kernel.org,
	devicetree@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: [PATCH 2/2] dt-bindings: usb: snps,dwc3: Add 'snps,inv-sync-hdr-quirk' quirk

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@...winnertech.com>
---
 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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ