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