Skip to content

Commit 14793fa

Browse files
ADESTMfelipebalbi
authored andcommitted
dt-bindings: usb: dwc2: add optional usb-role-switch property
This patch documents the usb-role-switch property in dwc2 bindings, now that usb-role-switch support is available in dwc2 driver. Acked-by: Minas Harutyunyan <[email protected]> Reviewed-by: Martin Blumenstingl <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Amelie Delaunay <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
1 parent e2c5351 commit 14793fa

File tree

1 file changed

+4
-0
lines changed
  • Documentation/devicetree/bindings/usb

1 file changed

+4
-0
lines changed

Documentation/devicetree/bindings/usb/dwc2.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ properties:
103103
dr_mode:
104104
enum: [host, peripheral, otg]
105105

106+
usb-role-switch:
107+
$ref: /schemas/types.yaml#/definitions/flag
108+
description: Support role switch.
109+
106110
g-rx-fifo-size:
107111
$ref: /schemas/types.yaml#/definitions/uint32
108112
description: size of rx fifo size in gadget mode.

0 commit comments

Comments
 (0)