Re: [PATCH v3 2/3] dt-bindings: usb: generic-ehci: document spurious-oc flag

2021-03-06 Thread Rob Herring
On Tue, 23 Feb 2021 18:44:54 +0100, Álvaro Fernández Rojas wrote:
> 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.
> 
> Signed-off-by: Álvaro Fernández Rojas 
> ---
>  v3: no changes.
>  v2: change flag name and improve documentation as suggested by Alan Stern.
> 
>  Documentation/devicetree/bindings/usb/generic-ehci.yaml | 6 ++
>  1 file changed, 6 insertions(+)
> 

Acked-by: Rob Herring 


Re: [PATCH v3 2/3] dt-bindings: usb: generic-ehci: document spurious-oc flag

2021-02-23 Thread Álvaro Fernández Rojas
I didn’t change this, but I missed Alan’s Acked-by, so:
Acked-by: Alan Stern 

> El 23 feb 2021, a las 18:44, Álvaro Fernández Rojas  
> escribió:
> 
> 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.
> 
> Signed-off-by: Álvaro Fernández Rojas 
> ---
> v3: no changes.
> v2: change flag name and improve documentation as suggested by Alan Stern.
> 
> Documentation/devicetree/bindings/usb/generic-ehci.yaml | 6 ++
> 1 file changed, 6 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/usb/generic-ehci.yaml 
> b/Documentation/devicetree/bindings/usb/generic-ehci.yaml
> index cf83f2d9afac..8089dc956ba3 100644
> --- a/Documentation/devicetree/bindings/usb/generic-ehci.yaml
> +++ b/Documentation/devicetree/bindings/usb/generic-ehci.yaml
> @@ -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:
> -- 
> 2.20.1
> 



[PATCH v3 2/3] dt-bindings: usb: generic-ehci: document spurious-oc flag

2021-02-23 Thread Álvaro Fernández Rojas
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.

Signed-off-by: Álvaro Fernández Rojas 
---
 v3: no changes.
 v2: change flag name and improve documentation as suggested by Alan Stern.

 Documentation/devicetree/bindings/usb/generic-ehci.yaml | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/usb/generic-ehci.yaml 
b/Documentation/devicetree/bindings/usb/generic-ehci.yaml
index cf83f2d9afac..8089dc956ba3 100644
--- a/Documentation/devicetree/bindings/usb/generic-ehci.yaml
+++ b/Documentation/devicetree/bindings/usb/generic-ehci.yaml
@@ -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:
-- 
2.20.1