blob: 5a7c9d8abd6b70f6893b303c34718b887af13182 [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
Sylwester Nawrocki691da76f2017-10-23 14:49:34 +02006 select SND_SOC_HDMI_CODEC if SND_SOC
Inki Dae1c248b72011-10-04 19:19:01 +09007 help
8 Choose this option if you have a Samsung SoC EXYNOS chipset.
9 If M is selected the module will be called exynosdrm.
10
Andrzej Hajdadba6c522015-10-26 13:03:43 +010011if DRM_EXYNOS
12
Inki Dae0519f9a2012-10-20 07:53:42 -070013config DRM_EXYNOS_IOMMU
Marek Szyprowski8dcc14f2015-01-20 15:31:14 +010014 bool
Marek Szyprowski197adf02016-06-17 09:54:27 +020015 depends on EXYNOS_IOMMU
Marek Szyprowski8dcc14f2015-01-20 15:31:14 +010016 default y
Inki Dae0519f9a2012-10-20 07:53:42 -070017
Andrzej Hajdaea977642015-10-26 13:03:44 +010018comment "CRTCs"
19
Inki Dae1c248b72011-10-04 19:19:01 +090020config DRM_EXYNOS_FIMD
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010021 bool "FIMD"
Andrzej Hajdadba6c522015-10-26 13:03:43 +010022 depends on !FB_S3C
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 help
36 Choose this option if you want to use Exynos DECON for DRM.
37
Andrzej Hajdaea977642015-10-26 13:03:44 +010038config DRM_EXYNOS_MIXER
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010039 bool "Mixer"
Andrzej Hajdaea977642015-10-26 13:03:44 +010040 help
41 Choose this option if you want to use Exynos Mixer for DRM.
42
43config DRM_EXYNOS_VIDI
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010044 bool "Virtual Display"
Andrzej Hajdaea977642015-10-26 13:03:44 +010045 help
46 Choose this option if you want to use Exynos VIDI for DRM.
47
48comment "Encoders and Bridges"
49
Andrzej Hajda14b68732014-03-17 13:03:56 +010050config DRM_EXYNOS_DPI
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010051 bool "Parallel output"
Andrzej Hajdaea977642015-10-26 13:03:44 +010052 depends on DRM_EXYNOS_FIMD
Andrzej Hajda14b68732014-03-17 13:03:56 +010053 select DRM_PANEL
54 default n
55 help
56 This enables support for Exynos parallel output.
57
Andrzej Hajda7eb8f062014-04-04 01:19:56 +090058config DRM_EXYNOS_DSI
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010059 bool "MIPI-DSI host"
Andrzej Hajdadba6c522015-10-26 13:03:43 +010060 depends on DRM_EXYNOS_FIMD || DRM_EXYNOS5433_DECON || DRM_EXYNOS7_DECON
Andrzej Hajda7eb8f062014-04-04 01:19:56 +090061 select DRM_MIPI_DSI
62 select DRM_PANEL
63 default n
64 help
65 This enables support for Exynos MIPI-DSI device.
66
Sean Paul2e4e6782014-01-30 16:19:22 -050067config DRM_EXYNOS_DP
Yakir Yang3424e3a2016-03-29 09:57:03 +080068 bool "EXYNOS specific extensions for Analogix DP driver"
Andrzej Hajdadba6c522015-10-26 13:03:43 +010069 depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON
Yakir Yang3424e3a2016-03-29 09:57:03 +080070 select DRM_ANALOGIX_DP
Sean Paul2e4e6782014-01-30 16:19:22 -050071 default DRM_EXYNOS
Ajay Kumar5f1dcd82014-07-31 23:12:14 +053072 select DRM_PANEL
Sean Paul2e4e6782014-01-30 16:19:22 -050073 help
74 This enables support for DP device.
75
Seung-Woo Kimd8408322011-12-21 17:39:39 +090076config DRM_EXYNOS_HDMI
Andrzej Hajda5a3c35b2015-10-26 13:03:45 +010077 bool "HDMI"
Hans Verkuild0d44512016-08-05 10:38:32 -030078 depends on DRM_EXYNOS_MIXER || DRM_EXYNOS5433_DECON
Hans Verkuil8f4e01f2017-07-17 13:48:14 +020079 select CEC_CORE if CEC_NOTIFIER
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"
Javier Martinez Canillas4e775242016-11-29 11:40:51 -0300117 depends on DRM_EXYNOS_IPP && ARCH_EXYNOS5 && VIDEO_SAMSUNG_EXYNOS_GSC=n
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