diff mbox series

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

Message ID 20221103115923.1467525-1-thierry.reding@gmail.com
State New
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(+)
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: