summaryrefslogtreecommitdiff
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@nxp.com>2019-01-14 16:46:18 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 15:56:17 +0800
commit86f778d41662602d08245eb854fb260f8d5d3bc0 (patch)
tree8cab07fc0a15960fdfc3da136af3bf83a6912ed6 /Documentation/ABI
parente4cf49447137cffa30d60fa27ff6cc09e95853b9 (diff)
MLK-20754 usb: cdns3: add role switch sys entry
It is an experimental feature, and tested by internal team for Carplay feature. Signed-off-by: Peter Chen <peter.chen@nxp.com> (cherry picked from commit 270c1ea5168763a03f79c4f9ecadb2cd18dc08f9)
Diffstat (limited to 'Documentation/ABI')
-rw-r--r--Documentation/ABI/testing/sysfs-platform-cadence-usb39
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-platform-cadence-usb3 b/Documentation/ABI/testing/sysfs-platform-cadence-usb3
new file mode 100644
index 000000000000..c969518dcc30
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-platform-cadence-usb3
@@ -0,0 +1,9 @@
+What: /sys/bus/platform/devices/5b110000.usb3/role
+Date: Jan 2019
+Contact: Peter Chen <peter.chen@nxp.com>
+Description:
+ It returns string "gadget", "host" and "none" when read it,
+ it indicates current controller role.
+
+ It will do role switch when write "gadget" or "host" to it.
+ Only controller at dual-role configuration supports writing.