]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
dt-bindings: usb: generic-ehci: document spurious-oc flag
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Tue, 23 Feb 2021 17:44:54 +0000 (18:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Mar 2021 11:37:02 +0000 (12:37 +0100)
Over-current reporting isn't supported on some platforms such as bcm63xx.
These devices will incorrectly report over-current if this flag isn't properly
activated.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/20210223174455.1378-3-noltari@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/usb/generic-ehci.yaml

index cf83f2d9afacbcbc64f9bbc9df5de4607f39de94..8089dc956ba32bc9609f4dcee87de6b38fd0c70c 100644 (file)
@@ -122,6 +122,12 @@ properties:
     description:
       Set this flag to force EHCI reset after resume.
 
+  spurious-oc:
+    $ref: /schemas/types.yaml#/definitions/flag
+    description:
+      Set this flag to indicate that the hardware sometimes turns on
+      the OC bit when an over-current isn't actually present.
+
   companion:
     $ref: /schemas/types.yaml#/definitions/phandle
     description: