0001 What: /sys/devices/platform/<phy-name>/role
0002 Date: October 2016
0003 KernelVersion: 4.10
0004 Contact: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
0005 Description:
0006 This file can be read and write.
0007 The file can show/change the phy mode for role swap of usb.
0008
0009 Write the following strings to change the mode:
0010
0011 - "host" - switching mode from peripheral to host.
0012 - "peripheral" - switching mode from host to peripheral.
0013
0014 Read the file, then it shows the following strings:
0015
0016 - "host" - The mode is host now.
0017 - "peripheral" - The mode is peripheral now.