Skip to content

Add UFS PHY support for SM6115/4250

Iskren Chernev linux-arm-msm linux-devicetree linux-phy lkml phone-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyIn review
  2. v22 patches 1 replySuperseded
  3. v12 patches 5 repliesSuperseded

Changes in v3 from the cover letter

- Suggested by Vinod
- the 6115 registers had a lot in common with v2 registers (and not v3, as was initially assumed), so those were reused whenever possible, and new regs were added along other v2 registers.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: phy: qcom,qmp: Add SM6115 UFS PHY bindingsDocumentation/devicetree/bindings/phy/qcom,qmp-phy.yaml+1 -00 replies
2/2phy: qcom-qmp: Add support for SM6115 UFS phydrivers/phy/qualcomm/phy-qcom-qmp.c drivers/phy/qualcomm/phy-qcom-qmp.h+142 -00 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] Add UFS PHY support for SM6115/4250

The UFS PHY found on SM6115/4250 has a lot of common registers with ufs phy v2, even though in downstream it is named v3-660. Due to register similarity with v2, the few extra registers that are needed are added as v2 registers.

The register values/sequences are taken from OnePlus repo [1].

[1] https://github.com/OnePlusOSS/android_kernel_oneplus_sm4250

v1: https://lkml.org/lkml/2021/8/5/235
v2: https://lkml.org/lkml/2021/8/13/889

Changes from v2:
- Suggested by Vinod
- the 6115 registers had a lot in common with v2 registers (and not v3, as was initially assumed), so those were reused whenever possible, and new regs were added along other v2 registers.

Changes from v1:
- Suggested by Vinod
- removed v3-660 constants for regs with same name and value as v3 regs

Iskren Chernev (2):
dt-bindings: phy: qcom,qmp: Add SM6115 UFS PHY bindings
phy: qcom-qmp: Add support for SM6115 UFS phy

 .../devicetree/bindings/phy/qcom,qmp-phy.yaml |   1 +
 drivers/phy/qualcomm/phy-qcom-qmp.c           | 124 ++++++++++++++++++
 drivers/phy/qualcomm/phy-qcom-qmp.h           |  18 +++
 3 files changed, 143 insertions(+)

base-commit: 86ed57fd8c93fdfaabb4f58e78455180fa7d8a84

Signature · 1 line
2.32.0