[PATCH v4 0/2] drm/imx/lcdc: Implement DRM driver for imx25

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Fri Feb 10 11:31:14 UTC 2023


Hello,

Changes since v3:

 - Don't use drm_of_find_panel_or_bridge, rely on panel-bridges instead (Sam)
 - Add support for XRGB8888 (Sam)
 - Make sure Kconfig + Makefile are added to the patch (*sigh*) (Philipp)
 - Rebase on a newer tree (which involves among others changes for 8ab59da26bc0
   ("drm/fb-helper: Move generic fbdev emulation into separate source file")
   and 00b5497d642b ("drm/simple-kms: Remove
   drm_gem_simple_display_pipe_prepare_fb()"). (Philipp)
 - Whitespace cleanup (Philipp)

A big thanks to Philipp who explained the necessary changes to drop
drm_of_find_panel_or_bridge and even implemented a part of it himself.

Patch 1 depends on patch "dt-bindings: display: Convert fsl,imx-fb.txt
to dt-schema" which currently sits in Rob's tree as
93266da2409b1709474be00f1becbbdaddb2b706. Patch 2 bases on "drm/imx:
move IPUv3 driver into separate subdirectory" which currentlich sits in
drm-misc-next-2023-01-03 as 4b6cb2b67da883bc5095ee6d77f951f1cd7a1c24.

Unchanged since v3 is that the binding is using a different compatible. This is
a bit ugly, but a drm driver needs a considerably different binding anyhow and
this is the chance to pick a better name: The legacy binding uses "imx25-fb"
(and similar for other SoCs), but the hardware unit is called LCDC and so I
picked "imx25-lcdc" as new name. The idea is to deprecate imx25-fb (et al) and
convert the imx25.dtsi to imx25-lcdc. (So I don't plan to have both variants in
the dtsi file which Rob considered ugly.)

Marian Cichy (1):
  drm/imx/lcdc: Implement DRM driver for imx25

Uwe Kleine-König (1):
  dt-bindings: display: imx: Describe drm binding for fsl,imx-lcdc

 .../bindings/display/imx/fsl,imx-lcdc.yaml    |  46 +-
 drivers/gpu/drm/imx/Kconfig                   |   1 +
 drivers/gpu/drm/imx/Makefile                  |   1 +
 drivers/gpu/drm/imx/lcdc/Kconfig              |   7 +
 drivers/gpu/drm/imx/lcdc/Makefile             |   1 +
 drivers/gpu/drm/imx/lcdc/imx-lcdc.c           | 555 ++++++++++++++++++
 6 files changed, 610 insertions(+), 1 deletion(-)
 create mode 100644 drivers/gpu/drm/imx/lcdc/Kconfig
 create mode 100644 drivers/gpu/drm/imx/lcdc/Makefile
 create mode 100644 drivers/gpu/drm/imx/lcdc/imx-lcdc.c

base-commit: 2591939e881cf728b6ac45971eeec2f58051c101
prerequisite-patch-id: c3ef3de02516b5c159e76b40d2b4348a5ce0fe51
-- 
2.39.0



More information about the dri-devel mailing list