]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
phy: qcom: edp: Add PHY-specific LDO config for eDP low vdiff
authorYongxing Mou <yongxing.mou@oss.qualcomm.com>
Mon, 27 Apr 2026 06:35:23 +0000 (14:35 +0800)
committerVinod Koul <vkoul@kernel.org>
Sun, 3 May 2026 17:04:48 +0000 (22:34 +0530)
commit519a228ee40d1be3453d1da339b4577c3785e333
treeaf7a43928c0b47d4e86ec8cfd8750a93c3f16e13
parentbf237a9fcbbf9d658522f7315ffc04bf2d49be42
phy: qcom: edp: Add PHY-specific LDO config for eDP low vdiff

For eDP low vdiff, the LDO setting depends on the PHY version rather
than being a simple 0x0 or 0x1 value. Introduce a PHY callback to program
the correct LDO setting according to the HPG.

Since SC7280/SC8180X uses different LDO settings from SA8775P/SC8280XP,
introduce qcom_edp_phy_ops_v3 to keep the LDO setting correct.

Cc: stable@vger.kernel.org
Fixes: f199223cb490 ("phy: qcom: Introduce new eDP PHY driver")
Signed-off-by: Yongxing Mou <yongxing.mou@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Tested-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> # SC8280XP X13s
Link: https://patch.msgid.link/20260427-edp_phy-v5-5-3bb876824475@oss.qualcomm.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-edp.c