xref: /linux/Documentation/ABI/testing/sysfs-platform-phy-rcar-gen3-usb2 (revision 48dea9a700c8728cc31a1dd44588b97578de86ee)
1What:		/sys/devices/platform/<phy-name>/role
2Date:		October 2016
3KernelVersion:	4.10
4Contact:	Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
5Description:
6		This file can be read and write.
7		The file can show/change the phy mode for role swap of usb.
8
9		Write the following strings to change the mode:
10		 "host" - switching mode from peripheral to host.
11		 "peripheral" - switching mode from host to peripheral.
12
13		Read the file, then it shows the following strings:
14		 "host" - The mode is host now.
15		 "peripheral" - The mode is peripheral now.
16