Yoshihiro Shimoda | cc995c9 | 2017-03-31 12:58:05 +0900 | [diff] [blame] | 1 | What: /sys/devices/platform/<renesas_usb3's name>/role |
| 2 | Date: March 2017 |
| 3 | KernelVersion: 4.13 |
| 4 | Contact: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> |
| 5 | Description: |
| 6 | This file can be read and write. |
| 7 | The file can show/change the drd mode of usb. |
| 8 | |
| 9 | Write the following string to change the mode: |
| 10 | "host" - switching mode from peripheral to host. |
| 11 | "peripheral" - switching mode from host to peripheral. |
| 12 | |
| 13 | Read the file, then it shows the following strings: |
| 14 | "host" - The mode is host now. |
| 15 | "peripheral" - The mode is peripheral now. |