Skip to content

phy: qcom: edp: Add DP/eDP switch for phys

Yongxing Mou linux-arm-msm linux-phy lkml stable 5 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected] change-id 20260205-edp_phy-1eca3ed074c0

Versions newest first

  1. v5 Latest5 patches 2 repliesApplied
  2. v45 patches 14 repliesSuperseded
  3. v32 patches 13 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v22 patches2 repliesSuperseded
v13 patches22 repliesSuperseded

Changes in v5 from the cover letter

- Correct the incorrect swing/pre-emphasis table used on SC8180x.[Konard][Dmitry]
- Fix the commit message and add the missing Fixes tag.[Dmitry]
- Reuse the HBR3 table for the RBR case on SC8180x.[Konard]
- Link to v4: https://lore.kernel.org/r/[email protected]

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/5phy: qcom: edp: Unify generic DP/eDP swing and pre-emphasis tablesdrivers/phy/qualcomm/phy-qcom-edp.c+10 -310 replies
2/5phy: qcom: edp: Add eDP/DP mode switch supportdrivers/phy/qualcomm/phy-qcom-edp.c+34 -120 replies
3/5phy: qcom: edp: Add SC7280/SC8180X swing/pre-emphasis tablesdrivers/phy/qualcomm/phy-qcom-edp.c+80 -41 reply
4/5phy: qcom: edp: Fix AUX_CFG8 programming for DP modedrivers/phy/qualcomm/phy-qcom-edp.c+1 -60 replies
5/5phy: qcom: edp: Add PHY-specific LDO config for eDP low vdiffdrivers/phy/qualcomm/phy-qcom-edp.c+77 -110 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchKonrad DybcioDmitry Baryshkov
1/5R-b R-b
2/5R-b
3/5R-b
4/5R-b R-b
5/5R-b T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/5] phy: qcom: edp: Add DP/eDP switch for phys

Currently the PHY selects the DP/eDP configuration tables in a fixed way, choosing the table when enable. This driver has known issues:
1. The selected table does not match the actual platform mode.
2. It cannot support both modes at the same time.

As discussed here[1], this series:
1. Cleans up duplicated and incorrect tables based on the HPG.
2. Fixes the LDO programming error in eDP mode.
3. Adds DP/eDP mode switching support.

Note: x1e80100/sa8775p/sc7280/SC8280XP have been tested, while glymur/sc8180x have not been tested.

[1] https://lore.kernel.org/all/[email protected]/

---
Changes in v5:
- Correct the incorrect swing/pre-emphasis table used on SC8180x.[Konard][Dmitry]
- Fix the commit message and add the missing Fixes tag.[Dmitry]
- Reuse the HBR3 table for the RBR case on SC8180x.[Konard]
- Link to v4: https://lore.kernel.org/r/[email protected]

Changes in v4:
- Splite changes.[Dmitry]
- Add sc8180x tables in a single chagne.[Dmitry][Konrad]
- Link to v3: https://lore.kernel.org/r/[email protected]

Changes in v3:
- Rebase to next-20260224.[Dmitry]
- Only enable TX1 LDO when lane counts > 2.[Konrad]
- Link to v2: https://lore.kernel.org/all/[email protected]/

Changes in v2:
- Combine the third patch with the first one.[Dmitry]
- Fix code formatting issues.[Konrad][Dmitry]
- Update the commit message description.[Dmitry][Konrad]
- Fix kodiak swing/pre_emp table values.[Konrad]

---
Yongxing Mou (5):
phy: qcom: edp: Unify generic DP/eDP swing and pre-emphasis tables
phy: qcom: edp: Add eDP/DP mode switch support
phy: qcom: edp: Add SC7280/SC8180X swing/pre-emphasis tables
phy: qcom: edp: Fix AUX_CFG8 programming for DP mode
phy: qcom: edp: Add PHY-specific LDO config for eDP low vdiff

 drivers/phy/qualcomm/phy-qcom-edp.c | 224 +++++++++++++++++++++++++++++-------
 1 file changed, 181 insertions(+), 43 deletions(-)

---
base-commit: bee6ea30c48788e18348309f891ed8afbf7702ac
change-id: 20260205-edp_phy-1eca3ed074c0

Best regards,

Signature · 1 line
Yongxing Mou <[email protected]>