blob: 83f61c513b7e84f49e13eb037abda0a141854ed5 [file] [log] [blame]
Inki Dae1c248b72011-10-04 19:19:01 +09001config DRM_EXYNOS
2 tristate "DRM Support for Samsung SoC EXYNOS Series"
Joonyoung Shimdbbc9252016-02-03 13:42:45 +01003 depends on OF && DRM && (ARCH_S3C64XX || ARCH_EXYNOS || ARCH_MULTIPLATFORM)
Inki Dae1c248b72011-10-04 19:19:01 +09004 select DRM_KMS_HELPER
Sachin Kamat69142622013-08-30 14:40:51 +05305 select VIDEOMODE_HELPERS
Inki Dae1c248b72011-10-04 19:19:01 +09006 help
7 Choose this option if you have a Samsung SoC EXYNOS chipset.
8 If M is selected the module will be called exynosdrm.
9
Andrzej Hajdadba6c522015-10-26 13:03:43 +010010if DRM_EXYNOS
11
Inki Dae0519f9a2012-10-20 07:53:42 -070012config DRM_EXYNOS_IOMMU
Marek Szyprowski8dcc14f2015-01-20 15:31:14 +010013 bool
Marek Szyprowski197adf02016-06-17 09:54:27 +020014 depends on EXYNOS_IOMMU
Marek Szyprowski8dcc14f2015-01-20 15:31:14 +010015 default y
Inki Dae0519f9a2012-10-20 07:53:42 -070016
Andrzej Hajdaea977642015-10-26 13:03:44 +010017comment "CRTCs"
18
Inki Dae1c248b72011-10-04 19:19:01 +090019config DRM_EXYNOS_FIMD
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010020 bool "FIMD"
Andrzej Hajdadba6c522015-10-26 13:03:43 +010021 depends on !FB_S3C
Vikas Sajjan1e2a4ad2013-03-09 05:40:20 +053022 select FB_MODE_HELPERS
YoungJun Cho3854fab2014-07-17 18:01:21 +090023 select MFD_SYSCON
Inki Dae1c248b72011-10-04 19:19:01 +090024 help
25 Choose this option if you want to use Exynos FIMD for DRM.
Seung-Woo Kimd8408322011-12-21 17:39:39 +090026
Joonyoung Shimc8466a92015-06-12 21:59:00 +090027config DRM_EXYNOS5433_DECON
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010028 bool "DECON on Exynos5433"
Joonyoung Shimc8466a92015-06-12 21:59:00 +090029 help
30 Choose this option if you want to use Exynos5433 DECON for DRM.
31
Ajay Kumar96976c32015-02-05 21:24:04 +053032config DRM_EXYNOS7_DECON
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010033 bool "DECON on Exynos7"
Andrzej Hajdadba6c522015-10-26 13:03:43 +010034 depends on !FB_S3C
Ajay Kumar96976c32015-02-05 21:24:04 +053035 select FB_MODE_HELPERS
36 help
37 Choose this option if you want to use Exynos DECON for DRM.
38
Andrzej Hajdaea977642015-10-26 13:03:44 +010039config DRM_EXYNOS_MIXER
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010040 bool "Mixer"
Andrzej Hajdaea977642015-10-26 13:03:44 +010041 depends on !VIDEO_SAMSUNG_S5P_TV
42 help
43 Choose this option if you want to use Exynos Mixer for DRM.
44
45config DRM_EXYNOS_VIDI
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010046 bool "Virtual Display"
Andrzej Hajdaea977642015-10-26 13:03:44 +010047 help
48 Choose this option if you want to use Exynos VIDI for DRM.
49
50comment "Encoders and Bridges"
51
Andrzej Hajda14b68732014-03-17 13:03:56 +010052config DRM_EXYNOS_DPI
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010053 bool "Parallel output"
Andrzej Hajdaea977642015-10-26 13:03:44 +010054 depends on DRM_EXYNOS_FIMD
Andrzej Hajda14b68732014-03-17 13:03:56 +010055 select DRM_PANEL
56 default n
57 help
58 This enables support for Exynos parallel output.
59
Andrzej Hajda7eb8f062014-04-04 01:19:56 +090060config DRM_EXYNOS_DSI
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010061 bool "MIPI-DSI host"
Andrzej Hajdadba6c522015-10-26 13:03:43 +010062 depends on DRM_EXYNOS_FIMD || DRM_EXYNOS5433_DECON || DRM_EXYNOS7_DECON
Andrzej Hajda7eb8f062014-04-04 01:19:56 +090063 select DRM_MIPI_DSI
64 select DRM_PANEL
65 default n
66 help
67 This enables support for Exynos MIPI-DSI device.
68
Sean Paul2e4e6782014-01-30 16:19:22 -050069config DRM_EXYNOS_DP
Yakir Yang3424e3a2016-03-29 09:57:03 +080070 bool "EXYNOS specific extensions for Analogix DP driver"
Andrzej Hajdadba6c522015-10-26 13:03:43 +010071 depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON
Yakir Yang3424e3a2016-03-29 09:57:03 +080072 select DRM_ANALOGIX_DP
Sean Paul2e4e6782014-01-30 16:19:22 -050073 default DRM_EXYNOS
Ajay Kumar5f1dcd82014-07-31 23:12:14 +053074 select DRM_PANEL
Sean Paul2e4e6782014-01-30 16:19:22 -050075 help
76 This enables support for DP device.
77
Seung-Woo Kimd8408322011-12-21 17:39:39 +090078config DRM_EXYNOS_HDMI
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010079 bool "HDMI"
Andrzej Hajdadba6c522015-10-26 13:03:43 +010080 depends on !VIDEO_SAMSUNG_S5P_TV && (DRM_EXYNOS_MIXER || DRM_EXYNOS5433_DECON)
Seung-Woo Kimd8408322011-12-21 17:39:39 +090081 help
82 Choose this option if you want to use Exynos HDMI for DRM.
Inki Daeb73d1232012-03-21 10:55:26 +090083
Andrzej Hajdaea977642015-10-26 13:03:44 +010084config DRM_EXYNOS_MIC
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010085 bool "Mobile Image Compressor"
Andrzej Hajdaea977642015-10-26 13:03:44 +010086 depends on DRM_EXYNOS5433_DECON
Inki Daeb73d1232012-03-21 10:55:26 +090087 help
Andrzej Hajdaea977642015-10-26 13:03:44 +010088 Choose this option if you want to use Exynos MIC for DRM.
89
90comment "Sub-drivers"
Joonyoung Shimd7f16422012-05-17 20:06:32 +090091
92config DRM_EXYNOS_G2D
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010093 bool "G2D"
Javier Martinez Canillas12867e42016-03-29 10:28:55 +090094 depends on VIDEO_SAMSUNG_S5P_G2D=n
Jan Kara63540f02015-07-20 05:03:35 -030095 select FRAME_VECTOR
Joonyoung Shimd7f16422012-05-17 20:06:32 +090096 help
97 Choose this option if you want to use Exynos G2D for DRM.
Eunchul Kimcb471f142012-12-14 18:10:31 +090098
99config DRM_EXYNOS_IPP
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +0100100 bool "Image Post Processor"
Eunchul Kimcb471f142012-12-14 18:10:31 +0900101 help
102 Choose this option if you want to use IPP feature for DRM.
Eunchul Kim16102ed2012-12-14 17:58:55 +0900103
104config DRM_EXYNOS_FIMC
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +0100105 bool "FIMC"
Sachin Kamat09bd14b2013-09-05 16:25:32 +0530106 depends on DRM_EXYNOS_IPP && MFD_SYSCON
Eunchul Kim16102ed2012-12-14 17:58:55 +0900107 help
108 Choose this option if you want to use Exynos FIMC for DRM.
Eunchul Kimbea8a422012-12-14 17:58:56 +0900109
110config DRM_EXYNOS_ROTATOR
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +0100111 bool "Rotator"
Eunchul Kimbea8a422012-12-14 17:58:56 +0900112 depends on DRM_EXYNOS_IPP
113 help
114 Choose this option if you want to use Exynos Rotator for DRM.
115
Eunchul Kimf2646382012-12-14 17:58:57 +0900116config DRM_EXYNOS_GSC
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +0100117 bool "GScaler"
Seung-Woo Kimaeefb362015-11-30 14:53:18 +0100118 depends on DRM_EXYNOS_IPP && ARCH_EXYNOS5 && !VIDEO_SAMSUNG_EXYNOS_GSC
Eunchul Kimf2646382012-12-14 17:58:57 +0900119 help
120 Choose this option if you want to use Exynos GSC for DRM.
Hyungwon Hwang77bbd892015-06-12 21:59:02 +0900121
Andrzej Hajdadba6c522015-10-26 13:03:43 +0100122endif