blob: 2b81a417cf291e11c78cbbc6672dbfed46aaaf28 [file] [log] [blame]
Sascha Hauere692da42012-09-21 10:07:47 +02001config DRM_IMX
2 tristate "DRM Support for Freescale i.MX"
3 select DRM_KMS_HELPER
Daniel Vetter92b6f892013-10-08 17:44:47 +02004 select DRM_KMS_FB_HELPER
Arnd Bergmannfcce7682013-05-02 17:16:08 +02005 select VIDEOMODE_HELPERS
Sascha Hauere692da42012-09-21 10:07:47 +02006 select DRM_GEM_CMA_HELPER
7 select DRM_KMS_CMA_HELPER
Chen Gang Sdb88c8f2015-02-01 22:08:33 +08008 depends on DRM && (ARCH_MXC || ARCH_MULTIPLATFORM) && HAVE_DMA_ATTRS
Philipp Zabel161f6d82014-10-09 15:21:17 +02009 depends on IMX_IPUV3_CORE
Sascha Hauere692da42012-09-21 10:07:47 +020010 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
Masanari Iida45999342013-07-24 01:05:07 +090020 and also for applications using the legacy framebuffer API
Sascha Hauer19022aa2012-09-21 10:07:48 +020021
22config DRM_IMX_PARALLEL_DISPLAY
23 tristate "Support for parallel displays"
Philipp Zabel628f435b2014-02-25 11:55:04 +010024 select DRM_PANEL
Sascha Hauer19022aa2012-09-21 10:07:48 +020025 depends on DRM_IMX
Marek Vasut8c24d6e2013-04-24 20:43:59 +020026 select VIDEOMODE_HELPERS
Sascha Haueraecfbdb2012-09-21 10:07:49 +020027
Philipp Zabelfcbc51e2013-04-08 18:04:38 +020028config DRM_IMX_TVE
29 tristate "Support for TV and VGA displays"
30 depends on DRM_IMX
Arnd Bergmannfcce7682013-05-02 17:16:08 +020031 select REGMAP_MMIO
Philipp Zabelfcbc51e2013-04-08 18:04:38 +020032 help
33 Choose this to enable the internal Television Encoder (TVe)
34 found on i.MX53 processors.
35
Sascha Hauerac4c1a92013-06-18 09:23:57 +080036config DRM_IMX_LDB
37 tristate "Support for LVDS displays"
Jingoo Han64cb7ce2013-08-01 09:32:29 +090038 depends on DRM_IMX && MFD_SYSCON
Philipp Zabel751e2672014-03-06 14:54:39 +010039 select DRM_PANEL
Sascha Hauerac4c1a92013-06-18 09:23:57 +080040 help
41 Choose this to enable the internal LVDS Display Bridge (LDB)
42 found on i.MX53 and i.MX6 processors.
43
Sascha Hauerf326f792012-09-21 10:07:50 +020044config DRM_IMX_IPUV3
Philipp Zabel161f6d82014-10-09 15:21:17 +020045 tristate
Sascha Hauerf326f792012-09-21 10:07:50 +020046 depends on DRM_IMX
Philipp Zabel39b90042013-09-30 16:13:39 +020047 depends on IMX_IPUV3_CORE
Philipp Zabel161f6d82014-10-09 15:21:17 +020048 default y if DRM_IMX=y
49 default m if DRM_IMX=m
Fabio Estevam9aaf8802013-11-29 08:46:32 -020050
51config DRM_IMX_HDMI
52 tristate "Freescale i.MX DRM HDMI"
Andy Yanb21f4b62014-12-05 14:26:31 +080053 select DRM_DW_HDMI
Fabio Estevam9aaf8802013-11-29 08:46:32 -020054 depends on DRM_IMX
55 help
56 Choose this if you want to use HDMI on i.MX6.