Back to home page

OSCL-LXR

 
 

    


0001 What:           /sys/devices/platform/<renesas_usb3's name>/role
0002 Date:           March 2017
0003 KernelVersion:  4.13
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 drd mode of usb.
0008 
0009                 Write the following string 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.