Skip to content

Commit

Permalink
drm/bridge: imx: Add LDB support for i.MX8qm
Browse files Browse the repository at this point in the history
This patch adds a drm bridge driver for i.MX8qm LVDS display bridge(LDB)
which is officially named as pixel mapper.  The LDB has two channels.
Each of them supports up to 30bpp parallel input color format and can
map the input to VESA or JEIDA standards.  The two channels can be used
simultaneously, either in dual mode or split mode.  In dual mode, the
two channels output identical data.  In split mode, channel0 outputs
odd pixels and channel1 outputs even pixels.  This patch supports the
LDB single mode and split mode.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
  • Loading branch information
Liu Ying authored and intel-lab-lkp committed Mar 17, 2021
1 parent 482264f commit 2a10a78
Show file tree
Hide file tree
Showing 3 changed files with 598 additions and 0 deletions.
9 changes: 9 additions & 0 deletions drivers/gpu/drm/bridge/imx/Kconfig
@@ -1,3 +1,12 @@
config DRM_IMX8QM_LDB
tristate "Freescale i.MX8QM LVDS display bridge"
depends on OF
depends on COMMON_CLK
select DRM_KMS_HELPER
help
Choose this to enable the internal LVDS Display Bridge(LDB) found in
Freescale i.MX8qm processor. Official name of LDB is pixel mapper.

config DRM_IMX8QXP_LDB
tristate "Freescale i.MX8QXP LVDS display bridge"
depends on OF
Expand Down
3 changes: 3 additions & 0 deletions drivers/gpu/drm/bridge/imx/Makefile
@@ -1,3 +1,6 @@
imx8qm-ldb-objs := imx-ldb-helper.o imx8qm-ldb-drv.o
obj-$(CONFIG_DRM_IMX8QM_LDB) += imx8qm-ldb.o

imx8qxp-ldb-objs := imx-ldb-helper.o imx8qxp-ldb-drv.o
obj-$(CONFIG_DRM_IMX8QXP_LDB) += imx8qxp-ldb.o

Expand Down

0 comments on commit 2a10a78

Please sign in to comment.