Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.11-rc1 17 lines 563 B view raw
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 11 - "host" - switching mode from peripheral to host. 12 - "peripheral" - switching mode from host to peripheral. 13 14 Read the file, then it shows the following strings: 15 16 - "host" - The mode is host now. 17 - "peripheral" - The mode is peripheral now.