diff mbox series

[3/4] dt-bindings: usb: dwc2: add disable-over-current

Message ID 20220218161522.52044-3-krzysztof.kozlowski@canonical.com
State Accepted
Commit 4b9ff41f22d69f06dd6bfc929eec0f2a1f05789c
Headers show
Series None | expand

Commit Message

Krzysztof Kozlowski Feb. 18, 2022, 4:15 p.m. UTC
The driver parses disable-over-current protection and some
implementations use it (e.g. Altera Stratix10), so document it in the
bindings.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 Documentation/devicetree/bindings/usb/dwc2.yaml | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/usb/dwc2.yaml b/Documentation/devicetree/bindings/usb/dwc2.yaml
index 1ba96706bbcb..1addab83f4fd 100644
--- a/Documentation/devicetree/bindings/usb/dwc2.yaml
+++ b/Documentation/devicetree/bindings/usb/dwc2.yaml
@@ -68,6 +68,10 @@  properties:
     items:
       - const: otg
 
+  disable-over-current:
+    type: boolean
+    description: whether to disable detection of over-current condition.
+
   iommus:
     maxItems: 1