Skip to content

Commit

Permalink
dt-bindings: usb: dwc2: add optional usb-role-switch property
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
ADESTM authored and felipebalbi committed Oct 2, 2020
1 parent e2c5351 commit 14793fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Documentation/devicetree/bindings/usb/dwc2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ properties:
dr_mode:
enum: [host, peripheral, otg]

usb-role-switch:
$ref: /schemas/types.yaml#/definitions/flag
description: Support role switch.

g-rx-fifo-size:
$ref: /schemas/types.yaml#/definitions/uint32
description: size of rx fifo size in gadget mode.
Expand Down

0 comments on commit 14793fa

Please sign in to comment.