]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
phy: qcom: qmp-pcie: drop bogus x1e80100 qref supply
authorJohan Hovold <johan+linaro@kernel.org>
Tue, 29 Apr 2025 07:54:40 +0000 (09:54 +0200)
committerVinod Koul <vkoul@kernel.org>
Wed, 14 May 2025 09:10:28 +0000 (10:10 +0100)
The PCIe PHYs on x1e80100 do not a have a qref supply so stop requesting
one. This also avoids the follow warning at boot:

qcom-qmp-pcie-phy 1be0000.phy: supply vdda-qref not found, using dummy regulator

Fixes: e961ec81a39b ("phy: qcom: qmp: Add phy register and clk setting for x1e80100 PCIe3")
Cc: Qiang Yu <quic_qianyu@quicinc.com>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20250429075440.19901-1-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c

index ab90aafb313e6e759c0f88589013632bb6277807..461b9e0af610a1df16615332866ef04ffb8d9587 100644 (file)
@@ -4228,8 +4228,8 @@ static const struct qmp_phy_cfg x1e80100_qmp_gen4x8_pciephy_cfg = {
 
        .reset_list             = sdm845_pciephy_reset_l,
        .num_resets             = ARRAY_SIZE(sdm845_pciephy_reset_l),
-       .vreg_list              = sm8550_qmp_phy_vreg_l,
-       .num_vregs              = ARRAY_SIZE(sm8550_qmp_phy_vreg_l),
+       .vreg_list              = qmp_phy_vreg_l,
+       .num_vregs              = ARRAY_SIZE(qmp_phy_vreg_l),
        .regs                   = pciephy_v6_regs_layout,
 
        .pwrdn_ctrl             = SW_PWRDN | REFCLK_DRV_DSBL,