xref: /openbmc/linux/drivers/gpu/drm/imx/Kconfig (revision dab363f9)
16556f7f8SPhilipp Zabelconfig DRM_IMX
26556f7f8SPhilipp Zabel	tristate "DRM Support for Freescale i.MX"
36556f7f8SPhilipp Zabel	select DRM_KMS_HELPER
46556f7f8SPhilipp Zabel	select DRM_KMS_FB_HELPER
56556f7f8SPhilipp Zabel	select VIDEOMODE_HELPERS
66556f7f8SPhilipp Zabel	select DRM_GEM_CMA_HELPER
76556f7f8SPhilipp Zabel	select DRM_KMS_CMA_HELPER
86556f7f8SPhilipp Zabel	depends on DRM && (ARCH_MXC || ARCH_MULTIPLATFORM)
9dab363f9SLinus Torvalds	depends on IMX_IPUV3_CORE
106556f7f8SPhilipp Zabel	help
116556f7f8SPhilipp Zabel	  enable i.MX graphics support
126556f7f8SPhilipp Zabel
136556f7f8SPhilipp Zabelconfig DRM_IMX_FB_HELPER
146556f7f8SPhilipp Zabel	tristate "provide legacy framebuffer /dev/fb0"
156556f7f8SPhilipp Zabel	select DRM_KMS_CMA_HELPER
166556f7f8SPhilipp Zabel	depends on DRM_IMX
176556f7f8SPhilipp Zabel	help
186556f7f8SPhilipp Zabel	  The DRM framework can provide a legacy /dev/fb0 framebuffer
196556f7f8SPhilipp Zabel	  for your device. This is necessary to get a framebuffer console
206556f7f8SPhilipp Zabel	  and also for applications using the legacy framebuffer API
216556f7f8SPhilipp Zabel
226556f7f8SPhilipp Zabelconfig DRM_IMX_PARALLEL_DISPLAY
236556f7f8SPhilipp Zabel	tristate "Support for parallel displays"
246556f7f8SPhilipp Zabel	select DRM_PANEL
256556f7f8SPhilipp Zabel	depends on DRM_IMX
266556f7f8SPhilipp Zabel	select VIDEOMODE_HELPERS
276556f7f8SPhilipp Zabel
286556f7f8SPhilipp Zabelconfig DRM_IMX_TVE
296556f7f8SPhilipp Zabel	tristate "Support for TV and VGA displays"
306556f7f8SPhilipp Zabel	depends on DRM_IMX
316556f7f8SPhilipp Zabel	select REGMAP_MMIO
326556f7f8SPhilipp Zabel	help
336556f7f8SPhilipp Zabel	  Choose this to enable the internal Television Encoder (TVe)
346556f7f8SPhilipp Zabel	  found on i.MX53 processors.
356556f7f8SPhilipp Zabel
366556f7f8SPhilipp Zabelconfig DRM_IMX_LDB
376556f7f8SPhilipp Zabel	tristate "Support for LVDS displays"
386556f7f8SPhilipp Zabel	depends on DRM_IMX && MFD_SYSCON
396556f7f8SPhilipp Zabel	help
406556f7f8SPhilipp Zabel	  Choose this to enable the internal LVDS Display Bridge (LDB)
416556f7f8SPhilipp Zabel	  found on i.MX53 and i.MX6 processors.
426556f7f8SPhilipp Zabel
436556f7f8SPhilipp Zabelconfig DRM_IMX_IPUV3
44dab363f9SLinus Torvalds	tristate
456556f7f8SPhilipp Zabel	depends on DRM_IMX
466556f7f8SPhilipp Zabel	depends on IMX_IPUV3_CORE
47dab363f9SLinus Torvalds	default y if DRM_IMX=y
48dab363f9SLinus Torvalds	default m if DRM_IMX=m
496556f7f8SPhilipp Zabel
506556f7f8SPhilipp Zabelconfig DRM_IMX_HDMI
516556f7f8SPhilipp Zabel	tristate "Freescale i.MX DRM HDMI"
526556f7f8SPhilipp Zabel	depends on DRM_IMX
536556f7f8SPhilipp Zabel	help
546556f7f8SPhilipp Zabel	  Choose this if you want to use HDMI on i.MX6.
55