phy: qcom: qmp-ufs: Add SC7180 support
authorDavid Wronek <davidwronek@gmail.com>
Sun, 21 Jan 2024 16:57:45 +0000 (17:57 +0100)
committerVinod Koul <vkoul@kernel.org>
Tue, 23 Jan 2024 07:33:13 +0000 (13:03 +0530)
The SC7180 UFS PHY is identical to the one found on SM7150. Add a
compatible for it.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: David Wronek <davidwronek@gmail.com>
Link: https://lore.kernel.org/r/20240121-sm7125-upstream-v4-5-f7d1212c8ebb@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-ufs.c

index 3c2e6255e26f66d21fec72595c680e5c2cccc9c4..0276de802d786b44f3e14226c5e479e63bf60621 100644 (file)
@@ -1880,6 +1880,9 @@ static const struct of_device_id qmp_ufs_of_match_table[] = {
        }, {
                .compatible = "qcom,sa8775p-qmp-ufs-phy",
                .data = &sa8775p_ufsphy_cfg,
+       }, {
+               .compatible = "qcom,sc7180-qmp-ufs-phy",
+               .data = &sm7150_ufsphy_cfg,
        }, {
                .compatible = "qcom,sc7280-qmp-ufs-phy",
                .data = &sc7280_ufsphy_cfg,