1# SPDX-License-Identifier: GPL-2.0-only 2config DRM_MEDIATEK 3 tristate "DRM Support for Mediatek SoCs" 4 depends on DRM 5 depends on ARCH_MEDIATEK || (ARM && COMPILE_TEST) 6 depends on COMMON_CLK 7 depends on HAVE_ARM_SMCCC 8 depends on OF 9 depends on MTK_MMSYS 10 select DRM_GEM_DMA_HELPER if DRM_FBDEV_EMULATION 11 select DRM_KMS_HELPER 12 select DRM_DISPLAY_HELPER 13 select DRM_BRIDGE_CONNECTOR 14 select DRM_MIPI_DSI 15 select DRM_PANEL 16 select MEMORY 17 select MTK_SMI 18 select PHY_MTK_MIPI_DSI 19 select VIDEOMODE_HELPERS 20 help 21 Choose this option if you have a Mediatek SoCs. 22 The module will be called mediatek-drm 23 This driver provides kernel mode setting and 24 buffer management to userspace. 25 26config DRM_MEDIATEK_DP 27 tristate "DRM DPTX Support for MediaTek SoCs" 28 depends on DRM_MEDIATEK 29 select PHY_MTK_DP 30 select DRM_DISPLAY_HELPER 31 select DRM_DISPLAY_DP_HELPER 32 select DRM_DISPLAY_DP_AUX_BUS 33 help 34 DRM/KMS Display Port driver for MediaTek SoCs. 35 36config DRM_MEDIATEK_HDMI 37 tristate "DRM HDMI Support for Mediatek SoCs" 38 depends on DRM_MEDIATEK 39 select SND_SOC_HDMI_CODEC if SND_SOC 40 select PHY_MTK_HDMI 41 help 42 DRM/KMS HDMI driver for Mediatek SoCs 43