Skip to content

drm/panel, of, sysfb: Use OF panel-orientation helper in simpledrm

Thomas Zimmermann dri-devel sashiko-reviews 1 version Applied

Status from this message: Merged into drm-misc-next now.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest3 patches 3 repliesApplied

Changes in v4 from the cover letter

- integrate Thierry's panel-update patch
- update anbernic, chipone, ili9488 panels that were merged recently v3:
- see https://lore.kernel.org/dri-devel/[email protected]/

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3drm/of: Implement drm_of_get_panel_orientation()drivers/gpu/drm/drm_of.c drivers/gpu/drm/drm_panel.c include/drm/drm_of.h+57 -241 reply
2/3drm/sysfb: simpledrm: Read panel orientation from DT nodedrivers/gpu/drm/sysfb/simpledrm.c+9 -20 replies
3/3drm/panel: Use drm_of_get_panel_orientation()drivers/gpu/drm/drm_panel.c drivers/gpu/drm/panel/panel-anbernic-td4310.c drivers/gpu/drm/panel/panel-boe-th101mb31ig002-28a.c +20 more+39 -491 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMaxime RipardJavier Martinez CanillasThierry Reding
1/3R-b R-b R-b
2/3R-b R-b R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/3] drm/panel, of, sysfb: Use OF panel-orientation helper in simpledrm

Improve support for panel orientation in simpledrm. There's a rotation property in the DT panel node. Read the value and set the connector's orientation property accordingly.

Patch 1 moves the existing code for parsing the rotation to drm_of.c. This makes it available to simpledrm without introducing a dependency on DRM_PANEL.

Patch 2 updates simpledrm and patch 3 updates all DRM panel drivers to use the new helper function.

These patches have previously been part of another series that improved simpledrm in general. So we start with v4 instead of v1. Keep existing R-b tags.

v4:
- integrate Thierry's panel-update patch
- update anbernic, chipone, ili9488 panels that were merged recently v3:
- see https://lore.kernel.org/dri-devel/[email protected]/

Thierry Reding (1):
drm/panel: Use drm_of_get_panel_orientation()

Thomas Zimmermann (2):
drm/of: Implement drm_of_get_panel_orientation() drm/sysfb: simpledrm: Read panel orientation from DT node

 drivers/gpu/drm/drm_of.c                      | 44 +++++++++++++++++++
 drivers/gpu/drm/drm_panel.c                   | 44 +------------------
 drivers/gpu/drm/panel/panel-anbernic-td4310.c |  3 +-
 .../drm/panel/panel-boe-th101mb31ig002-28a.c  |  3 +-
 .../gpu/drm/panel/panel-boe-tv101wum-nl6.c    |  3 +-
 .../gpu/drm/panel/panel-chipone-icna35xx.c    |  3 +-
 .../gpu/drm/panel/panel-chipwealth-ch13726a.c |  3 +-
 drivers/gpu/drm/panel/panel-edp.c             |  3 +-
 drivers/gpu/drm/panel/panel-elida-kd35t133.c  |  3 +-
 .../gpu/drm/panel/panel-focaltech-ota7290b.c  |  3 +-
 drivers/gpu/drm/panel/panel-himax-hx83102.c   |  3 +-
 drivers/gpu/drm/panel/panel-himax-hx8394.c    |  3 +-
 drivers/gpu/drm/panel/panel-ilitek-ili9488.c  |  3 +-
 .../gpu/drm/panel/panel-ilitek-ili9806e-dsi.c |  3 +-
 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c |  3 +-
 drivers/gpu/drm/panel/panel-ilitek-ili9882t.c |  3 +-
 .../gpu/drm/panel/panel-jadard-jd9365da-h3.c  |  2 +-
 drivers/gpu/drm/panel/panel-lvds.c            |  2 +-
 drivers/gpu/drm/panel/panel-novatek-nt36523.c |  3 +-
 drivers/gpu/drm/panel/panel-simple.c          |  2 +-
 drivers/gpu/drm/panel/panel-sitronix-st7701.c |  3 +-
 drivers/gpu/drm/panel/panel-sitronix-st7703.c |  3 +-
 .../gpu/drm/panel/panel-sitronix-st7789v.c    |  3 +-
 drivers/gpu/drm/sysfb/simpledrm.c             | 11 ++++-
 include/drm/drm_of.h                          | 11 +++++
 include/drm/drm_panel.h                       |  8 ----
 26 files changed, 104 insertions(+), 74 deletions(-)

base-commit: a2d82f27ac35c691c1c65b40c72b13d8b2a7f91f

Signature · 1 line
2.54.0