[PATCH 0/3] Enable USB type C support on SM8150

From: Wesley Cheng
Date: Fri Jul 31 2020 - 00:57:24 EST


This series adds support for setting of the orientation multiplexor within the
QMP PHY based on the detection output from the PM8150B. It will also introduce
a role switch in DWC3 QCOM, which is used so that the DWC3 QCOM glue can receive
role switch change events, and set the vbus override accordingly. This event
will then be propagated down to the DWC3 core driver, by the DWC3 QCOM getting a
handle to the DWC3 core's role switch.

Wesley Cheng (3):
arm64: boot: dts: qcom: sm8150: Add nodes for PMIC based typec
detection
phy: qcom-qmp: Register as a typec switch for orientation detection
usb: dwc3: dwc3-qcom: Find USB connector and register role switch

arch/arm64/boot/dts/qcom/sm8150-mtp.dts | 37 ++++++++-
drivers/phy/qualcomm/Kconfig | 11 +++
drivers/phy/qualcomm/phy-qcom-qmp.c | 71 +++++++++++++++-
drivers/usb/dwc3/dwc3-qcom.c | 103 +++++++++++++++++++++++-
4 files changed, 216 insertions(+), 6 deletions(-)

--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project