blob: 465d344f3391087670ca73db79a6400f91f7d980 [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 help
42 Choose this option if you want to use Exynos Mixer for DRM.
43
44config DRM_EXYNOS_VIDI
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010045 bool "Virtual Display"
Andrzej Hajdaea977642015-10-26 13:03:44 +010046 help
47 Choose this option if you want to use Exynos VIDI for DRM.
48
49comment "Encoders and Bridges"
50
Andrzej Hajda14b68732014-03-17 13:03:56 +010051config DRM_EXYNOS_DPI
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010052 bool "Parallel output"
Andrzej Hajdaea977642015-10-26 13:03:44 +010053 depends on DRM_EXYNOS_FIMD
Andrzej Hajda14b68732014-03-17 13:03:56 +010054 select DRM_PANEL
55 default n
56 help
57 This enables support for Exynos parallel output.
58
Andrzej Hajda7eb8f062014-04-04 01:19:56 +090059config DRM_EXYNOS_DSI
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010060 bool "MIPI-DSI host"
Andrzej Hajdadba6c522015-10-26 13:03:43 +010061 depends on DRM_EXYNOS_FIMD || DRM_EXYNOS5433_DECON || DRM_EXYNOS7_DECON
Andrzej Hajda7eb8f062014-04-04 01:19:56 +090062 select DRM_MIPI_DSI
63 select DRM_PANEL
64 default n
65 help
66 This enables support for Exynos MIPI-DSI device.
67
Sean Paul2e4e6782014-01-30 16:19:22 -050068config DRM_EXYNOS_DP
Yakir Yang3424e3a2016-03-29 09:57:03 +080069 bool "EXYNOS specific extensions for Analogix DP driver"
Andrzej Hajdadba6c522015-10-26 13:03:43 +010070 depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON
Yakir Yang3424e3a2016-03-29 09:57:03 +080071 select DRM_ANALOGIX_DP
Sean Paul2e4e6782014-01-30 16:19:22 -050072 default DRM_EXYNOS
Ajay Kumar5f1dcd82014-07-31 23:12:14 +053073 select DRM_PANEL
Sean Paul2e4e6782014-01-30 16:19:22 -050074 help
75 This enables support for DP device.
76
Seung-Woo Kimd8408322011-12-21 17:39:39 +090077config DRM_EXYNOS_HDMI
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010078 bool "HDMI"
Hans Verkuild0d44512016-08-05 10:38:32 -030079 depends on DRM_EXYNOS_MIXER || DRM_EXYNOS5433_DECON
Seung-Woo Kimd8408322011-12-21 17:39:39 +090080 help
81 Choose this option if you want to use Exynos HDMI for DRM.
Inki Daeb73d1232012-03-21 10:55:26 +090082
Andrzej Hajdaea977642015-10-26 13:03:44 +010083config DRM_EXYNOS_MIC
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010084 bool "Mobile Image Compressor"
Andrzej Hajdaea977642015-10-26 13:03:44 +010085 depends on DRM_EXYNOS5433_DECON
Inki Daeb73d1232012-03-21 10:55:26 +090086 help
Andrzej Hajdaea977642015-10-26 13:03:44 +010087 Choose this option if you want to use Exynos MIC for DRM.
88
89comment "Sub-drivers"
Joonyoung Shimd7f16422012-05-17 20:06:32 +090090
91config DRM_EXYNOS_G2D
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010092 bool "G2D"
Javier Martinez Canillas12867e42016-03-29 10:28:55 +090093 depends on VIDEO_SAMSUNG_S5P_G2D=n
Jan Kara63540f02015-07-20 05:03:35 -030094 select FRAME_VECTOR
Joonyoung Shimd7f16422012-05-17 20:06:32 +090095 help
96 Choose this option if you want to use Exynos G2D for DRM.
Eunchul Kimcb471f142012-12-14 18:10:31 +090097
98config DRM_EXYNOS_IPP
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010099 bool "Image Post Processor"
Eunchul Kimcb471f142012-12-14 18:10:31 +0900100 help
101 Choose this option if you want to use IPP feature for DRM.
Eunchul Kim16102ed2012-12-14 17:58:55 +0900102
103config DRM_EXYNOS_FIMC
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +0100104 bool "FIMC"
Sachin Kamat09bd14b2013-09-05 16:25:32 +0530105 depends on DRM_EXYNOS_IPP && MFD_SYSCON
Eunchul Kim16102ed2012-12-14 17:58:55 +0900106 help
107 Choose this option if you want to use Exynos FIMC for DRM.
Eunchul Kimbea8a422012-12-14 17:58:56 +0900108
109config DRM_EXYNOS_ROTATOR
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +0100110 bool "Rotator"
Eunchul Kimbea8a422012-12-14 17:58:56 +0900111 depends on DRM_EXYNOS_IPP
112 help
113 Choose this option if you want to use Exynos Rotator for DRM.
114
Eunchul Kimf2646382012-12-14 17:58:57 +0900115config DRM_EXYNOS_GSC
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +0100116 bool "GScaler"
Seung-Woo Kimaeefb362015-11-30 14:53:18 +0100117 depends on DRM_EXYNOS_IPP && ARCH_EXYNOS5 && !VIDEO_SAMSUNG_EXYNOS_GSC
Eunchul Kimf2646382012-12-14 17:58:57 +0900118 help
119 Choose this option if you want to use Exynos GSC for DRM.
Hyungwon Hwang77bbd892015-06-12 21:59:02 +0900120
Andrzej Hajdadba6c522015-10-26 13:03:43 +0100121endif