1# SPDX-License-Identifier: GPL-2.0-only 2config DRM_EXYNOS 3 tristate "DRM Support for Samsung SoC Exynos Series" 4 depends on OF && DRM && COMMON_CLK 5 depends on ARCH_S3C64XX || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST 6 depends on MMU 7 select DRM_CLIENT_SELECTION 8 select DRM_DISPLAY_HELPER if DRM_EXYNOS_DP 9 select DRM_KMS_HELPER 10 select VIDEOMODE_HELPERS 11 select FB_DMAMEM_HELPERS if DRM_FBDEV_EMULATION 12 select SND_SOC_HDMI_CODEC if SND_SOC 13 help 14 Choose this option if you have a Samsung SoC Exynos chipset. 15 If M is selected the module will be called exynosdrm. 16 17if DRM_EXYNOS 18 19comment "CRTCs" 20 21config DRM_EXYNOS_FIMD 22 bool "FIMD" 23 depends on !FB_S3C 24 select MFD_SYSCON 25 help 26 Choose this option if you want to use Exynos FIMD for DRM. 27 28config DRM_EXYNOS5433_DECON 29 bool "DECON on Exynos5433" 30 help 31 Choose this option if you want to use Exynos5433 DECON for DRM. 32 33config DRM_EXYNOS7_DECON 34 bool "DECON on Exynos7" 35 depends on !FB_S3C 36 help 37 Choose this option if you want to use Exynos DECON for DRM. 38 39config DRM_EXYNOS_MIXER 40 bool "Mixer" 41 help 42 Choose this option if you want to use Exynos Mixer for DRM. 43 44config DRM_EXYNOS_VIDI 45 bool "Virtual Display" 46 help 47 Choose this option if you want to use Exynos VIDI for DRM. 48 49comment "Encoders and Bridges" 50 51config DRM_EXYNOS_DPI 52 bool "Parallel output" 53 depends on DRM_EXYNOS_FIMD 54 select DRM_PANEL 55 default n 56 help 57 This enables support for Exynos parallel output. 58 59config DRM_EXYNOS_DSI 60 bool "MIPI-DSI host" 61 depends on DRM_EXYNOS_FIMD || DRM_EXYNOS5433_DECON || DRM_EXYNOS7_DECON 62 select DRM_MIPI_DSI 63 select DRM_PANEL 64 select DRM_SAMSUNG_DSIM 65 default n 66 help 67 This enables support for Exynos MIPI-DSI device. 68 69config DRM_EXYNOS_DP 70 bool "Exynos specific extensions for Analogix DP driver" 71 depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON 72 select DRM_ANALOGIX_DP 73 select DRM_DISPLAY_DP_HELPER 74 default DRM_EXYNOS 75 select DRM_PANEL 76 help 77 This enables support for DP device. 78 79config DRM_EXYNOS_HDMI 80 bool "HDMI" 81 depends on DRM_EXYNOS_MIXER || DRM_EXYNOS5433_DECON 82 select CEC_CORE if CEC_NOTIFIER 83 help 84 Choose this option if you want to use Exynos HDMI for DRM. 85 86config DRM_EXYNOS_MIC 87 bool "Mobile Image Compressor" 88 depends on DRM_EXYNOS5433_DECON 89 help 90 Choose this option if you want to use Exynos MIC for DRM. 91 92comment "Sub-drivers" 93 94config DRM_EXYNOS_G2D 95 bool "G2D" 96 depends on VIDEO_SAMSUNG_S5P_G2D=n || COMPILE_TEST 97 help 98 Choose this option if you want to use Exynos G2D for DRM. 99 100config DRM_EXYNOS_IPP 101 bool 102 103config DRM_EXYNOS_FIMC 104 bool "FIMC" 105 select DRM_EXYNOS_IPP 106 help 107 Choose this option if you want to use Exynos FIMC for DRM. 108 109config DRM_EXYNOS_ROTATOR 110 bool "Rotator" 111 select DRM_EXYNOS_IPP 112 help 113 Choose this option if you want to use Exynos Rotator for DRM. 114 115config DRM_EXYNOS_SCALER 116 bool "Scaler" 117 select DRM_EXYNOS_IPP 118 help 119 Choose this option if you want to use Exynos Scaler for DRM. 120 121config DRM_EXYNOS_GSC 122 bool "GScaler" 123 depends on VIDEO_SAMSUNG_EXYNOS_GSC=n || COMPILE_TEST 124 select DRM_EXYNOS_IPP 125 help 126 Choose this option if you want to use Exynos GSC for DRM. 127 128endif 129