0001 # SPDX-License-Identifier: GPL-2.0-only
0002 config DRM_EXYNOS
0003 tristate "DRM Support for Samsung SoC Exynos Series"
0004 depends on OF && DRM && COMMON_CLK
0005 depends on ARCH_S3C64XX || ARCH_S5PV210 || ARCH_EXYNOS || ARCH_MULTIPLATFORM || COMPILE_TEST
0006 depends on MMU
0007 select DRM_DISPLAY_HELPER if DRM_EXYNOS_DP
0008 select DRM_KMS_HELPER
0009 select VIDEOMODE_HELPERS
0010 select SND_SOC_HDMI_CODEC if SND_SOC
0011 help
0012 Choose this option if you have a Samsung SoC Exynos chipset.
0013 If M is selected the module will be called exynosdrm.
0014
0015 if DRM_EXYNOS
0016
0017 comment "CRTCs"
0018
0019 config DRM_EXYNOS_FIMD
0020 bool "FIMD"
0021 depends on !FB_S3C
0022 select MFD_SYSCON
0023 help
0024 Choose this option if you want to use Exynos FIMD for DRM.
0025
0026 config DRM_EXYNOS5433_DECON
0027 bool "DECON on Exynos5433"
0028 help
0029 Choose this option if you want to use Exynos5433 DECON for DRM.
0030
0031 config DRM_EXYNOS7_DECON
0032 bool "DECON on Exynos7"
0033 depends on !FB_S3C
0034 help
0035 Choose this option if you want to use Exynos DECON for DRM.
0036
0037 config DRM_EXYNOS_MIXER
0038 bool "Mixer"
0039 help
0040 Choose this option if you want to use Exynos Mixer for DRM.
0041
0042 config DRM_EXYNOS_VIDI
0043 bool "Virtual Display"
0044 help
0045 Choose this option if you want to use Exynos VIDI for DRM.
0046
0047 comment "Encoders and Bridges"
0048
0049 config DRM_EXYNOS_DPI
0050 bool "Parallel output"
0051 depends on DRM_EXYNOS_FIMD
0052 select DRM_PANEL
0053 default n
0054 help
0055 This enables support for Exynos parallel output.
0056
0057 config DRM_EXYNOS_DSI
0058 bool "MIPI-DSI host"
0059 depends on DRM_EXYNOS_FIMD || DRM_EXYNOS5433_DECON || DRM_EXYNOS7_DECON
0060 select DRM_MIPI_DSI
0061 select DRM_PANEL
0062 default n
0063 help
0064 This enables support for Exynos MIPI-DSI device.
0065
0066 config DRM_EXYNOS_DP
0067 bool "Exynos specific extensions for Analogix DP driver"
0068 depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON
0069 select DRM_ANALOGIX_DP
0070 select DRM_DISPLAY_DP_HELPER
0071 default DRM_EXYNOS
0072 select DRM_PANEL
0073 help
0074 This enables support for DP device.
0075
0076 config DRM_EXYNOS_HDMI
0077 bool "HDMI"
0078 depends on DRM_EXYNOS_MIXER || DRM_EXYNOS5433_DECON
0079 select CEC_CORE if CEC_NOTIFIER
0080 help
0081 Choose this option if you want to use Exynos HDMI for DRM.
0082
0083 config DRM_EXYNOS_MIC
0084 bool "Mobile Image Compressor"
0085 depends on DRM_EXYNOS5433_DECON
0086 help
0087 Choose this option if you want to use Exynos MIC for DRM.
0088
0089 comment "Sub-drivers"
0090
0091 config DRM_EXYNOS_G2D
0092 bool "G2D"
0093 depends on VIDEO_SAMSUNG_S5P_G2D=n || COMPILE_TEST
0094 help
0095 Choose this option if you want to use Exynos G2D for DRM.
0096
0097 config DRM_EXYNOS_IPP
0098 bool
0099
0100 config DRM_EXYNOS_FIMC
0101 bool "FIMC"
0102 select DRM_EXYNOS_IPP
0103 help
0104 Choose this option if you want to use Exynos FIMC for DRM.
0105
0106 config DRM_EXYNOS_ROTATOR
0107 bool "Rotator"
0108 select DRM_EXYNOS_IPP
0109 help
0110 Choose this option if you want to use Exynos Rotator for DRM.
0111
0112 config DRM_EXYNOS_SCALER
0113 bool "Scaler"
0114 select DRM_EXYNOS_IPP
0115 help
0116 Choose this option if you want to use Exynos Scaler for DRM.
0117
0118 config DRM_EXYNOS_GSC
0119 bool "GScaler"
0120 depends on VIDEO_SAMSUNG_EXYNOS_GSC=n || COMPILE_TEST
0121 select DRM_EXYNOS_IPP
0122 help
0123 Choose this option if you want to use Exynos GSC for DRM.
0124
0125 endif