Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
16 lines
553 B
Plaintext
16 lines
553 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.
|