phy: qcom: edp: Generalize power-on path for per-SoC overrides
Hi Nabige, Ritesh,
Review static struct qcom_edp_phy_cfg glymur_phy_cfg = { · line 1127
Quoted 6 lines · Nabige Aala
static struct
qcom_edp_phy_cfgglymur_phy_cfg= {(quoted diff) +1
-0@@ -1087,6 +1124,8 @@ static struct qcom_edp_phy_cfg glymur_phy_cfg = { .dp_swing_pre_emph_cfg = &dp_phy_swing_pre_emph_cfg_v8, .edp_swing_pre_emph_cfg = &edp_phy_swing_pre_emph_cfg, .ver_ops = &qcom_edp_phy_ops_v8, + .phy_status_reg = DP_PHY_STATUS,
On my Glymur-based laptop (Lenovo IdeaPad Slim 5 13Q8Y11, X2P-42-100), the eDP panel only works when the PHY status is read from 0x114 (QSERDES_V8_DP_PHY_STATUS in phy-qcom-qmp-dp-phy-v8.h) instead of 0x0e0. With 0x0e0 the panel stays black.
Could Glymur use 0x114 here? I'm happy to send a follow-up patch on top of this series if you'd prefer.
This was tested together with a v8 PLL fix I sent separately:
https://lore.kernel.org/r/[email protected]
Thanks,
Mora, Victor