blob: 1d185347c64c06f7b749061909390ea0953ed3f8 [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
YoungJun Cho3854fab2014-07-17 18:01:21 +090022 select MFD_SYSCON
Inki Dae1c248b72011-10-04 19:19:01 +090023 help
24 Choose this option if you want to use Exynos FIMD for DRM.
Seung-Woo Kimd8408322011-12-21 17:39:39 +090025
Joonyoung Shimc8466a92015-06-12 21:59:00 +090026config DRM_EXYNOS5433_DECON
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010027 bool "DECON on Exynos5433"
Joonyoung Shimc8466a92015-06-12 21:59:00 +090028 help
29 Choose this option if you want to use Exynos5433 DECON for DRM.
30
Ajay Kumar96976c32015-02-05 21:24:04 +053031config DRM_EXYNOS7_DECON
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010032 bool "DECON on Exynos7"
Andrzej Hajdadba6c522015-10-26 13:03:43 +010033 depends on !FB_S3C
Ajay Kumar96976c32015-02-05 21:24:04 +053034 help
35 Choose this option if you want to use Exynos DECON for DRM.
36
Andrzej Hajdaea977642015-10-26 13:03:44 +010037config DRM_EXYNOS_MIXER
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010038 bool "Mixer"
Andrzej Hajdaea977642015-10-26 13:03:44 +010039 help
40 Choose this option if you want to use Exynos Mixer for DRM.
41
42config DRM_EXYNOS_VIDI
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010043 bool "Virtual Display"
Andrzej Hajdaea977642015-10-26 13:03:44 +010044 help
45 Choose this option if you want to use Exynos VIDI for DRM.
46
47comment "Encoders and Bridges"
48
Andrzej Hajda14b68732014-03-17 13:03:56 +010049config DRM_EXYNOS_DPI
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010050 bool "Parallel output"
Andrzej Hajdaea977642015-10-26 13:03:44 +010051 depends on DRM_EXYNOS_FIMD
Andrzej Hajda14b68732014-03-17 13:03:56 +010052 select DRM_PANEL
53 default n
54 help
55 This enables support for Exynos parallel output.
56
Andrzej Hajda7eb8f062014-04-04 01:19:56 +090057config DRM_EXYNOS_DSI
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010058 bool "MIPI-DSI host"
Andrzej Hajdadba6c522015-10-26 13:03:43 +010059 depends on DRM_EXYNOS_FIMD || DRM_EXYNOS5433_DECON || DRM_EXYNOS7_DECON
Andrzej Hajda7eb8f062014-04-04 01:19:56 +090060 select DRM_MIPI_DSI
61 select DRM_PANEL
62 default n
63 help
64 This enables support for Exynos MIPI-DSI device.
65
Sean Paul2e4e6782014-01-30 16:19:22 -050066config DRM_EXYNOS_DP
Yakir Yang3424e3a2016-03-29 09:57:03 +080067 bool "EXYNOS specific extensions for Analogix DP driver"
Andrzej Hajdadba6c522015-10-26 13:03:43 +010068 depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON
Yakir Yang3424e3a2016-03-29 09:57:03 +080069 select DRM_ANALOGIX_DP
Sean Paul2e4e6782014-01-30 16:19:22 -050070 default DRM_EXYNOS
Ajay Kumar5f1dcd82014-07-31 23:12:14 +053071 select DRM_PANEL
Sean Paul2e4e6782014-01-30 16:19:22 -050072 help
73 This enables support for DP device.
74
Seung-Woo Kimd8408322011-12-21 17:39:39 +090075config DRM_EXYNOS_HDMI
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010076 bool "HDMI"
Hans Verkuild0d44512016-08-05 10:38:32 -030077 depends on DRM_EXYNOS_MIXER || DRM_EXYNOS5433_DECON
Seung-Woo Kimd8408322011-12-21 17:39:39 +090078 help
79 Choose this option if you want to use Exynos HDMI for DRM.
Inki Daeb73d1232012-03-21 10:55:26 +090080
Andrzej Hajdaea977642015-10-26 13:03:44 +010081config DRM_EXYNOS_MIC
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010082 bool "Mobile Image Compressor"
Andrzej Hajdaea977642015-10-26 13:03:44 +010083 depends on DRM_EXYNOS5433_DECON
Inki Daeb73d1232012-03-21 10:55:26 +090084 help
Andrzej Hajdaea977642015-10-26 13:03:44 +010085 Choose this option if you want to use Exynos MIC for DRM.
86
87comment "Sub-drivers"
Joonyoung Shimd7f16422012-05-17 20:06:32 +090088
89config DRM_EXYNOS_G2D
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010090 bool "G2D"
Javier Martinez Canillas12867e42016-03-29 10:28:55 +090091 depends on VIDEO_SAMSUNG_S5P_G2D=n
Jan Kara63540f02015-07-20 05:03:35 -030092 select FRAME_VECTOR
Joonyoung Shimd7f16422012-05-17 20:06:32 +090093 help
94 Choose this option if you want to use Exynos G2D for DRM.
Eunchul Kimcb471f142012-12-14 18:10:31 +090095
96config DRM_EXYNOS_IPP
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010097 bool "Image Post Processor"
Eunchul Kimcb471f142012-12-14 18:10:31 +090098 help
99 Choose this option if you want to use IPP feature for DRM.
Eunchul Kim16102ed2012-12-14 17:58:55 +0900100
101config DRM_EXYNOS_FIMC
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +0100102 bool "FIMC"
Sachin Kamat09bd14b2013-09-05 16:25:32 +0530103 depends on DRM_EXYNOS_IPP && MFD_SYSCON
Eunchul Kim16102ed2012-12-14 17:58:55 +0900104 help
105 Choose this option if you want to use Exynos FIMC for DRM.
Eunchul Kimbea8a422012-12-14 17:58:56 +0900106
107config DRM_EXYNOS_ROTATOR
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +0100108 bool "Rotator"
Eunchul Kimbea8a422012-12-14 17:58:56 +0900109 depends on DRM_EXYNOS_IPP
110 help
111 Choose this option if you want to use Exynos Rotator for DRM.
112
Eunchul Kimf2646382012-12-14 17:58:57 +0900113config DRM_EXYNOS_GSC
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +0100114 bool "GScaler"
Javier Martinez Canillas4e775242016-11-29 11:40:51 -0300115 depends on DRM_EXYNOS_IPP && ARCH_EXYNOS5 && VIDEO_SAMSUNG_EXYNOS_GSC=n
Eunchul Kimf2646382012-12-14 17:58:57 +0900116 help
117 Choose this option if you want to use Exynos GSC for DRM.
Hyungwon Hwang77bbd892015-06-12 21:59:02 +0900118
Andrzej Hajdadba6c522015-10-26 13:03:43 +0100119endif