xref: /openbmc/linux/drivers/gpu/drm/mediatek/Kconfig (revision caf2ae48)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2119f5173SCK Huconfig DRM_MEDIATEK
3119f5173SCK Hu	tristate "DRM Support for Mediatek SoCs"
4119f5173SCK Hu	depends on DRM
5119f5173SCK Hu	depends on ARCH_MEDIATEK || (ARM && COMPILE_TEST)
6851da9acSArnd Bergmann	depends on COMMON_CLK
7306d674aSArnd Bergmann	depends on HAVE_ARM_SMCCC
8b5db361eSArnd Bergmann	depends on OF
9c79484f6SYueHaibing	depends on MTK_MMSYS
10119f5173SCK Hu	select DRM_KMS_HELPER
112e54c14eSCK Hu	select DRM_MIPI_DSI
122e54c14eSCK Hu	select DRM_PANEL
13119f5173SCK Hu	select MEMORY
14119f5173SCK Hu	select MTK_SMI
15c3c88422SChun-Kuang Hu	select PHY_MTK_MIPI_DSI
1672ac6969SSatendra Singh Thakur	select VIDEOMODE_HELPERS
17119f5173SCK Hu	help
18119f5173SCK Hu	  Choose this option if you have a Mediatek SoCs.
19119f5173SCK Hu	  The module will be called mediatek-drm
20119f5173SCK Hu	  This driver provides kernel mode setting and
21119f5173SCK Hu	  buffer management to userspace.
228f83f268SJie Qiu
23f70ac097SMarkus Schneider-Pargmannconfig DRM_MEDIATEK_DP
24f70ac097SMarkus Schneider-Pargmann	tristate "DRM DPTX Support for MediaTek SoCs"
25f70ac097SMarkus Schneider-Pargmann	depends on DRM_MEDIATEK
26f70ac097SMarkus Schneider-Pargmann	select PHY_MTK_DP
27f70ac097SMarkus Schneider-Pargmann	select DRM_DISPLAY_HELPER
28f70ac097SMarkus Schneider-Pargmann	select DRM_DISPLAY_DP_HELPER
29*caf2ae48SAngeloGioacchino Del Regno	select DRM_DP_AUX_BUS
30f70ac097SMarkus Schneider-Pargmann	help
31f70ac097SMarkus Schneider-Pargmann	  DRM/KMS Display Port driver for MediaTek SoCs.
32f70ac097SMarkus Schneider-Pargmann
338f83f268SJie Qiuconfig DRM_MEDIATEK_HDMI
348f83f268SJie Qiu	tristate "DRM HDMI Support for Mediatek SoCs"
358f83f268SJie Qiu	depends on DRM_MEDIATEK
368f83f268SJie Qiu	select SND_SOC_HDMI_CODEC if SND_SOC
37a481bf2fSCK Hu	select PHY_MTK_HDMI
388f83f268SJie Qiu	help
398f83f268SJie Qiu	  DRM/KMS HDMI driver for Mediatek SoCs
40