diff mbox series

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

Message ID 20220218161522.52044-3-krzysztof.kozlowski@canonical.com (mailing list archive)
State Accepted
Commit 4b9ff41f22d69f06dd6bfc929eec0f2a1f05789c
Headers show
Series [1/4] dt-bindings: usb: dwc2: fix compatible of Intel Agilex | 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(+)

Comments

Rob Herring Feb. 22, 2022, 10 p.m. UTC | #1
On Fri, 18 Feb 2022 17:15:21 +0100, Krzysztof Kozlowski wrote:
> 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(+)
> 

Acked-by: Rob Herring <robh@kernel.org>
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