summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2022-02-18 17:15:21 +0100
committerDinh Nguyen <dinguyen@kernel.org>2022-03-01 16:41:54 +0100
commit4b9ff41f22d69f06dd6bfc929eec0f2a1f05789c (patch)
tree2eabf7594917cfba60ec0842f917b731a9def9d4
parentdt-bindings: usb: dwc2: add iommus (diff)
downloadlinux-4b9ff41f22d69f06dd6bfc929eec0f2a1f05789c.tar.xz
linux-4b9ff41f22d69f06dd6bfc929eec0f2a1f05789c.zip
dt-bindings: usb: dwc2: add disable-over-current
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>
-rw-r--r--Documentation/devicetree/bindings/usb/dwc2.yaml4
1 files changed, 4 insertions, 0 deletions
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