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.

phy: qcom: qmp-pcie: Add support for Glymur PCIe Gen4x2 PHY

Glymur platform has two Gen4 2-lanes controllers, the fourth and
sixth instances. Add support for their PHYs.

Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://patch.msgid.link/20251224-phy-qcom-pcie-add-glymur-v3-2-57396145bc22@oss.qualcomm.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Abel Vesa and committed by
Vinod Koul
085ba7c9 25671c37

+19
+19
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c
··· 4632 4632 .phy_status = PHYSTATUS_4_20, 4633 4633 }; 4634 4634 4635 + static const struct qmp_phy_cfg glymur_qmp_gen4x2_pciephy_cfg = { 4636 + .lanes = 2, 4637 + 4638 + .offsets = &qmp_pcie_offsets_v8_0, 4639 + 4640 + .reset_list = sdm845_pciephy_reset_l, 4641 + .num_resets = ARRAY_SIZE(sdm845_pciephy_reset_l), 4642 + .vreg_list = qmp_phy_vreg_l, 4643 + .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l), 4644 + 4645 + .regs = pciephy_v8_regs_layout, 4646 + 4647 + .pwrdn_ctrl = SW_PWRDN | REFCLK_DRV_DSBL, 4648 + .phy_status = PHYSTATUS_4_20, 4649 + }; 4650 + 4635 4651 static void qmp_pcie_init_port_b(struct qmp_pcie *qmp, const struct qmp_phy_cfg_tbls *tbls) 4636 4652 { 4637 4653 const struct qmp_phy_cfg *cfg = qmp->cfg; ··· 5399 5383 5400 5384 static const struct of_device_id qmp_pcie_of_match_table[] = { 5401 5385 { 5386 + .compatible = "qcom,glymur-qmp-gen4x2-pcie-phy", 5387 + .data = &glymur_qmp_gen4x2_pciephy_cfg, 5388 + }, { 5402 5389 .compatible = "qcom,glymur-qmp-gen5x4-pcie-phy", 5403 5390 .data = &glymur_qmp_gen5x4_pciephy_cfg, 5404 5391 }, {