mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/3] drm/panel-edp: remove several legacy compatibles used by the driver
@ 2024-05-30 23:12 Dmitry Baryshkov
  2024-05-30 23:12 ` [PATCH v3 1/3] drm/panel-edp: add fat warning against adding new panel compatibles Dmitry Baryshkov
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Dmitry Baryshkov @ 2024-05-30 23:12 UTC (permalink / raw)
  To: Douglas Anderson, Neil Armstrong, Jessica Zhang, Sam Ravnborg,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
	David Airlie, Daniel Vetter
  Cc: dri-devel, linux-kernel, linux-arm-msm, linux-rockchip, Jeffrey Hugo

There are two ways to describe an eDP panel in device tree. The
recommended way is to add a device on the AUX bus, ideally using the
edp-panel compatible. The legacy way is to define a top-level platform
device for the panel.

Document that adding support for eDP panels in a legacy way is strongly
discouraged (if not forbidden at all).

While we are at it, also drop legacy compatible strings and bindings for
five panels. These compatible strings were never used by a DT file
present in Linux kernel and most likely were never used with the
upstream Linux kernel.

The following compatibles were never used by the devices supported by
the upstream kernel and are a subject to possible removal:

- lg,lp097qx1-spa1
- samsung,lsn122dl01-c01
- sharp,ld-d5116z01b

I'm considering dropping them later, unless there is a good reason not
to do so.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
Changes in v3:
- Rephrased the warning comment, following some of Doug's suggestions.
- Link to v2: https://lore.kernel.org/r/20240529-edp-panel-drop-v2-0-fcfc457fc8dd@linaro.org

Changes in v2:
- Actually drop support for five panels acked by Doug Andersson
- Link to v1: https://lore.kernel.org/r/20240523-edp-panel-drop-v1-1-045d62511d09@linaro.org

---
Dmitry Baryshkov (3):
      drm/panel-edp: add fat warning against adding new panel compatibles
      dt-bindings: display: panel-simple: drop several eDP panels
      drm/panel-edp: drop several legacy panels

 .../bindings/display/panel/panel-simple.yaml       |  10 --
 drivers/gpu/drm/panel/panel-edp.c                  | 192 +++------------------
 2 files changed, 25 insertions(+), 177 deletions(-)
---
base-commit: 6dc544b66971c7f9909ff038b62149105272d26a
change-id: 20240523-edp-panel-drop-00aa239b3c6b

Best regards,
-- 
Dmitry Baryshkov <dmitry.baryshkov@linaro.org>


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

end of thread, other threads:[~2024-05-31 17:46 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-30 23:12 [PATCH v3 0/3] drm/panel-edp: remove several legacy compatibles used by the driver Dmitry Baryshkov
2024-05-30 23:12 ` [PATCH v3 1/3] drm/panel-edp: add fat warning against adding new panel compatibles Dmitry Baryshkov
2024-05-30 23:12 ` [PATCH v3 2/3] dt-bindings: display: panel-simple: drop several eDP panels Dmitry Baryshkov
2024-05-30 23:12 ` [PATCH v3 3/3] drm/panel-edp: drop several legacy panels Dmitry Baryshkov
2024-05-30 23:16 ` [PATCH v3 0/3] drm/panel-edp: remove several legacy compatibles used by the driver Doug Anderson
2024-05-30 23:25   ` Dmitry Baryshkov
2024-05-31 16:18 ` Jeffrey Hugo
2024-05-31 16:20   ` Doug Anderson
2024-05-31 16:51     ` Jeffrey Hugo
2024-05-31 17:29       ` Doug Anderson
2024-05-31 17:43   ` Dmitry Baryshkov
2024-05-31 17:46     ` Jeffrey Hugo

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

all inboxes | Powered by JetHome®