162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ciconfig DRM_EXYNOS
362306a36Sopenharmony_ci	tristate "DRM Support for Samsung SoC Exynos Series"
462306a36Sopenharmony_ci	depends on OF && DRM && COMMON_CLK
562306a36Sopenharmony_ci	depends on ARCH_S3C64XX || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
662306a36Sopenharmony_ci	depends on MMU
762306a36Sopenharmony_ci	select DRM_DISPLAY_HELPER if DRM_EXYNOS_DP
862306a36Sopenharmony_ci	select DRM_KMS_HELPER
962306a36Sopenharmony_ci	select VIDEOMODE_HELPERS
1062306a36Sopenharmony_ci	select FB_DMAMEM_HELPERS if DRM_FBDEV_EMULATION
1162306a36Sopenharmony_ci	select SND_SOC_HDMI_CODEC if SND_SOC
1262306a36Sopenharmony_ci	help
1362306a36Sopenharmony_ci	  Choose this option if you have a Samsung SoC Exynos chipset.
1462306a36Sopenharmony_ci	  If M is selected the module will be called exynosdrm.
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ciif DRM_EXYNOS
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_cicomment "CRTCs"
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ciconfig DRM_EXYNOS_FIMD
2162306a36Sopenharmony_ci	bool "FIMD"
2262306a36Sopenharmony_ci	depends on !FB_S3C
2362306a36Sopenharmony_ci	select MFD_SYSCON
2462306a36Sopenharmony_ci	help
2562306a36Sopenharmony_ci	  Choose this option if you want to use Exynos FIMD for DRM.
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciconfig DRM_EXYNOS5433_DECON
2862306a36Sopenharmony_ci	bool "DECON on Exynos5433"
2962306a36Sopenharmony_ci	help
3062306a36Sopenharmony_ci	  Choose this option if you want to use Exynos5433 DECON for DRM.
3162306a36Sopenharmony_ci
3262306a36Sopenharmony_ciconfig DRM_EXYNOS7_DECON
3362306a36Sopenharmony_ci	bool "DECON on Exynos7"
3462306a36Sopenharmony_ci	depends on !FB_S3C
3562306a36Sopenharmony_ci	help
3662306a36Sopenharmony_ci	  Choose this option if you want to use Exynos DECON for DRM.
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ciconfig DRM_EXYNOS_MIXER
3962306a36Sopenharmony_ci	bool "Mixer"
4062306a36Sopenharmony_ci	help
4162306a36Sopenharmony_ci	  Choose this option if you want to use Exynos Mixer for DRM.
4262306a36Sopenharmony_ci
4362306a36Sopenharmony_ciconfig DRM_EXYNOS_VIDI
4462306a36Sopenharmony_ci	bool "Virtual Display"
4562306a36Sopenharmony_ci	help
4662306a36Sopenharmony_ci	  Choose this option if you want to use Exynos VIDI for DRM.
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_cicomment "Encoders and Bridges"
4962306a36Sopenharmony_ci
5062306a36Sopenharmony_ciconfig DRM_EXYNOS_DPI
5162306a36Sopenharmony_ci	bool "Parallel output"
5262306a36Sopenharmony_ci	depends on DRM_EXYNOS_FIMD
5362306a36Sopenharmony_ci	select DRM_PANEL
5462306a36Sopenharmony_ci	default n
5562306a36Sopenharmony_ci	help
5662306a36Sopenharmony_ci	  This enables support for Exynos parallel output.
5762306a36Sopenharmony_ci
5862306a36Sopenharmony_ciconfig DRM_EXYNOS_DSI
5962306a36Sopenharmony_ci	bool "MIPI-DSI host"
6062306a36Sopenharmony_ci	depends on DRM_EXYNOS_FIMD || DRM_EXYNOS5433_DECON || DRM_EXYNOS7_DECON
6162306a36Sopenharmony_ci	select DRM_MIPI_DSI
6262306a36Sopenharmony_ci	select DRM_PANEL
6362306a36Sopenharmony_ci	select DRM_SAMSUNG_DSIM
6462306a36Sopenharmony_ci	default n
6562306a36Sopenharmony_ci	help
6662306a36Sopenharmony_ci	  This enables support for Exynos MIPI-DSI device.
6762306a36Sopenharmony_ci
6862306a36Sopenharmony_ciconfig DRM_EXYNOS_DP
6962306a36Sopenharmony_ci	bool "Exynos specific extensions for Analogix DP driver"
7062306a36Sopenharmony_ci	depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON
7162306a36Sopenharmony_ci	select DRM_ANALOGIX_DP
7262306a36Sopenharmony_ci	select DRM_DISPLAY_DP_HELPER
7362306a36Sopenharmony_ci	default DRM_EXYNOS
7462306a36Sopenharmony_ci	select DRM_PANEL
7562306a36Sopenharmony_ci	help
7662306a36Sopenharmony_ci	  This enables support for DP device.
7762306a36Sopenharmony_ci
7862306a36Sopenharmony_ciconfig DRM_EXYNOS_HDMI
7962306a36Sopenharmony_ci	bool "HDMI"
8062306a36Sopenharmony_ci	depends on DRM_EXYNOS_MIXER || DRM_EXYNOS5433_DECON
8162306a36Sopenharmony_ci	select CEC_CORE if CEC_NOTIFIER
8262306a36Sopenharmony_ci	help
8362306a36Sopenharmony_ci	  Choose this option if you want to use Exynos HDMI for DRM.
8462306a36Sopenharmony_ci
8562306a36Sopenharmony_ciconfig DRM_EXYNOS_MIC
8662306a36Sopenharmony_ci	bool "Mobile Image Compressor"
8762306a36Sopenharmony_ci	depends on DRM_EXYNOS5433_DECON
8862306a36Sopenharmony_ci	help
8962306a36Sopenharmony_ci	  Choose this option if you want to use Exynos MIC for DRM.
9062306a36Sopenharmony_ci
9162306a36Sopenharmony_cicomment "Sub-drivers"
9262306a36Sopenharmony_ci
9362306a36Sopenharmony_ciconfig DRM_EXYNOS_G2D
9462306a36Sopenharmony_ci	bool "G2D"
9562306a36Sopenharmony_ci	depends on VIDEO_SAMSUNG_S5P_G2D=n || COMPILE_TEST
9662306a36Sopenharmony_ci	help
9762306a36Sopenharmony_ci	  Choose this option if you want to use Exynos G2D for DRM.
9862306a36Sopenharmony_ci
9962306a36Sopenharmony_ciconfig DRM_EXYNOS_IPP
10062306a36Sopenharmony_ci	bool
10162306a36Sopenharmony_ci
10262306a36Sopenharmony_ciconfig DRM_EXYNOS_FIMC
10362306a36Sopenharmony_ci	bool "FIMC"
10462306a36Sopenharmony_ci	select DRM_EXYNOS_IPP
10562306a36Sopenharmony_ci	help
10662306a36Sopenharmony_ci	  Choose this option if you want to use Exynos FIMC for DRM.
10762306a36Sopenharmony_ci
10862306a36Sopenharmony_ciconfig DRM_EXYNOS_ROTATOR
10962306a36Sopenharmony_ci	bool "Rotator"
11062306a36Sopenharmony_ci	select DRM_EXYNOS_IPP
11162306a36Sopenharmony_ci	help
11262306a36Sopenharmony_ci	  Choose this option if you want to use Exynos Rotator for DRM.
11362306a36Sopenharmony_ci
11462306a36Sopenharmony_ciconfig DRM_EXYNOS_SCALER
11562306a36Sopenharmony_ci	bool "Scaler"
11662306a36Sopenharmony_ci	select DRM_EXYNOS_IPP
11762306a36Sopenharmony_ci	help
11862306a36Sopenharmony_ci	  Choose this option if you want to use Exynos Scaler for DRM.
11962306a36Sopenharmony_ci
12062306a36Sopenharmony_ciconfig DRM_EXYNOS_GSC
12162306a36Sopenharmony_ci	bool "GScaler"
12262306a36Sopenharmony_ci	depends on VIDEO_SAMSUNG_EXYNOS_GSC=n || COMPILE_TEST
12362306a36Sopenharmony_ci	select DRM_EXYNOS_IPP
12462306a36Sopenharmony_ci	help
12562306a36Sopenharmony_ci	  Choose this option if you want to use Exynos GSC for DRM.
12662306a36Sopenharmony_ci
12762306a36Sopenharmony_ciendif
128