]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: imx: Add LDB support for i.MX8qm
authorLiu Ying <victor.liu@nxp.com>
Sat, 11 Jun 2022 14:14:19 +0000 (22:14 +0800)
committerRobert Foss <robert.foss@linaro.org>
Mon, 20 Jun 2022 19:15:19 +0000 (21:15 +0200)
commite3b8bcb952deda6c5874068535459db5748bf929
treece7bcea3e234e4b76c727611a0c4f2818b7f60ae
parent3509f6c211e45497fb25a1e6e55084e3044636ed
drm/bridge: imx: Add LDB support for i.MX8qm

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.

Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> # Colibri iMX8X, LT170410-2WHC, LP156WF1
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220611141421.718743-13-victor.liu@nxp.com
drivers/gpu/drm/bridge/imx/Kconfig
drivers/gpu/drm/bridge/imx/Makefile
drivers/gpu/drm/bridge/imx/imx8qm-ldb-drv.c [new file with mode: 0644]