Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: 085b7755808aa11f78ab9377257e1dad2e6fa4bb authored by Linus Torvalds on 21 April 2019, 17:45:57 UTC
Linux 5.1-rc6
Tip revision: 085b775
sysfs-platform-chipidea-usb2
What:		/sys/bus/platform/devices/ci_hdrc.0/role
Date:		Mar 2017
Contact:	Peter Chen <peter.chen@nxp.com>
Description:
		It returns string "gadget" or "host" 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.
back to top