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	select DRM_PANEL
32	help
33	  Choose this to enable the internal LVDS Display Bridge (LDB)
34	  found on i.MX53 and i.MX6 processors.
35
36config DRM_IMX_HDMI
37	tristate "Freescale i.MX DRM HDMI"
38	select DRM_DW_HDMI
39	depends on DRM_IMX
40	help
41	  Choose this if you want to use HDMI on i.MX6.
42
43source "drivers/gpu/drm/imx/dcss/Kconfig"
44