OSDN Git Service

dt-bindings: usb: dwc2: add disable-over-current
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Fri, 18 Feb 2022 16:15:21 +0000 (17:15 +0100)
committerDinh Nguyen <dinguyen@kernel.org>
Tue, 1 Mar 2022 15:41:54 +0000 (09:41 -0600)
The driver parses disable-over-current protection and some
implementations use it (e.g. Altera Stratix10), so document it in the
bindings.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Documentation/devicetree/bindings/usb/dwc2.yaml

index 1ba9670..1addab8 100644 (file)
@@ -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