xref: /openbmc/linux/drivers/gpu/drm/exynos/Kconfig (revision 156bdac9)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
21c248b7dSInki Daeconfig DRM_EXYNOS
31c248b7dSInki Dae	tristate "DRM Support for Samsung SoC EXYNOS Series"
4156bdac9SSam Ravnborg	depends on OF && DRM && (ARCH_S3C64XX || ARCH_S5PV210 || ARCH_EXYNOS || ARCH_MULTIPLATFORM || COMPILE_TEST)
51c248b7dSInki Dae	select DRM_KMS_HELPER
66914262aSSachin Kamat	select VIDEOMODE_HELPERS
7691da76fSSylwester Nawrocki	select SND_SOC_HDMI_CODEC if SND_SOC
81c248b7dSInki Dae	help
91c248b7dSInki Dae	  Choose this option if you have a Samsung SoC EXYNOS chipset.
101c248b7dSInki Dae	  If M is selected the module will be called exynosdrm.
111c248b7dSInki Dae
12dba6c528SAndrzej Hajdaif DRM_EXYNOS
13dba6c528SAndrzej Hajda
14ea977646SAndrzej Hajdacomment "CRTCs"
15ea977646SAndrzej Hajda
161c248b7dSInki Daeconfig DRM_EXYNOS_FIMD
175a3c35b3SAndrzej Hajda	bool "FIMD"
18dba6c528SAndrzej Hajda	depends on !FB_S3C
193854fab2SYoungJun Cho	select MFD_SYSCON
201c248b7dSInki Dae	help
211c248b7dSInki Dae	  Choose this option if you want to use Exynos FIMD for DRM.
22d8408326SSeung-Woo Kim
23c8466a91SJoonyoung Shimconfig DRM_EXYNOS5433_DECON
245a3c35b3SAndrzej Hajda	bool "DECON on Exynos5433"
25c8466a91SJoonyoung Shim	help
26c8466a91SJoonyoung Shim	  Choose this option if you want to use Exynos5433 DECON for DRM.
27c8466a91SJoonyoung Shim
2896976c3dSAjay Kumarconfig DRM_EXYNOS7_DECON
295a3c35b3SAndrzej Hajda	bool "DECON on Exynos7"
30dba6c528SAndrzej Hajda	depends on !FB_S3C
3196976c3dSAjay Kumar	help
3296976c3dSAjay Kumar	  Choose this option if you want to use Exynos DECON for DRM.
3396976c3dSAjay Kumar
34ea977646SAndrzej Hajdaconfig DRM_EXYNOS_MIXER
355a3c35b3SAndrzej Hajda	bool "Mixer"
36ea977646SAndrzej Hajda	help
37ea977646SAndrzej Hajda	  Choose this option if you want to use Exynos Mixer for DRM.
38ea977646SAndrzej Hajda
39ea977646SAndrzej Hajdaconfig DRM_EXYNOS_VIDI
405a3c35b3SAndrzej Hajda	bool "Virtual Display"
41ea977646SAndrzej Hajda	help
42ea977646SAndrzej Hajda	  Choose this option if you want to use Exynos VIDI for DRM.
43ea977646SAndrzej Hajda
44ea977646SAndrzej Hajdacomment "Encoders and Bridges"
45ea977646SAndrzej Hajda
4614b6873aSAndrzej Hajdaconfig DRM_EXYNOS_DPI
475a3c35b3SAndrzej Hajda	bool "Parallel output"
48ea977646SAndrzej Hajda	depends on DRM_EXYNOS_FIMD
4914b6873aSAndrzej Hajda	select DRM_PANEL
5014b6873aSAndrzej Hajda	default n
5114b6873aSAndrzej Hajda	help
5214b6873aSAndrzej Hajda	  This enables support for Exynos parallel output.
5314b6873aSAndrzej Hajda
547eb8f069SAndrzej Hajdaconfig DRM_EXYNOS_DSI
555a3c35b3SAndrzej Hajda	bool "MIPI-DSI host"
56dba6c528SAndrzej Hajda	depends on DRM_EXYNOS_FIMD || DRM_EXYNOS5433_DECON || DRM_EXYNOS7_DECON
577eb8f069SAndrzej Hajda	select DRM_MIPI_DSI
587eb8f069SAndrzej Hajda	select DRM_PANEL
597eb8f069SAndrzej Hajda	default n
607eb8f069SAndrzej Hajda	help
617eb8f069SAndrzej Hajda	  This enables support for Exynos MIPI-DSI device.
627eb8f069SAndrzej Hajda
632e4e678aSSean Paulconfig DRM_EXYNOS_DP
643424e3a4SYakir Yang	bool "EXYNOS specific extensions for Analogix DP driver"
65dba6c528SAndrzej Hajda	depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON
663424e3a4SYakir Yang	select DRM_ANALOGIX_DP
672e4e678aSSean Paul	default DRM_EXYNOS
685f1dcd8bSAjay Kumar	select DRM_PANEL
692e4e678aSSean Paul	help
702e4e678aSSean Paul	  This enables support for DP device.
712e4e678aSSean Paul
72d8408326SSeung-Woo Kimconfig DRM_EXYNOS_HDMI
735a3c35b3SAndrzej Hajda	bool "HDMI"
74d0d44516SHans Verkuil	depends on DRM_EXYNOS_MIXER || DRM_EXYNOS5433_DECON
758f4e01f9SHans Verkuil	select CEC_CORE if CEC_NOTIFIER
76d8408326SSeung-Woo Kim	help
77d8408326SSeung-Woo Kim	  Choose this option if you want to use Exynos HDMI for DRM.
78b73d1230SInki Dae
79ea977646SAndrzej Hajdaconfig DRM_EXYNOS_MIC
805a3c35b3SAndrzej Hajda	bool "Mobile Image Compressor"
81ea977646SAndrzej Hajda	depends on DRM_EXYNOS5433_DECON
82b73d1230SInki Dae	help
83ea977646SAndrzej Hajda	  Choose this option if you want to use Exynos MIC for DRM.
84ea977646SAndrzej Hajda
85ea977646SAndrzej Hajdacomment "Sub-drivers"
86d7f1642cSJoonyoung Shim
87d7f1642cSJoonyoung Shimconfig DRM_EXYNOS_G2D
885a3c35b3SAndrzej Hajda	bool "G2D"
89156bdac9SSam Ravnborg	depends on VIDEO_SAMSUNG_S5P_G2D=n || COMPILE_TEST
9063540f01SJan Kara	select FRAME_VECTOR
91d7f1642cSJoonyoung Shim	help
92d7f1642cSJoonyoung Shim	  Choose this option if you want to use Exynos G2D for DRM.
93cb471f14SEunchul Kim
949913f74fSMarek Szyprowskiconfig DRM_EXYNOS_IPP
959913f74fSMarek Szyprowski	bool
969913f74fSMarek Szyprowski
9716102edbSEunchul Kimconfig DRM_EXYNOS_FIMC
985a3c35b3SAndrzej Hajda	bool "FIMC"
997a2d5c77SMarek Szyprowski	select DRM_EXYNOS_IPP
10016102edbSEunchul Kim	help
10116102edbSEunchul Kim	  Choose this option if you want to use Exynos FIMC for DRM.
102bea8a429SEunchul Kim
103bea8a429SEunchul Kimconfig DRM_EXYNOS_ROTATOR
1045a3c35b3SAndrzej Hajda	bool "Rotator"
105d8cb9eeaSMarek Szyprowski	select DRM_EXYNOS_IPP
106bea8a429SEunchul Kim	help
107bea8a429SEunchul Kim	  Choose this option if you want to use Exynos Rotator for DRM.
108bea8a429SEunchul Kim
10901fb9185SAndrzej Pietrasiewiczconfig DRM_EXYNOS_SCALER
11001fb9185SAndrzej Pietrasiewicz	bool "Scaler"
11101fb9185SAndrzej Pietrasiewicz	select DRM_EXYNOS_IPP
11201fb9185SAndrzej Pietrasiewicz	help
11301fb9185SAndrzej Pietrasiewicz	  Choose this option if you want to use Exynos Scaler for DRM.
11401fb9185SAndrzej Pietrasiewicz
115f2646380SEunchul Kimconfig DRM_EXYNOS_GSC
1165a3c35b3SAndrzej Hajda	bool "GScaler"
117156bdac9SSam Ravnborg	depends on VIDEO_SAMSUNG_EXYNOS_GSC=n || COMPILE_TEST
1188b7d3ec8SMarek Szyprowski	select DRM_EXYNOS_IPP
119f2646380SEunchul Kim	help
120f2646380SEunchul Kim	  Choose this option if you want to use Exynos GSC for DRM.
12177bbd891SHyungwon Hwang
122dba6c528SAndrzej Hajdaendif
123