mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 20:24:12 +08:00
54a19b4d3f
There are some ABI documents that, while they don't generate any warnings, they have issues when parsed by get_abi.pl script on its output result. Address them, in order to provide a clean output. Reviewed-by: Tom Rix <trix@redhat.com> # for fpga-manager Reviewed-By: Kajol Jain<kjain@linux.ibm.com> # for sysfs-bus-event_source-devices-hv_gpci and sysfs-bus-event_source-devices-hv_24x7 Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> #for IIO Acked-by: Oded Gabbay <oded.gabbay@gmail.com> # for Habanalabs Acked-by: Vaibhav Jain <vaibhav@linux.ibm.com> # for sysfs-bus-papr-pmem Acked-by: Cezary Rojewski <cezary.rojewski@intel.com> # for catpt Acked-by: Suzuki K Poulose <suzuki.poulose@arm.com> Acked-by: Ilya Dryomov <idryomov@gmail.com> # for rbd Acked-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/5bc78e5b68ed1e9e39135173857cb2e753be868f.1604042072.git.mchehab+huawei@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
18 lines
563 B
Plaintext
18 lines
563 B
Plaintext
What: /sys/devices/platform/<phy-name>/role
|
|
Date: October 2016
|
|
KernelVersion: 4.10
|
|
Contact: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
|
|
Description:
|
|
This file can be read and write.
|
|
The file can show/change the phy mode for role swap of usb.
|
|
|
|
Write the following strings to change the mode:
|
|
|
|
- "host" - switching mode from peripheral to host.
|
|
- "peripheral" - switching mode from host to peripheral.
|
|
|
|
Read the file, then it shows the following strings:
|
|
|
|
- "host" - The mode is host now.
|
|
- "peripheral" - The mode is peripheral now.
|