1# SPDX-License-Identifier: GPL-2.0-only
2config DRM_IMX
3	tristate "DRM Support for Freescale i.MX"
4	select DRM_KMS_HELPER
5	select VIDEOMODE_HELPERS
6	select DRM_GEM_CMA_HELPER
7	select DRM_KMS_CMA_HELPER
8	depends on DRM && (ARCH_MXC || ARCH_MULTIPLATFORM || COMPILE_TEST)
9	depends on IMX_IPUV3_CORE
10	help
11	  enable i.MX graphics support
12
13config DRM_IMX_PARALLEL_DISPLAY
14	tristate "Support for parallel displays"
15	select DRM_PANEL
16	depends on DRM_IMX
17	select VIDEOMODE_HELPERS
18
19config DRM_IMX_TVE
20	tristate "Support for TV and VGA displays"
21	depends on DRM_IMX
22	depends on COMMON_CLK
23	select REGMAP_MMIO
24	help
25	  Choose this to enable the internal Television Encoder (TVe)
26	  found on i.MX53 processors.
27
28config DRM_IMX_LDB
29	tristate "Support for LVDS displays"
30	depends on DRM_IMX && MFD_SYSCON
31	depends on COMMON_CLK
32	select DRM_PANEL
33	help
34	  Choose this to enable the internal LVDS Display Bridge (LDB)
35	  found on i.MX53 and i.MX6 processors.
36
37config DRM_IMX_HDMI
38	tristate "Freescale i.MX DRM HDMI"
39	select DRM_DW_HDMI
40	depends on DRM_IMX && OF
41	help
42	  Choose this if you want to use HDMI on i.MX6.
43
44source "drivers/gpu/drm/imx/dcss/Kconfig"
45