xref: /linux/drivers/gpu/drm/exynos/Kconfig (revision d8cb9eeaa79fce028982589da8696df6bb10b903)
11c248b7dSInki Daeconfig DRM_EXYNOS
21c248b7dSInki Dae	tristate "DRM Support for Samsung SoC EXYNOS Series"
35fae288dSPaweł Chmiel	depends on OF && DRM && (ARCH_S3C64XX || ARCH_S5PV210 || ARCH_EXYNOS || ARCH_MULTIPLATFORM)
41c248b7dSInki Dae	select DRM_KMS_HELPER
56914262aSSachin Kamat	select VIDEOMODE_HELPERS
6691da76fSSylwester Nawrocki	select SND_SOC_HDMI_CODEC if SND_SOC
71c248b7dSInki Dae	help
81c248b7dSInki Dae	  Choose this option if you have a Samsung SoC EXYNOS chipset.
91c248b7dSInki Dae	  If M is selected the module will be called exynosdrm.
101c248b7dSInki Dae
11dba6c528SAndrzej Hajdaif DRM_EXYNOS
12dba6c528SAndrzej Hajda
130519f9a1SInki Daeconfig DRM_EXYNOS_IOMMU
148dcc14f8SMarek Szyprowski	bool
15197adf0bSMarek Szyprowski	depends on EXYNOS_IOMMU
168dcc14f8SMarek Szyprowski	default y
170519f9a1SInki Dae
18ea977646SAndrzej Hajdacomment "CRTCs"
19ea977646SAndrzej Hajda
201c248b7dSInki Daeconfig DRM_EXYNOS_FIMD
215a3c35b3SAndrzej Hajda	bool "FIMD"
22dba6c528SAndrzej Hajda	depends on !FB_S3C
233854fab2SYoungJun Cho	select MFD_SYSCON
241c248b7dSInki Dae	help
251c248b7dSInki Dae	  Choose this option if you want to use Exynos FIMD for DRM.
26d8408326SSeung-Woo Kim
27c8466a91SJoonyoung Shimconfig DRM_EXYNOS5433_DECON
285a3c35b3SAndrzej Hajda	bool "DECON on Exynos5433"
29c8466a91SJoonyoung Shim	help
30c8466a91SJoonyoung Shim	  Choose this option if you want to use Exynos5433 DECON for DRM.
31c8466a91SJoonyoung Shim
3296976c3dSAjay Kumarconfig DRM_EXYNOS7_DECON
335a3c35b3SAndrzej Hajda	bool "DECON on Exynos7"
34dba6c528SAndrzej Hajda	depends on !FB_S3C
3596976c3dSAjay Kumar	help
3696976c3dSAjay Kumar	  Choose this option if you want to use Exynos DECON for DRM.
3796976c3dSAjay Kumar
38ea977646SAndrzej Hajdaconfig DRM_EXYNOS_MIXER
395a3c35b3SAndrzej Hajda	bool "Mixer"
40ea977646SAndrzej Hajda	help
41ea977646SAndrzej Hajda	  Choose this option if you want to use Exynos Mixer for DRM.
42ea977646SAndrzej Hajda
43ea977646SAndrzej Hajdaconfig DRM_EXYNOS_VIDI
445a3c35b3SAndrzej Hajda	bool "Virtual Display"
45ea977646SAndrzej Hajda	help
46ea977646SAndrzej Hajda	  Choose this option if you want to use Exynos VIDI for DRM.
47ea977646SAndrzej Hajda
48ea977646SAndrzej Hajdacomment "Encoders and Bridges"
49ea977646SAndrzej Hajda
5014b6873aSAndrzej Hajdaconfig DRM_EXYNOS_DPI
515a3c35b3SAndrzej Hajda	bool "Parallel output"
52ea977646SAndrzej Hajda	depends on DRM_EXYNOS_FIMD
5314b6873aSAndrzej Hajda	select DRM_PANEL
5414b6873aSAndrzej Hajda	default n
5514b6873aSAndrzej Hajda	help
5614b6873aSAndrzej Hajda	  This enables support for Exynos parallel output.
5714b6873aSAndrzej Hajda
587eb8f069SAndrzej Hajdaconfig DRM_EXYNOS_DSI
595a3c35b3SAndrzej Hajda	bool "MIPI-DSI host"
60dba6c528SAndrzej Hajda	depends on DRM_EXYNOS_FIMD || DRM_EXYNOS5433_DECON || DRM_EXYNOS7_DECON
617eb8f069SAndrzej Hajda	select DRM_MIPI_DSI
627eb8f069SAndrzej Hajda	select DRM_PANEL
637eb8f069SAndrzej Hajda	default n
647eb8f069SAndrzej Hajda	help
657eb8f069SAndrzej Hajda	  This enables support for Exynos MIPI-DSI device.
667eb8f069SAndrzej Hajda
672e4e678aSSean Paulconfig DRM_EXYNOS_DP
683424e3a4SYakir Yang	bool "EXYNOS specific extensions for Analogix DP driver"
69dba6c528SAndrzej Hajda	depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON
703424e3a4SYakir Yang	select DRM_ANALOGIX_DP
712e4e678aSSean Paul	default DRM_EXYNOS
725f1dcd8bSAjay Kumar	select DRM_PANEL
732e4e678aSSean Paul	help
742e4e678aSSean Paul	  This enables support for DP device.
752e4e678aSSean Paul
76d8408326SSeung-Woo Kimconfig DRM_EXYNOS_HDMI
775a3c35b3SAndrzej Hajda	bool "HDMI"
78d0d44516SHans Verkuil	depends on DRM_EXYNOS_MIXER || DRM_EXYNOS5433_DECON
798f4e01f9SHans Verkuil	select CEC_CORE if CEC_NOTIFIER
80d8408326SSeung-Woo Kim	help
81d8408326SSeung-Woo Kim	  Choose this option if you want to use Exynos HDMI for DRM.
82b73d1230SInki Dae
83ea977646SAndrzej Hajdaconfig DRM_EXYNOS_MIC
845a3c35b3SAndrzej Hajda	bool "Mobile Image Compressor"
85ea977646SAndrzej Hajda	depends on DRM_EXYNOS5433_DECON
86b73d1230SInki Dae	help
87ea977646SAndrzej Hajda	  Choose this option if you want to use Exynos MIC for DRM.
88ea977646SAndrzej Hajda
89ea977646SAndrzej Hajdacomment "Sub-drivers"
90d7f1642cSJoonyoung Shim
91d7f1642cSJoonyoung Shimconfig DRM_EXYNOS_G2D
925a3c35b3SAndrzej Hajda	bool "G2D"
9312867e4eSJavier Martinez Canillas	depends on VIDEO_SAMSUNG_S5P_G2D=n
9463540f01SJan Kara	select FRAME_VECTOR
95d7f1642cSJoonyoung Shim	help
96d7f1642cSJoonyoung Shim	  Choose this option if you want to use Exynos G2D for DRM.
97cb471f14SEunchul Kim
989913f74fSMarek Szyprowskiconfig DRM_EXYNOS_IPP
999913f74fSMarek Szyprowski	bool
1009913f74fSMarek Szyprowski
10116102edbSEunchul Kimconfig DRM_EXYNOS_FIMC
1025a3c35b3SAndrzej Hajda	bool "FIMC"
1038ded5941SMarek Szyprowski	depends on BROKEN && MFD_SYSCON
10416102edbSEunchul Kim	help
10516102edbSEunchul Kim	  Choose this option if you want to use Exynos FIMC for DRM.
106bea8a429SEunchul Kim
107bea8a429SEunchul Kimconfig DRM_EXYNOS_ROTATOR
1085a3c35b3SAndrzej Hajda	bool "Rotator"
109*d8cb9eeaSMarek Szyprowski	select DRM_EXYNOS_IPP
110bea8a429SEunchul Kim	help
111bea8a429SEunchul Kim	  Choose this option if you want to use Exynos Rotator for DRM.
112bea8a429SEunchul Kim
113f2646380SEunchul Kimconfig DRM_EXYNOS_GSC
1145a3c35b3SAndrzej Hajda	bool "GScaler"
1158ded5941SMarek Szyprowski	depends on BROKEN && ARCH_EXYNOS5 && VIDEO_SAMSUNG_EXYNOS_GSC=n
116f2646380SEunchul Kim	help
117f2646380SEunchul Kim	  Choose this option if you want to use Exynos GSC for DRM.
11877bbd891SHyungwon Hwang
119dba6c528SAndrzej Hajdaendif
120