summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/bridge/imx/Kconfig
diff options
context:
space:
mode:
authorLiu Ying <victor.liu@nxp.com>2022-06-11 17:14:18 +0300
committerRobert Foss <robert.foss@linaro.org>2022-06-20 22:15:17 +0300
commit3818715f62b42b5c0bcf456ded3f59ed3908cd6f (patch)
tree3bd5722f5b60a27f599951e371d6c25adc8dd869 /drivers/gpu/drm/bridge/imx/Kconfig
parent48ed447c698b97ac6150e516139982d88231175d (diff)
downloadlinux-3818715f62b42b5c0bcf456ded3f59ed3908cd6f.tar.xz
drm/bridge: imx: Add LDB support for i.MX8qxp
This patch adds a drm bridge driver for i.MX8qxp LVDS display bridge(LDB) which is officially named as pixel mapper. The LDB has two channels. Each of them supports up to 24bpp parallel input color format and can map the input to VESA or JEIDA standards. The two channels cannot be used simultaneously, that is to say, the user should pick one of them to use. Two LDB channels from two LDB instances can work together in LDB split mode to support a dual link LVDS display. The channel indexes have to be different. 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-12-victor.liu@nxp.com
Diffstat (limited to 'drivers/gpu/drm/bridge/imx/Kconfig')
-rw-r--r--drivers/gpu/drm/bridge/imx/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/bridge/imx/Kconfig b/drivers/gpu/drm/bridge/imx/Kconfig
index 53001650a61a..f33d67be54dc 100644
--- a/drivers/gpu/drm/bridge/imx/Kconfig
+++ b/drivers/gpu/drm/bridge/imx/Kconfig
@@ -1,3 +1,12 @@
+config DRM_IMX8QXP_LDB
+ tristate "Freescale i.MX8QXP 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.MX8qxp processor. Official name of LDB is pixel mapper.
+
config DRM_IMX8QXP_PIXEL_COMBINER
tristate "Freescale i.MX8QM/QXP pixel combiner"
depends on OF