Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

scsi: ufs: qcom: add a new phy calibrate API call

Introduce a new phy calibrate API call in the UFS Qualcomm driver to
separate phy calibration from phy power-on. This change is a precursor
to the successive commits in this series, which requires these two
operations to be distinct.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Nitin Rawat <quic_nitirawa@quicinc.com>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20250526153821.7918-3-quic_nitirawa@quicinc.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Nitin Rawat and committed by
Vinod Koul
399c75b6 6767df73

+6
+6
drivers/ufs/host/ufs-qcom.c
··· 532 532 goto out_disable_phy; 533 533 } 534 534 535 + ret = phy_calibrate(phy); 536 + if (ret) { 537 + dev_err(hba->dev, "Failed to calibrate PHY: %d\n", ret); 538 + goto out_disable_phy; 539 + } 540 + 535 541 ufs_qcom_select_unipro_mode(host); 536 542 537 543 return 0;