devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC 0/3] drm/msm/dp: Rework the eDP/DP modes and add support for X1E80100
@ 2024-02-20 22:50 Abel Vesa
  2024-02-20 22:50 ` [PATCH RFC 1/3] dt-bindings: display: msm: dp-controller: document X1E80100 compatible Abel Vesa
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Abel Vesa @ 2024-02-20 22:50 UTC (permalink / raw)
  To: Rob Clark, Abhinav Kumar, Dmitry Baryshkov, Sean Paul,
	Marijn Suijten, David Airlie, Daniel Vetter, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Kuogee Hsieh, Bjorn Andersson,
	Konrad Dybcio, Dmitry Baryshkov, Johan Hovold
  Cc: linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel,
	Abel Vesa

Since this new platform supports both DP and eDP, it's the perfect time
to drop the dual compatible (eDP and DP) and figure out a different way
to specify the mode. After some off-list discussion, one suggested way
was to add a 'is-edp' property to the controller node and call
phy_set_mode to let the PHY know which mode it should configure itself.

The PHY counterpart patchset is here:
https://lore.kernel.org/all/20240220-x1e80100-phy-edp-compatible-refactor-v5-0-e8658adf5461@linaro.org/

Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
---
Abel Vesa (3):
      dt-bindings: display: msm: dp-controller: document X1E80100 compatible
      drm/msm/dp: Add support for setting the eDP mode from devicetree
      drm/msm/dp: Add support for the X1E80100

 .../bindings/display/msm/dp-controller.yaml        |  6 +++++
 drivers/gpu/drm/msm/dp/dp_ctrl.c                   | 11 +++++++++
 drivers/gpu/drm/msm/dp/dp_ctrl.h                   |  1 +
 drivers/gpu/drm/msm/dp/dp_display.c                | 28 +++++++++++++++++++---
 4 files changed, 43 insertions(+), 3 deletions(-)
---
base-commit: 2d5c7b7eb345249cb34d42cbc2b97b4c57ea944e
change-id: 20231219-x1e80100-display-refactor-connector-e1c66548cae3

Best regards,
-- 
Abel Vesa <abel.vesa@linaro.org>


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

end of thread, other threads:[~2024-02-22  3:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-20 22:50 [PATCH RFC 0/3] drm/msm/dp: Rework the eDP/DP modes and add support for X1E80100 Abel Vesa
2024-02-20 22:50 ` [PATCH RFC 1/3] dt-bindings: display: msm: dp-controller: document X1E80100 compatible Abel Vesa
2024-02-22  3:32   ` Bjorn Andersson
2024-02-20 22:50 ` [PATCH RFC 2/3] drm/msm/dp: Add support for setting the eDP mode from devicetree Abel Vesa
2024-02-20 23:00   ` Dmitry Baryshkov
2024-02-22  3:29   ` Bjorn Andersson
2024-02-20 22:50 ` [PATCH RFC 3/3] drm/msm/dp: Add support for the X1E80100 Abel Vesa
2024-02-20 23:02   ` Dmitry Baryshkov
2024-02-22  3:40   ` Bjorn Andersson

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