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