Skip to content

Commit

Permalink
drm/imx/lcdc: Implement DRM driver for imx25
Browse files Browse the repository at this point in the history
Add support for the LCD Controller found on i.MX21 and i.MX25.

It targets to be a drop in replacement for the imx-fb driver.

[ukl: Rebase to a newer kernel version, various smaller fixes and
improvements]

Signed-off-by: Marian Cichy <m.cichy@pengutronix.de>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20230306115249.2223042-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230306115249.2223042-3-u.kleine-koenig@pengutronix.de
  • Loading branch information
Marian Cichy authored and pH5 committed Mar 14, 2023
1 parent 492054f commit c87e859
Show file tree
Hide file tree
Showing 5 changed files with 555 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/imx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@

source "drivers/gpu/drm/imx/dcss/Kconfig"
source "drivers/gpu/drm/imx/ipuv3/Kconfig"
source "drivers/gpu/drm/imx/lcdc/Kconfig"
1 change: 1 addition & 0 deletions drivers/gpu/drm/imx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@

obj-$(CONFIG_DRM_IMX_DCSS) += dcss/
obj-$(CONFIG_DRM_IMX) += ipuv3/
obj-$(CONFIG_DRM_IMX_LCDC) += lcdc/
7 changes: 7 additions & 0 deletions drivers/gpu/drm/imx/lcdc/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
config DRM_IMX_LCDC
tristate "Freescale i.MX LCDC displays"
depends on DRM && (ARCH_MXC || COMPILE_TEST)
select DRM_GEM_DMA_HELPER
select DRM_KMS_HELPER
help
Found on i.MX1, i.MX21, i.MX25 and i.MX27.
1 change: 1 addition & 0 deletions drivers/gpu/drm/imx/lcdc/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
obj-$(CONFIG_DRM_IMX_LCDC) += imx-lcdc.o
Loading

0 comments on commit c87e859

Please sign in to comment.