From: Dmitry Baryshkov Date: Sun, 20 Aug 2023 14:20:24 +0000 (+0300) Subject: phy: qcom-qmp-pcie: support SM8150 PCIe QMP PHYs X-Git-Tag: v6.6-rc1~73^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4807ff70e228b5e9c6ea6c7c5651a3fd74a5cfda;p=thirdparty%2Fkernel%2Flinux.git phy: qcom-qmp-pcie: support SM8150 PCIe QMP PHYs 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 Link: https://lore.kernel.org/r/20230820142035.89903-8-dmitry.baryshkov@linaro.org Signed-off-by: Vinod Koul --- diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-pcie.c b/drivers/phy/qualcomm/phy-qcom-qmp-pcie.c index 565764c5ffeb7..a63ca74249745 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp-pcie.c +++ b/drivers/phy/qualcomm/phy-qcom-qmp-pcie.c @@ -3750,6 +3750,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,