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

From: Krzysztof Kozlowski
Date: Fri Feb 18 2022 - 11:15:42 EST


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@xxxxxxxxxxxxx>
---
Documentation/devicetree/bindings/usb/dwc2.yaml | 4 ++++
1 file changed, 4 insertions(+)

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

--
2.32.0