diff options
author | Fabrice Gasnier <fabrice.gasnier@foss.st.com> | 2021-12-06 16:56:41 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-17 16:52:51 +0100 |
commit | 942cdbc168d44730c5b3349198b16b4d6da3bb81 (patch) | |
tree | 41552f72b16196a05f4c859720c03e634cbb6fa3 | |
parent | d538ea945532d0d3bd04192543b285e6979d9e8f (diff) |
dt-bindings: usb: document role-switch-default-mode property in dwc2
role-switch-default-mode property may be used with usb-role-switch
property to define the default operation mode (by forcing the a-valid or
b-valid) at init.
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Link: https://lore.kernel.org/r/1638806203-6624-2-git-send-email-fabrice.gasnier@foss.st.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | Documentation/devicetree/bindings/usb/dwc2.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/dwc2.yaml b/Documentation/devicetree/bindings/usb/dwc2.yaml index 94e7276decb5..f00867ebc147 100644 --- a/Documentation/devicetree/bindings/usb/dwc2.yaml +++ b/Documentation/devicetree/bindings/usb/dwc2.yaml @@ -114,6 +114,8 @@ properties: usb-role-switch: true + role-switch-default-mode: true + g-rx-fifo-size: $ref: /schemas/types.yaml#/definitions/uint32 description: size of rx fifo size in gadget mode. @@ -145,6 +147,7 @@ properties: dependencies: port: [ usb-role-switch ] + role-switch-default-mode: [ usb-role-switch ] required: - compatible |