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