Skip to contentSkip to conversation

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

PATCH In review Thierry Reding 2 participants 2 messages Nov 3, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: usb: usb-drd: Describe default dual-role mode

From: Thierry Reding <[email protected]>

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.

---
 Documentation/devicetree/bindings/usb/usb-drd.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/usb/usb-drd.yaml +1 -0
index 1567549b05ce..114fb5dc0498 100644
@@ -27,6 +27,7 @@ properties:
       should default to OTG.
     $ref: /schemas/types.yaml#/definitions/string
     enum: [host, peripheral, otg]
+    default: otg
 
   hnp-disable:
     description:
Signature · 1 line
2.38.1
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · Thierry Reding

From: Thierry Reding <[email protected]>

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.

---
 Documentation/devicetree/bindings/usb/usb-drd.yaml | 1 +
 1 file changed, 1 insertion(+)

Best regards,
Krzysztof