Skip to content

scsi: ufs-qcom: Remove all direct calls to qcom-ufs phy

Vivek Gautam linux-arm-msm linux-scsi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3phy: qcom-ufs: Remove stale methods that handle ref clkdrivers/phy/qualcomm/phy-qcom-ufs.c include/linux/phy/phy-qcom-ufs.h+0 -642 replies
2/3scsi/ufs: qcom: Remove ufs_qcom_phy_*() calls from hostdrivers/phy/qualcomm/phy-qcom-ufs-i.h drivers/scsi/ufs/ufs-qcom.c drivers/scsi/ufs/ufs-qcom.h +1 more+2 -574 replies
3/3phy: qcom-ufs: Declare 20nm qcom ufs qmp phy as Brokendrivers/phy/qualcomm/Kconfig drivers/phy/qualcomm/Makefile+19 -21 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchBjorn AnderssonMartin K. Petersen
1/3R-b
2/3R-b A-b
3/3R-b

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

Read the v1 thread

Cover letter [PATCH 0/3] scsi: ufs-qcom: Remove all direct calls to qcom-ufs phy

Cleaning up the ufs-qcom host further to remove all direct calls into qcom-ufs driver.
Only phy-qcom-ufs-qmp-20nm phy handles these direct calls from ufs host and this phy is not used in any supported qcom platform in current kernel. So, while we free up the host from all the ufs_qcom_phy_*() API calls we should declare 20nm phy as broken.
For this we fork out couple of configs from PHY_QCOM_UFS - PHY_QCOM_UFS_14NM and PHY_QCOM_UFS_20NM out of which we declare PHY_QCOM_UFS_20NM as 'broken'.

This series helps in a clean use of ufs phy support for sdm845 and further SoCs that will also use phy-qcom-qmp phy driver.

Vivek Gautam (3):
phy: qcom-ufs: Remove stale methods that handle ref clk scsi/ufs: qcom: Remove ufs_qcom_phy_*() calls from host
phy: qcom-ufs: Declare 20nm qcom ufs qmp phy as Broken

 drivers/phy/qualcomm/Kconfig          | 17 ++++++++++++
 drivers/phy/qualcomm/Makefile         |  4 +--
 drivers/phy/qualcomm/phy-qcom-ufs-i.h |  2 +-
 drivers/phy/qualcomm/phy-qcom-ufs.c   | 50 -----------------------------------
 drivers/scsi/ufs/ufs-qcom.c           | 28 +-------------------
 drivers/scsi/ufs/ufs-qcom.h           |  5 ----
 include/linux/phy/phy-qcom-ufs.h      | 38 --------------------------
 7 files changed, 21 insertions(+), 123 deletions(-)
 delete mode 100644 include/linux/phy/phy-qcom-ufs.h
Signature · 2 lines
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation