Enable USB type C support on SM8150
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 0 repliesNew
- v13 patches 2 repliesSuperseded
Changes in v2 from the cover letter
- Added patch to fix a typo in dwc3_qcom_vbus_override_enable()
- Modified dwc3_qcom_find_usb_connector_match() to search the child nodes for the connector device as well
- Moved out the DRD switch remote endpoint from the connector node in the pm8150b_typec device
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | arm64: boot: dts: qcom: sm8150: Add nodes for PMIC based typec detectionarch/ | +39 | 0 replies | |
| 2/4 | phy: qcom-qmp: Register as a typec switch for orientation detectiondrivers/ drivers/ | +78 | 0 replies | |
| 3/4 | usb: dwc3: dwc3-qcom: Find USB connector and register role switchdrivers/ | +118 | 0 replies | |
| 4/4 | usb: dwc3: dwc3-qcom: Fix typo in the dwc3 vbus override APIdrivers/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/4] Enable USB type C support on SM8150
Changes in v2:
- Added patch to fix a typo in dwc3_qcom_vbus_override_enable()
- Modified dwc3_qcom_find_usb_connector_match() to search the child nodes for the connector device as well
- Moved out the DRD switch remote endpoint from the connector node in the pm8150b_typec device
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 (4):
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
usb: dwc3: dwc3-qcom: Fix typo in the dwc3 vbus override API
arch/arm64/boot/dts/qcom/sm8150-mtp.dts | 40 +++++++- drivers/phy/qualcomm/Kconfig | 11 ++ drivers/phy/qualcomm/phy-qcom-qmp.c | 70 ++++++++++++- drivers/usb/dwc3/dwc3-qcom.c | 128 ++++++++++++++++++++++-- 4 files changed, 239 insertions(+), 10 deletions(-)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project