1 What: /sys/devices/platform/<phy-nam 1 What: /sys/devices/platform/<phy-name>/role 2 Date: October 2016 2 Date: October 2016 3 KernelVersion: 4.10 3 KernelVersion: 4.10 4 Contact: Yoshihiro Shimoda <yoshihiro.sh 4 Contact: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> 5 Description: 5 Description: 6 This file can be read and writ 6 This file can be read and write. 7 The file can show/change the p 7 The file can show/change the phy mode for role swap of usb. 8 8 9 Write the following strings to 9 Write the following strings to change the mode: 10 10 11 - "host" - switching mode fro 11 - "host" - switching mode from peripheral to host. 12 - "peripheral" - switching mo 12 - "peripheral" - switching mode from host to peripheral. 13 13 14 Read the file, then it shows t 14 Read the file, then it shows the following strings: 15 15 16 - "host" - The mode is host n 16 - "host" - The mode is host now. 17 - "peripheral" - The mode is 17 - "peripheral" - The mode is peripheral now.
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.