xref: /openbmc/linux/drivers/gpu/drm/exynos/Kconfig (revision c0bf499f)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
21c248b7dSInki Daeconfig DRM_EXYNOS
3c0bf499fSKrzysztof Kozlowski	tristate "DRM Support for Samsung SoC Exynos Series"
4156bdac9SSam Ravnborg	depends on OF && DRM && (ARCH_S3C64XX || ARCH_S5PV210 || ARCH_EXYNOS || ARCH_MULTIPLATFORM || COMPILE_TEST)
5d6f25bd9SArnd Bergmann	depends on MMU
61c248b7dSInki Dae	select DRM_KMS_HELPER
76914262aSSachin Kamat	select VIDEOMODE_HELPERS
8691da76fSSylwester Nawrocki	select SND_SOC_HDMI_CODEC if SND_SOC
91c248b7dSInki Dae	help
10c0bf499fSKrzysztof Kozlowski	  Choose this option if you have a Samsung SoC Exynos chipset.
111c248b7dSInki Dae	  If M is selected the module will be called exynosdrm.
121c248b7dSInki Dae
13dba6c528SAndrzej Hajdaif DRM_EXYNOS
14dba6c528SAndrzej Hajda
15ea977646SAndrzej Hajdacomment "CRTCs"
16ea977646SAndrzej Hajda
171c248b7dSInki Daeconfig DRM_EXYNOS_FIMD
185a3c35b3SAndrzej Hajda	bool "FIMD"
19dba6c528SAndrzej Hajda	depends on !FB_S3C
203854fab2SYoungJun Cho	select MFD_SYSCON
211c248b7dSInki Dae	help
221c248b7dSInki Dae	  Choose this option if you want to use Exynos FIMD for DRM.
23d8408326SSeung-Woo Kim
24c8466a91SJoonyoung Shimconfig DRM_EXYNOS5433_DECON
255a3c35b3SAndrzej Hajda	bool "DECON on Exynos5433"
26c8466a91SJoonyoung Shim	help
27c8466a91SJoonyoung Shim	  Choose this option if you want to use Exynos5433 DECON for DRM.
28c8466a91SJoonyoung Shim
2996976c3dSAjay Kumarconfig DRM_EXYNOS7_DECON
305a3c35b3SAndrzej Hajda	bool "DECON on Exynos7"
31dba6c528SAndrzej Hajda	depends on !FB_S3C
3296976c3dSAjay Kumar	help
3396976c3dSAjay Kumar	  Choose this option if you want to use Exynos DECON for DRM.
3496976c3dSAjay Kumar
35ea977646SAndrzej Hajdaconfig DRM_EXYNOS_MIXER
365a3c35b3SAndrzej Hajda	bool "Mixer"
37ea977646SAndrzej Hajda	help
38ea977646SAndrzej Hajda	  Choose this option if you want to use Exynos Mixer for DRM.
39ea977646SAndrzej Hajda
40ea977646SAndrzej Hajdaconfig DRM_EXYNOS_VIDI
415a3c35b3SAndrzej Hajda	bool "Virtual Display"
42ea977646SAndrzej Hajda	help
43ea977646SAndrzej Hajda	  Choose this option if you want to use Exynos VIDI for DRM.
44ea977646SAndrzej Hajda
45ea977646SAndrzej Hajdacomment "Encoders and Bridges"
46ea977646SAndrzej Hajda
4714b6873aSAndrzej Hajdaconfig DRM_EXYNOS_DPI
485a3c35b3SAndrzej Hajda	bool "Parallel output"
49ea977646SAndrzej Hajda	depends on DRM_EXYNOS_FIMD
5014b6873aSAndrzej Hajda	select DRM_PANEL
5114b6873aSAndrzej Hajda	default n
5214b6873aSAndrzej Hajda	help
5314b6873aSAndrzej Hajda	  This enables support for Exynos parallel output.
5414b6873aSAndrzej Hajda
557eb8f069SAndrzej Hajdaconfig DRM_EXYNOS_DSI
565a3c35b3SAndrzej Hajda	bool "MIPI-DSI host"
57dba6c528SAndrzej Hajda	depends on DRM_EXYNOS_FIMD || DRM_EXYNOS5433_DECON || DRM_EXYNOS7_DECON
587eb8f069SAndrzej Hajda	select DRM_MIPI_DSI
597eb8f069SAndrzej Hajda	select DRM_PANEL
607eb8f069SAndrzej Hajda	default n
617eb8f069SAndrzej Hajda	help
627eb8f069SAndrzej Hajda	  This enables support for Exynos MIPI-DSI device.
637eb8f069SAndrzej Hajda
642e4e678aSSean Paulconfig DRM_EXYNOS_DP
65c0bf499fSKrzysztof Kozlowski	bool "Exynos specific extensions for Analogix DP driver"
66dba6c528SAndrzej Hajda	depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON
673424e3a4SYakir Yang	select DRM_ANALOGIX_DP
682e4e678aSSean Paul	default DRM_EXYNOS
695f1dcd8bSAjay Kumar	select DRM_PANEL
702e4e678aSSean Paul	help
712e4e678aSSean Paul	  This enables support for DP device.
722e4e678aSSean Paul
73d8408326SSeung-Woo Kimconfig DRM_EXYNOS_HDMI
745a3c35b3SAndrzej Hajda	bool "HDMI"
75d0d44516SHans Verkuil	depends on DRM_EXYNOS_MIXER || DRM_EXYNOS5433_DECON
768f4e01f9SHans Verkuil	select CEC_CORE if CEC_NOTIFIER
77d8408326SSeung-Woo Kim	help
78d8408326SSeung-Woo Kim	  Choose this option if you want to use Exynos HDMI for DRM.
79b73d1230SInki Dae
80ea977646SAndrzej Hajdaconfig DRM_EXYNOS_MIC
815a3c35b3SAndrzej Hajda	bool "Mobile Image Compressor"
82ea977646SAndrzej Hajda	depends on DRM_EXYNOS5433_DECON
83b73d1230SInki Dae	help
84ea977646SAndrzej Hajda	  Choose this option if you want to use Exynos MIC for DRM.
85ea977646SAndrzej Hajda
86ea977646SAndrzej Hajdacomment "Sub-drivers"
87d7f1642cSJoonyoung Shim
88d7f1642cSJoonyoung Shimconfig DRM_EXYNOS_G2D
895a3c35b3SAndrzej Hajda	bool "G2D"
90156bdac9SSam Ravnborg	depends on VIDEO_SAMSUNG_S5P_G2D=n || COMPILE_TEST
9163540f01SJan Kara	select FRAME_VECTOR
92d7f1642cSJoonyoung Shim	help
93d7f1642cSJoonyoung Shim	  Choose this option if you want to use Exynos G2D for DRM.
94cb471f14SEunchul Kim
959913f74fSMarek Szyprowskiconfig DRM_EXYNOS_IPP
969913f74fSMarek Szyprowski	bool
979913f74fSMarek Szyprowski
9816102edbSEunchul Kimconfig DRM_EXYNOS_FIMC
995a3c35b3SAndrzej Hajda	bool "FIMC"
1007a2d5c77SMarek Szyprowski	select DRM_EXYNOS_IPP
10116102edbSEunchul Kim	help
10216102edbSEunchul Kim	  Choose this option if you want to use Exynos FIMC for DRM.
103bea8a429SEunchul Kim
104bea8a429SEunchul Kimconfig DRM_EXYNOS_ROTATOR
1055a3c35b3SAndrzej Hajda	bool "Rotator"
106d8cb9eeaSMarek Szyprowski	select DRM_EXYNOS_IPP
107bea8a429SEunchul Kim	help
108bea8a429SEunchul Kim	  Choose this option if you want to use Exynos Rotator for DRM.
109bea8a429SEunchul Kim
11001fb9185SAndrzej Pietrasiewiczconfig DRM_EXYNOS_SCALER
11101fb9185SAndrzej Pietrasiewicz	bool "Scaler"
11201fb9185SAndrzej Pietrasiewicz	select DRM_EXYNOS_IPP
11301fb9185SAndrzej Pietrasiewicz	help
11401fb9185SAndrzej Pietrasiewicz	  Choose this option if you want to use Exynos Scaler for DRM.
11501fb9185SAndrzej Pietrasiewicz
116f2646380SEunchul Kimconfig DRM_EXYNOS_GSC
1175a3c35b3SAndrzej Hajda	bool "GScaler"
118156bdac9SSam Ravnborg	depends on VIDEO_SAMSUNG_EXYNOS_GSC=n || COMPILE_TEST
1198b7d3ec8SMarek Szyprowski	select DRM_EXYNOS_IPP
120f2646380SEunchul Kim	help
121f2646380SEunchul Kim	  Choose this option if you want to use Exynos GSC for DRM.
12277bbd891SHyungwon Hwang
123dba6c528SAndrzej Hajdaendif
124