[lkml]   [2019]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[RFC][PATCH 1/3] dt-bindings: usb: generic: Add role-switch-default-host binding
Add binding to configure the default role the controller
assumes is host mode when the usb role is USB_ROLE_NONE.

Cc: Greg Kroah-Hartman <>
Cc: Rob Herring <>
Cc: Mark Rutland <>
Cc: Heikki Krogerus <>
Cc: Suzuki K Poulose <>
Cc: Chunfeng Yun <>
Cc: Yu Chen <>
Cc: Felipe Balbi <>
Cc: Hans de Goede <>
Cc: Andy Shevchenko <>
Cc: Jun Li <>
Cc: Valentin Schneider <>
Signed-off-by: John Stultz <>
Documentation/devicetree/bindings/usb/generic.txt | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/usb/generic.txt b/Documentation/devicetree/bindings/usb/generic.txt
index cf5a1ad456e6..013782fde293 100644
--- a/Documentation/devicetree/bindings/usb/generic.txt
+++ b/Documentation/devicetree/bindings/usb/generic.txt
@@ -34,6 +34,11 @@ Optional properties:
the USB data role (USB host or USB device) for a given
USB connector, such as Type-C, Type-B(micro).
see connector/usb-connector.txt.
+ - role-switch-default-host: boolean, indicating if usb-role-switch is enabled
+ the device default operation mode of controller while
+ usb role is USB_ROLE_NONE is host mode. If this is not
+ set or false, it will be assumed the default is device
+ mode.

This is an attribute to a USB controller such as:

 \ /
  Last update: 2019-10-03 01:17    [W:0.287 / U:20.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site