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