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

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.

Different DSI PHY versions have different configurations to adjust the
drive strength, drive level, de-emphasis, etc. The current series has only
those configuration options supported by 10nm PHY, e.g. drive strength and
drive level. The number of registers to configure the drive strength are
different for 7nm PHY. The design can be extended to other DSI PHY versions
if required, as each PHY version can have its callback to get the input
from DT and prepare register values.

Changes in v2:
 - Addressed dt-bindings comments (Stephen Boyd, Dmitry Baryshkov)
 - Split into generic code and 10nm-specific part (Dmitry Baryshkov)
 - Fix the backward compatibility (Dmitry Baryshkov)

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

 .../bindings/display/msm/dsi-phy-10nm.yaml         | 33 ++++++++++++++
 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c              |  3 ++
 drivers/gpu/drm/msm/dsi/phy/dsi_phy.h              | 16 +++++++
 drivers/gpu/drm/msm/dsi/phy/dsi_phy_10nm.c         | 51 +++++++++++++++++++---
 4 files changed, 97 insertions(+), 6 deletions(-)

-- 
2.7.4


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

end of thread, other threads:[~2022-01-13 11:34 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-10 12:55 [v2 0/3] drm/msm/dsi: Add 10nm dsi phy tuning configuration support Rajeev Nandan
2022-01-10 12:55 ` [v2 1/3] dt-bindings: msm/dsi: Add 10nm dsi phy tuning properties Rajeev Nandan
2022-01-10 14:06   ` Dmitry Baryshkov
2022-01-10 17:28     ` Rob Herring
2022-01-12 15:17       ` Rajeev Nandan
2022-01-10 16:48   ` Rob Herring
2022-01-10 12:55 ` [v2 2/3] drm/msm/dsi: Add dsi phy tuning configuration support Rajeev Nandan
2022-01-10 14:12   ` Dmitry Baryshkov
2022-01-12 16:09     ` Rajeev Nandan
2022-01-12 17:08       ` Dmitry Baryshkov
2022-01-13 11:34         ` Rajeev Nandan
2022-01-10 12:55 ` [v2 3/3] drm/msm/dsi: Add 10nm " Rajeev Nandan

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).