[PATCH 2/2] dt-bindings: usb: snps,dwc3: Add 'xhci-sg-trb-cache-size-quirk'

From: Prashanth K
Date: Sat Nov 18 2023 - 00:55:54 EST


Add a new 'xhci-sg-trb-cache-size-quirk' DT quirk to dwc3 core
for preventing xhci hang issue while using SG buffers.

Signed-off-by: Prashanth K <quic_prashk@xxxxxxxxxxx>
---
Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
index ee5af4b..768fdb5 100644
--- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
+++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
@@ -459,6 +459,13 @@ properties:
description:
Enable USB remote wakeup.

+ xhci-sg-trb-cache-size-quirk:
+ description:
+ When set, fixes the SNPS xHC hang issue when the data is scattered across
+ small buffers which does not make at least MPS size for given controller
+ TRB cache size.
+ type: boolean
+
unevaluatedProperties: false

required:
--
2.7.4