blob: 305dc3d4ff772a7fe8a1ad80b9a2897f04a4cca1 [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
Hans Verkuil8f4e01f2017-07-17 13:48:14 +020078 select CEC_CORE if CEC_NOTIFIER
Seung-Woo Kimd8408322011-12-21 17:39:39 +090079 help
80 Choose this option if you want to use Exynos HDMI for DRM.
Inki Daeb73d1232012-03-21 10:55:26 +090081
Andrzej Hajdaea977642015-10-26 13:03:44 +010082config DRM_EXYNOS_MIC
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010083 bool "Mobile Image Compressor"
Andrzej Hajdaea977642015-10-26 13:03:44 +010084 depends on DRM_EXYNOS5433_DECON
Inki Daeb73d1232012-03-21 10:55:26 +090085 help
Andrzej Hajdaea977642015-10-26 13:03:44 +010086 Choose this option if you want to use Exynos MIC for DRM.
87
88comment "Sub-drivers"
Joonyoung Shimd7f16422012-05-17 20:06:32 +090089
90config DRM_EXYNOS_G2D
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010091 bool "G2D"
Javier Martinez Canillas12867e42016-03-29 10:28:55 +090092 depends on VIDEO_SAMSUNG_S5P_G2D=n
Jan Kara63540f02015-07-20 05:03:35 -030093 select FRAME_VECTOR
Joonyoung Shimd7f16422012-05-17 20:06:32 +090094 help
95 Choose this option if you want to use Exynos G2D for DRM.
Eunchul Kimcb471f142012-12-14 18:10:31 +090096
97config DRM_EXYNOS_IPP
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010098 bool "Image Post Processor"
Eunchul Kimcb471f142012-12-14 18:10:31 +090099 help
100 Choose this option if you want to use IPP feature for DRM.
Eunchul Kim16102ed2012-12-14 17:58:55 +0900101
102config DRM_EXYNOS_FIMC
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +0100103 bool "FIMC"
Sachin Kamat09bd14b2013-09-05 16:25:32 +0530104 depends on DRM_EXYNOS_IPP && MFD_SYSCON
Eunchul Kim16102ed2012-12-14 17:58:55 +0900105 help
106 Choose this option if you want to use Exynos FIMC for DRM.
Eunchul Kimbea8a422012-12-14 17:58:56 +0900107
108config DRM_EXYNOS_ROTATOR
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +0100109 bool "Rotator"
Eunchul Kimbea8a422012-12-14 17:58:56 +0900110 depends on DRM_EXYNOS_IPP
111 help
112 Choose this option if you want to use Exynos Rotator for DRM.
113
Eunchul Kimf2646382012-12-14 17:58:57 +0900114config DRM_EXYNOS_GSC
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +0100115 bool "GScaler"
Javier Martinez Canillas4e775242016-11-29 11:40:51 -0300116 depends on DRM_EXYNOS_IPP && ARCH_EXYNOS5 && VIDEO_SAMSUNG_EXYNOS_GSC=n
Eunchul Kimf2646382012-12-14 17:58:57 +0900117 help
118 Choose this option if you want to use Exynos GSC for DRM.
Hyungwon Hwang77bbd892015-06-12 21:59:02 +0900119
Andrzej Hajdadba6c522015-10-26 13:03:43 +0100120endif