xref: /openbmc/linux/drivers/gpu/drm/imx/Kconfig (revision e6c81cce)
1config DRM_IMX
2	tristate "DRM Support for Freescale i.MX"
3	select DRM_KMS_HELPER
4	select DRM_KMS_FB_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) && HAVE_DMA_ATTRS
9	depends on IMX_IPUV3_CORE
10	help
11	  enable i.MX graphics support
12
13config DRM_IMX_FB_HELPER
14	tristate "provide legacy framebuffer /dev/fb0"
15	select DRM_KMS_CMA_HELPER
16	depends on DRM_IMX
17	help
18	  The DRM framework can provide a legacy /dev/fb0 framebuffer
19	  for your device. This is necessary to get a framebuffer console
20	  and also for applications using the legacy framebuffer API
21
22config DRM_IMX_PARALLEL_DISPLAY
23	tristate "Support for parallel displays"
24	select DRM_PANEL
25	depends on DRM_IMX
26	select VIDEOMODE_HELPERS
27
28config DRM_IMX_TVE
29	tristate "Support for TV and VGA displays"
30	depends on DRM_IMX
31	select REGMAP_MMIO
32	help
33	  Choose this to enable the internal Television Encoder (TVe)
34	  found on i.MX53 processors.
35
36config DRM_IMX_LDB
37	tristate "Support for LVDS displays"
38	depends on DRM_IMX && MFD_SYSCON
39	select DRM_PANEL
40	help
41	  Choose this to enable the internal LVDS Display Bridge (LDB)
42	  found on i.MX53 and i.MX6 processors.
43
44config DRM_IMX_IPUV3
45	tristate
46	depends on DRM_IMX
47	depends on IMX_IPUV3_CORE
48	default y if DRM_IMX=y
49	default m if DRM_IMX=m
50
51config DRM_IMX_HDMI
52	tristate "Freescale i.MX DRM HDMI"
53	select DRM_DW_HDMI
54	depends on DRM_IMX
55	help
56	  Choose this if you want to use HDMI on i.MX6.
57