phy: qcom-qmp-pcie: support SM8150 PCIe QMP PHYs
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sun, 20 Aug 2023 14:20:24 +0000 (17:20 +0300)
committerVinod Koul <vkoul@kernel.org>
Tue, 22 Aug 2023 14:03:37 +0000 (19:33 +0530)
Reuse sm8250 configuration to add support for both single lane and dual
lane PCIe PHYs on the Qualcomm SM8150 platform.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20230820142035.89903-8-dmitry.baryshkov@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c

index 565764c..a63ca74 100644 (file)
@@ -3751,6 +3751,12 @@ static const struct of_device_id qmp_pcie_of_match_table[] = {
                .compatible = "qcom,sdx65-qmp-gen4x2-pcie-phy",
                .data = &sdx65_qmp_pciephy_cfg,
        }, {
+               .compatible = "qcom,sm8150-qmp-gen3x1-pcie-phy",
+               .data = &sm8250_qmp_gen3x1_pciephy_cfg,
+       }, {
+               .compatible = "qcom,sm8150-qmp-gen3x2-pcie-phy",
+               .data = &sm8250_qmp_gen3x2_pciephy_cfg,
+       }, {
                .compatible = "qcom,sm8250-qmp-gen3x1-pcie-phy",
                .data = &sm8250_qmp_gen3x1_pciephy_cfg,
        }, {