OSDN Git Service

arm64: dts: qcom: sm8350-mtp: enable USB nodes
authorJack Pham <jackp@codeaurora.org>
Thu, 4 Feb 2021 17:09:04 +0000 (22:39 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 12 Mar 2021 02:22:39 +0000 (20:22 -0600)
commit054b40a6111ffffc5aaadf0551f0e13b8dd41d7e
treef5684cfeae91c0bcebe180578efbcb6e0d0b6798
parente780fb318fe5e77b8193c17d1c96fdb8e61c711d
arm64: dts: qcom: sm8350-mtp: enable USB nodes

Enable both USB controllers and associated hsphy and qmp phy nodes
on sm8350 MTP. Designate the usb_1 instance as peripheral-mode only
until proper PMIC based Type-C dual-role handling is supported.

TODO: the second USB controller is exposed to a microAB port. Dual-
role can be supported for this by adding the "usb-role-switch"
property as well as defining a USB connector node with a
"gpio-usb-b-connector" compatible. However, this requires GPIO
support from PM8350 which is still missing.

Signed-off-by: Jack Pham <jackp@codeaurora.org>
Link: https://lore.kernel.org/r/20210116013802.1609-3-jackp@codeaurora.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20210204170907.63545-4-vkoul@kernel.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/sm8350-mtp.dts