public inbox for linux-phy@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] phy: qcom: edp: Initialize swing_pre_emph_cfg for sc7280
@ 2026-04-03 12:24 Vishnu Saini
  2026-04-03 19:49 ` Dmitry Baryshkov
  2026-04-09 12:44 ` Konrad Dybcio
  0 siblings, 2 replies; 4+ messages in thread
From: Vishnu Saini @ 2026-04-03 12:24 UTC (permalink / raw)
  To: Vinod Koul, Neil Armstrong
  Cc: linux-arm-msm, linux-phy, linux-kernel, prahlad.valluru,
	Vishnu Saini

Aux timeout is observed on few monitors like Benq BL2420-T due to
missing swing_pre_emph_cfg.

Signed-off-by: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
---
 drivers/phy/qualcomm/phy-qcom-edp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/phy/qualcomm/phy-qcom-edp.c b/drivers/phy/qualcomm/phy-qcom-edp.c
index 7372de05a0b8..dd5cfc0eb09d 100644
--- a/drivers/phy/qualcomm/phy-qcom-edp.c
+++ b/drivers/phy/qualcomm/phy-qcom-edp.c
@@ -571,6 +571,7 @@ static const struct qcom_edp_phy_cfg sa8775p_dp_phy_cfg = {
 static const struct qcom_edp_phy_cfg sc7280_dp_phy_cfg = {
 	.aux_cfg = edp_phy_aux_cfg_v4,
 	.vco_div_cfg = edp_phy_vco_div_cfg_v4,
+	.swing_pre_emph_cfg = &edp_phy_swing_pre_emph_cfg,
 	.ver_ops = &qcom_edp_phy_ops_v4,
 };
 

---
base-commit: 54f966f63b379d0c62bb044b7903319776443a4a
change-id: 20260403-phy_for_next-ce3aa0eb556f

Best regards,
-- 
Vishnu Saini <vishnu.saini@oss.qualcomm.com>


-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] phy: qcom: edp: Initialize swing_pre_emph_cfg for sc7280
  2026-04-03 12:24 [PATCH] phy: qcom: edp: Initialize swing_pre_emph_cfg for sc7280 Vishnu Saini
@ 2026-04-03 19:49 ` Dmitry Baryshkov
  2026-04-06 12:39   ` Vishnu Saini
  2026-04-09 12:44 ` Konrad Dybcio
  1 sibling, 1 reply; 4+ messages in thread
From: Dmitry Baryshkov @ 2026-04-03 19:49 UTC (permalink / raw)
  To: Vishnu Saini
  Cc: Vinod Koul, Neil Armstrong, linux-arm-msm, linux-phy,
	linux-kernel, prahlad.valluru

On Fri, Apr 03, 2026 at 05:54:56PM +0530, Vishnu Saini wrote:
> Aux timeout is observed on few monitors like Benq BL2420-T due to
> missing swing_pre_emph_cfg.
> 
> Signed-off-by: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
> ---
>  drivers/phy/qualcomm/phy-qcom-edp.c | 1 +
>  1 file changed, 1 insertion(+)

Missing Fixes tag.

-- 
With best wishes
Dmitry

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] phy: qcom: edp: Initialize swing_pre_emph_cfg for sc7280
  2026-04-03 19:49 ` Dmitry Baryshkov
@ 2026-04-06 12:39   ` Vishnu Saini
  0 siblings, 0 replies; 4+ messages in thread
From: Vishnu Saini @ 2026-04-06 12:39 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: Vinod Koul, Neil Armstrong, linux-arm-msm, linux-phy,
	linux-kernel, prahlad.valluru

On Fri, Apr 03, 2026 at 10:49:16PM +0300, Dmitry Baryshkov wrote:
> On Fri, Apr 03, 2026 at 05:54:56PM +0530, Vishnu Saini wrote:
> > Aux timeout is observed on few monitors like Benq BL2420-T due to
> > missing swing_pre_emph_cfg.
> > 
> > Signed-off-by: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
> > ---
> >  drivers/phy/qualcomm/phy-qcom-edp.c | 1 +
> >  1 file changed, 1 insertion(+)
> 
> Missing Fixes tag.

phy cfg is not initialized for sc7280 when it was added first time with:
https://lore.kernel.org/all/20220207161612.REPOST.v1.2.Iff75c0ea8499f0baf2aa5800f2c45c4128e2415a@changeid/ 
Shall i add this tag? 
Fixes: cc62512c1be3 ("phy: qcom: Add support for eDP PHY on sc7280")

Later phy cfgs added first time with below patches:
https://lore.kernel.org/r/20220810040745.3582985-5-bjorn.andersson@linaro.org
https://lore.kernel.org/r/20220810040745.3582985-6-bjorn.andersson@linaro.org

> -- 
> With best wishes
> Dmitry

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] phy: qcom: edp: Initialize swing_pre_emph_cfg for sc7280
  2026-04-03 12:24 [PATCH] phy: qcom: edp: Initialize swing_pre_emph_cfg for sc7280 Vishnu Saini
  2026-04-03 19:49 ` Dmitry Baryshkov
@ 2026-04-09 12:44 ` Konrad Dybcio
  1 sibling, 0 replies; 4+ messages in thread
From: Konrad Dybcio @ 2026-04-09 12:44 UTC (permalink / raw)
  To: Vishnu Saini, Vinod Koul, Neil Armstrong
  Cc: linux-arm-msm, linux-phy, linux-kernel, prahlad.valluru

On 4/3/26 2:24 PM, Vishnu Saini wrote:
> Aux timeout is observed on few monitors like Benq BL2420-T due to
> missing swing_pre_emph_cfg.
> 
> Signed-off-by: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
> ---

We could take it as-is to get rid of the timeouts, but 

https://lore.kernel.org/linux-arm-msm/20260302-edp_phy-v3-1-ca8888d793b0@oss.qualcomm.com/

suggests that these values are not super correct.. I'm long overdue
for re-reviewing that, I'll hopefully do so tomorrow or next week

Konrad

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-04-09 12:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-03 12:24 [PATCH] phy: qcom: edp: Initialize swing_pre_emph_cfg for sc7280 Vishnu Saini
2026-04-03 19:49 ` Dmitry Baryshkov
2026-04-06 12:39   ` Vishnu Saini
2026-04-09 12:44 ` Konrad Dybcio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox