Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: 4ec5183ec48656cec489c49f989c508b68b518e3 authored by Linus Torvalds on 05 February 2023, 21:13:28 UTC
Linux 6.2-rc7
Tip revision: 4ec5183
sysfs-platform-chipidea-usb2
What:		/sys/bus/platform/devices/ci_hdrc.0/role
Date:		Mar 2017
Contact:	Peter Chen <peter.chen@nxp.com>
Description:
		When read, it returns string "gadget" or "host", indicating
		the current controller role.

		It will do role switch when "gadget" or "host" is written to it.
		Only controller at dual-role configuration supports writing.
back to top