Skip to content

Add SS/HS-USB changes for Qualcomm SM8150 chipset

Wesley Cheng linux-arm-msm linux-devicetree lkml 10 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v9 Latest5 patches 0 repliesNew
  2. v85 patches 4 repliesApplied
  3. v75 patches 0 repliesSuperseded
Earlier versions · 7
VersionPostedPatchesRepliesStatus
v65 patches3 repliesSuperseded
v3 posting 2/24 patches5 repliesSuperseded
v55 patches2 repliesSuperseded
v44 patches6 repliesSuperseded
v3 posting 1/24 patches1 replySuperseded
v24 patches2 repliesSuperseded
v14 patches2 repliesSuperseded

Changes in v9 from the cover letter

- Fixed missing required regulators in DT bindings file

Patches in v9 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5dt-bindings: phy: Add binding for qcom,usb-snps-femto-v2Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml+80 -00 replies
2/5phy: qcom-snps: Add SNPS USB PHY driver for QCOM based SOCsdrivers/phy/qualcomm/Kconfig drivers/phy/qualcomm/Makefile drivers/phy/qualcomm/phy-qcom-snps-femto-v2.c+298 -00 replies
3/5phy: qcom-qmp: Add SM8150 QMP USB3 PHY supportdrivers/phy/qualcomm/phy-qcom-qmp.c drivers/phy/qualcomm/phy-qcom-qmp.h+349 -20 replies
4/5phy: qcom-qmp: Use proper PWRDOWN offset for sm8150 USBdrivers/phy/qualcomm/phy-qcom-qmp.c+19 -40 replies
5/5phy: qcom-qmp: Rename UFS PCS QMP v4 registersdrivers/phy/qualcomm/phy-qcom-qmp.c drivers/phy/qualcomm/phy-qcom-qmp.h+30 -300 replies

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRob HerringVinod KoulPhilipp ZabelManu GautamStephen Boyd
SeriesR-b R-b
1/5R-b R-b
2/5R-b R-b R-b R-b
3/5R-b
4/5R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v9 thread

Cover letter [PATCH v9 0/5] Add SS/HS-USB changes for Qualcomm SM8150 chipset

This series adds support for the Synopsis 7nm HSPHY USB driver being used in QCOM chipsets. The HSPHY register map differs compared to other PHY revisions. In addition, modifications and updates are done to the QMP driver to add new registers/offsets, and to update the initialization sequence for enabling the SSUSB path on SM8150.

Changes in v9:
- Fixed missing required regulators in DT bindings file

Changes in v8:
- Fix checkpatch warnings about characters per line.
- Rebase to linux-phy/next branch

Changes in v7:
- Use _relaxed() variants for writel/readl calls in phy-qcom-snps-femto-v2.c
- Remove comments in the phy init function
- Use devm_platform_ioremap_resource instead of devm_ioremap_resource
- Fix chipset naming in Kconfig
- Address minor fixups in the YAML file (remove status in example, fix "Hi-speed" to "High-speed", add a newline at the end)

Changes in v6:
- Addressed coding style errors in phy-qcom-snps-femto-v2.c

Changes in v5:
- Reorganize IF check for when to use the proper PWRDOWN CTRL offset
- Rename UFS specific offset definitions in the QMP PHY driver to clearly denote they are UFS specific
- Rename the phy-qcom-snps-7nm driver to phy-qcom-snps-femto-v2

Changes in v4:
- Fix POWERDOWN offset for QMP PHY exit routine, and check for has_phy_dp_com_ctrl instead of !has_phy_com_ctrl

Changes in v3:
- Use devm_reset_control_get_exclusive instead of referencing index for reset handle

Changes in v2:
- Fixed YAML errors caught by dt_binding_check

Jack Pham (1):
phy: qcom-qmp: Add SM8150 QMP USB3 PHY support

Wesley Cheng (4):
dt-bindings: phy: Add binding for qcom,usb-snps-femto-v2
phy: qcom-snps: Add SNPS USB PHY driver for QCOM based SOCs
phy: qcom-qmp: Use proper PWRDOWN offset for sm8150 USB
phy: qcom-qmp: Rename UFS PCS QMP v4 registers

 .../bindings/phy/qcom,usb-snps-femto-v2.yaml       |  80 ++++++
 drivers/phy/qualcomm/Kconfig                       |  10 +
 drivers/phy/qualcomm/Makefile                      |   1 +
 drivers/phy/qualcomm/phy-qcom-qmp.c                | 196 +++++++++++++-
 drivers/phy/qualcomm/phy-qcom-qmp.h                | 238 +++++++++++++++--
 drivers/phy/qualcomm/phy-qcom-snps-femto-v2.c      | 287 +++++++++++++++++++++
 6 files changed, 776 insertions(+), 36 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml
 create mode 100644 drivers/phy/qualcomm/phy-qcom-snps-femto-v2.c
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project