From: Amelie Delaunay Date: Wed, 9 Sep 2020 09:35:09 +0000 (+0200) Subject: dt-bindings: usb: dwc2: add optional usb-role-switch property X-Git-Tag: v5.10.7~1419^2~12^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=14793faeed41249638d9e5fecefd1f5aabfe3f07;p=platform%2Fkernel%2Flinux-rpi.git 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 Reviewed-by: Martin Blumenstingl Acked-by: Rob Herring Signed-off-by: Amelie Delaunay Signed-off-by: Felipe Balbi --- diff --git a/Documentation/devicetree/bindings/usb/dwc2.yaml b/Documentation/devicetree/bindings/usb/dwc2.yaml index 34ddb5c..e5ee51b 100644 --- a/Documentation/devicetree/bindings/usb/dwc2.yaml +++ b/Documentation/devicetree/bindings/usb/dwc2.yaml @@ -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.