]> git.baikalelectronics.ru Git - kernel.git/commit
drm: lcdif: Add support for i.MX8MP LCDIF variant
authorMarek Vasut <marex@denx.de>
Tue, 28 Jun 2022 17:41:52 +0000 (19:41 +0200)
committerMarek Vasut <marex@denx.de>
Tue, 28 Jun 2022 23:44:48 +0000 (01:44 +0200)
commit7f4ae96e57642d51bfb1e0ce912f825ad25a670c
tree7c3a42958425a41cd99f5b549cd7042fc2faf3a4
parent1aaecd8d3a88ebd0e66f51ab77acccc331359e59
drm: lcdif: Add support for i.MX8MP LCDIF variant

Add support for i.MX8MP LCDIF variant. This is called LCDIFv3 and is
completely different from the LCDIFv3 found in i.MX23 in that it has
a completely scrambled register layout compared to all previous LCDIF
variants. The new LCDIFv3 also supports 36bit address space.

Add a separate driver which is really a fork of MXSFB driver with the
i.MX8MP LCDIF variant handling filled in.

Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Tested-by: Martyn Welch <martyn.welch@collabora.com>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexander Stein <alexander.stein@ew.tq-group.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Robby Cai <robby.cai@nxp.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Stefan Agner <stefan@agner.ch>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20220628174152.167284-2-marex@denx.de
drivers/gpu/drm/Makefile
drivers/gpu/drm/mxsfb/Kconfig
drivers/gpu/drm/mxsfb/Makefile
drivers/gpu/drm/mxsfb/lcdif_drv.c [new file with mode: 0644]
drivers/gpu/drm/mxsfb/lcdif_drv.h [new file with mode: 0644]
drivers/gpu/drm/mxsfb/lcdif_kms.c [new file with mode: 0644]
drivers/gpu/drm/mxsfb/lcdif_regs.h [new file with mode: 0644]