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
38 lines
983 B
Plaintext
38 lines
983 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config DRM_MXS
|
|
bool
|
|
help
|
|
Choose this option to select drivers for MXS FB devices
|
|
|
|
config DRM_MXSFB
|
|
tristate "i.MX (e)LCDIF LCD controller"
|
|
depends on DRM && OF
|
|
depends on COMMON_CLK
|
|
select DRM_MXS
|
|
select DRM_KMS_HELPER
|
|
select DRM_GEM_CMA_HELPER
|
|
select DRM_PANEL
|
|
select DRM_PANEL_BRIDGE
|
|
help
|
|
Choose this option if you have an LCDIF or eLCDIF LCD controller.
|
|
Those devices are found in various i.MX SoC (including i.MX23,
|
|
i.MX28, i.MX6SX, i.MX7 and i.MX8M).
|
|
|
|
If M is selected the module will be called mxsfb.
|
|
|
|
config DRM_IMX_LCDIF
|
|
tristate "i.MX LCDIFv3 LCD controller"
|
|
depends on DRM && OF
|
|
depends on COMMON_CLK
|
|
select DRM_MXS
|
|
select DRM_KMS_HELPER
|
|
select DRM_GEM_CMA_HELPER
|
|
select DRM_PANEL
|
|
select DRM_PANEL_BRIDGE
|
|
help
|
|
Choose this option if you have an LCDIFv3 LCD controller.
|
|
Those devices are found in various i.MX SoC (i.MX8MP,
|
|
i.MXRT).
|
|
|
|
If M is selected the module will be called imx-lcdif.
|