arm64: dts: qcom: msm8916-ufi: make UDC dual mode
authorYang Xiwen <forbidden405@outlook.com>
Fri, 5 May 2023 16:32:51 +0000 (00:32 +0800)
committerBjorn Andersson <andersson@kernel.org>
Thu, 25 May 2023 04:50:46 +0000 (21:50 -0700)
commit06a9f50c20b5d5fcec9cb0d44b759c4183c7bbd5
treed50736846a95b32250df41c44fb8a41fcb947dc0
parenta5317b23fe6f26307f4c821d56d694c893887675
arm64: dts: qcom: msm8916-ufi: make UDC dual mode

It's possible to use this device with a (non-standard) hub to get USB
working in host mode, but dr_mode="peripheral" prevents the UDC to
do so.
Remove dr_mode="peripheral" and add usb-role-switch so that it defaults
to otg mode and can be switched to host mode in userspace.

Signed-off-by: Yang Xiwen <forbidden405@outlook.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/TYZPR04MB632102315884225B7343533B96729@TYZPR04MB6321.apcprd04.prod.outlook.com
arch/arm64/boot/dts/qcom/msm8916-ufi.dtsi