mirror of
https://github.com/torvalds/linux.git
synced 2026-12-02 19:42:26 +00:00
dt-bindings: usb: generic: Add role-switch-default-mode 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 <[email protected]> Cc: Rob Herring <[email protected]> Cc: Mark Rutland <[email protected]> CC: ShuFan Lee <[email protected]> Cc: Heikki Krogerus <[email protected]> Cc: Suzuki K Poulose <[email protected]> Cc: Chunfeng Yun <[email protected]> Cc: Yu Chen <[email protected]> Cc: Felipe Balbi <[email protected]> Cc: Hans de Goede <[email protected]> Cc: Andy Shevchenko <[email protected]> Cc: Jun Li <[email protected]> Cc: Valentin Schneider <[email protected]> Cc: Guillaume Gardet <[email protected]> Cc: Jack Pham <[email protected]> Cc: Bryan O'Donoghue <[email protected]> Cc: [email protected] Cc: [email protected] Reviewed-by: Rob Herring <[email protected]> Signed-off-by: John Stultz <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
This commit is contained in:
committed by
Felipe Balbi
parent
8a0a137997
commit
dd2d0d1fac
@@ -35,6 +35,12 @@ 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-mode: indicating if usb-role-switch is enabled, the
|
||||
device default operation mode of controller while usb
|
||||
role is USB_ROLE_NONE. Valid arguments are "host" and
|
||||
"peripheral". Defaults to "peripheral" if not
|
||||
specified.
|
||||
|
||||
|
||||
This is an attribute to a USB controller such as:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user