phy: qcom-qmp: add sc8280xp UFS PHY
authorBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 25 Feb 2022 03:51:05 +0000 (19:51 -0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 2 Mar 2022 14:36:54 +0000 (20:06 +0530)
Reuse the SM8350 UFS PHY initialization sequence to add support for the
same found in the Qualcomm SC8280XP platform.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220225035105.2294599-2-bjorn.andersson@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp.c

index 8ea87c69f463d8a912ccd6b3817219f3143f2184..b144ae1f729abff071fedecb1bbe6345f4e3c868 100644 (file)
@@ -5977,6 +5977,9 @@ static const struct of_device_id qcom_qmp_phy_of_match_table[] = {
        }, {
                .compatible = "qcom,sc8180x-qmp-ufs-phy",
                .data = &sm8150_ufsphy_cfg,
+       }, {
+               .compatible = "qcom,sc8280xp-qmp-ufs-phy",
+               .data = &sm8350_ufsphy_cfg,
        }, {
                .compatible = "qcom,sc8180x-qmp-usb3-phy",
                .data = &sm8150_usb3phy_cfg,