dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [v1 0/2] drm/msm/dsi: Add 10nm dsi phy tuning configuration support
@ 2021-12-30  9:24 Rajeev Nandan
  2021-12-30  9:24 ` [v1 1/2] dt-bindings: msm/dsi: Add 10nm dsi phy tuning properties Rajeev Nandan
  2021-12-30  9:24 ` [v1 2/2] drm/msm/dsi: Add 10nm dsi phy tuning configuration support Rajeev Nandan
  0 siblings, 2 replies; 8+ messages in thread
From: Rajeev Nandan @ 2021-12-30  9:24 UTC (permalink / raw)
  To: dri-devel, linux-arm-msm, freedreno, devicetree
  Cc: quic_kalyant, jonathan, airlied, Rajeev Nandan, linux-kernel,
	quic_abhinavk, robh+dt, quic_mkrishn, dmitry.baryshkov, swboyd,
	sean

This series is to add DSI PHY tuning support in Qualcomm Snapdragon
SoCs with 10nm DSI PHY e.g. SC7180

In most cases the default values of DSI PHY tuning registers
should be sufficient as they are fully optimized. However, in
some cases (for example, where extreme board parasitics cause
the eye shape to degrade), the override bits can be used to
improve the signal quality.

As per the MSM DSI PHY (10nm) tuning guideline, the drive strength
can be adjusted using DSIPHY_RESCODE_OFFSET_TOP & DSIPHY_RESCODE_OFFSET_BOT
registers, and the drive level can be adjusted using DSIPHY_CMN_VREG_CTRL
register.

Add DSI PHY tuning support for 10nm PHY. This can be extended to other
DSI PHY versions if needed. Number of registers to configure the PHY
tuning per lane can be different for different versions of the DSI PHY.
I tried to make it generic so that it can be extended to other versions.

Rajeev Nandan (2):
  dt-bindings: msm/dsi: Add 10nm dsi phy tuning properties
  drm/msm/dsi: Add 10nm dsi phy tuning configuration support

 .../bindings/display/msm/dsi-phy-10nm.yaml         | 19 ++++++++
 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c              | 55 ++++++++++++++++++++++
 drivers/gpu/drm/msm/dsi/phy/dsi_phy.h              | 23 +++++++++
 drivers/gpu/drm/msm/dsi/phy/dsi_phy_10nm.c         | 31 +++++++++---
 4 files changed, 122 insertions(+), 6 deletions(-)

-- 
2.7.4


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

end of thread, other threads:[~2022-01-06  2:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-30  9:24 [v1 0/2] drm/msm/dsi: Add 10nm dsi phy tuning configuration support Rajeev Nandan
2021-12-30  9:24 ` [v1 1/2] dt-bindings: msm/dsi: Add 10nm dsi phy tuning properties Rajeev Nandan
2021-12-30 14:00   ` Dmitry Baryshkov
2021-12-30 14:14   ` Dmitry Baryshkov
2022-01-01 22:01   ` Rob Herring
2022-01-06  2:07   ` Stephen Boyd
2021-12-30  9:24 ` [v1 2/2] drm/msm/dsi: Add 10nm dsi phy tuning configuration support Rajeev Nandan
2021-12-30 14:39   ` Dmitry Baryshkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).