All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Add UFS PHY support for SM6115/4250
@ 2021-08-21 15:56 ` Iskren Chernev
  0 siblings, 0 replies; 8+ messages in thread
From: Iskren Chernev @ 2021-08-21 15:56 UTC (permalink / raw)
  To: Bjorn Andersson, Vinod Koul
  Cc: Andy Gross, Kishon Vijay Abraham I, Rob Herring, devicetree,
	linux-arm-msm, linux-kernel, linux-phy, phone-devel,
	~postmarketos/upstreaming, Iskren Chernev

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
-- 
2.32.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-08-23  5:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-21 15:56 [PATCH v3 0/2] Add UFS PHY support for SM6115/4250 Iskren Chernev
2021-08-21 15:56 ` Iskren Chernev
2021-08-21 15:56 ` [PATCH v3 1/2] dt-bindings: phy: qcom,qmp: Add SM6115 UFS PHY bindings Iskren Chernev
2021-08-21 15:56   ` [PATCH v3 1/2] dt-bindings: phy: qcom, qmp: " Iskren Chernev
2021-08-21 15:56 ` [PATCH v3 2/2] phy: qcom-qmp: Add support for SM6115 UFS phy Iskren Chernev
2021-08-21 15:56   ` Iskren Chernev
2021-08-23  5:43 ` [PATCH v3 0/2] Add UFS PHY support for SM6115/4250 Vinod Koul
2021-08-23  5:43   ` Vinod Koul

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.