18c2ecf20Sopenharmony_ciWhat: /sys/devices/platform/<phy-name>/role 28c2ecf20Sopenharmony_ciDate: October 2016 38c2ecf20Sopenharmony_ciKernelVersion: 4.10 48c2ecf20Sopenharmony_ciContact: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> 58c2ecf20Sopenharmony_ciDescription: 68c2ecf20Sopenharmony_ci This file can be read and write. 78c2ecf20Sopenharmony_ci The file can show/change the phy mode for role swap of usb. 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci Write the following strings to change the mode: 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci - "host" - switching mode from peripheral to host. 128c2ecf20Sopenharmony_ci - "peripheral" - switching mode from host to peripheral. 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci Read the file, then it shows the following strings: 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci - "host" - The mode is host now. 178c2ecf20Sopenharmony_ci - "peripheral" - The mode is peripheral now. 18