xref: /linux/Documentation/ABI/testing/sysfs-platform-renesas_usb3 (revision cdd38c5f1ce4398ec58fec95904b75824daab7b5)
1cc995c9eSYoshihiro ShimodaWhat:		/sys/devices/platform/<renesas_usb3's name>/role
2cc995c9eSYoshihiro ShimodaDate:		March 2017
3cc995c9eSYoshihiro ShimodaKernelVersion:	4.13
4cc995c9eSYoshihiro ShimodaContact:	Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
5cc995c9eSYoshihiro ShimodaDescription:
6cc995c9eSYoshihiro Shimoda		This file can be read and write.
7cc995c9eSYoshihiro Shimoda		The file can show/change the drd mode of usb.
8cc995c9eSYoshihiro Shimoda
9cc995c9eSYoshihiro Shimoda		Write the following string to change the mode:
10*54a19b4dSMauro Carvalho Chehab
11*54a19b4dSMauro Carvalho Chehab		- "host" - switching mode from peripheral to host.
12*54a19b4dSMauro Carvalho Chehab		- "peripheral" - switching mode from host to peripheral.
13cc995c9eSYoshihiro Shimoda
14cc995c9eSYoshihiro Shimoda		Read the file, then it shows the following strings:
15*54a19b4dSMauro Carvalho Chehab
16*54a19b4dSMauro Carvalho Chehab		- "host" - The mode is host now.
17*54a19b4dSMauro Carvalho Chehab		- "peripheral" - The mode is peripheral now.
18