diff mbox series

dt-bindings: usb: usb-drd: Describe default dual-role mode

Message ID 20221103115923.1467525-1-thierry.reding@gmail.com (mailing list archive)
State Accepted
Commit afb21a5155a136a2549947c151b13507a34976ae
Headers show
Series dt-bindings: usb: usb-drd: Describe default dual-role mode | expand

Commit Message

Thierry Reding Nov. 3, 2022, 11:59 a.m. UTC
From: Thierry Reding <treding@nvidia.com>

The dual-role mode default, in the absence of the dr_mode property, is
already documented to be OTG. Use the "default" property to mark it as
such more explicitly.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 Documentation/devicetree/bindings/usb/usb-drd.yaml | 1 +
 1 file changed, 1 insertion(+)

Comments

Krzysztof Kozlowski Nov. 3, 2022, 3:59 p.m. UTC | #1
On 03/11/2022 07:59, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
> 
> The dual-role mode default, in the absence of the dr_mode property, is
> already documented to be OTG. Use the "default" property to mark it as
> such more explicitly.
> 
> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
>  Documentation/devicetree/bindings/usb/usb-drd.yaml | 1 +
>  1 file changed, 1 insertion(+)


Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/usb/usb-drd.yaml b/Documentation/devicetree/bindings/usb/usb-drd.yaml
index 1567549b05ce..114fb5dc0498 100644
--- a/Documentation/devicetree/bindings/usb/usb-drd.yaml
+++ b/Documentation/devicetree/bindings/usb/usb-drd.yaml
@@ -27,6 +27,7 @@  properties:
       should default to OTG.
     $ref: /schemas/types.yaml#/definitions/string
     enum: [host, peripheral, otg]
+    default: otg
 
   hnp-disable:
     description: