xref: /openbmc/linux/drivers/gpu/drm/mediatek/Kconfig (revision c3c88422)
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_GEM_CMA_HELPER
11119f5173SCK Hu	select DRM_KMS_HELPER
122e54c14eSCK Hu	select DRM_MIPI_DSI
132e54c14eSCK Hu	select DRM_PANEL
14119f5173SCK Hu	select MEMORY
15119f5173SCK Hu	select MTK_SMI
16*c3c88422SChun-Kuang Hu	select PHY_MTK_MIPI_DSI
1772ac6969SSatendra Singh Thakur	select VIDEOMODE_HELPERS
18119f5173SCK Hu	help
19119f5173SCK Hu	  Choose this option if you have a Mediatek SoCs.
20119f5173SCK Hu	  The module will be called mediatek-drm
21119f5173SCK Hu	  This driver provides kernel mode setting and
22119f5173SCK Hu	  buffer management to userspace.
238f83f268SJie Qiu
248f83f268SJie Qiuconfig DRM_MEDIATEK_HDMI
258f83f268SJie Qiu	tristate "DRM HDMI Support for Mediatek SoCs"
268f83f268SJie Qiu	depends on DRM_MEDIATEK
278f83f268SJie Qiu	select SND_SOC_HDMI_CODEC if SND_SOC
28a481bf2fSCK Hu	select PHY_MTK_HDMI
298f83f268SJie Qiu	help
308f83f268SJie Qiu	  DRM/KMS HDMI driver for Mediatek SoCs
31*c3c88422SChun-Kuang Hu
32*c3c88422SChun-Kuang Huconfig PHY_MTK_MIPI_DSI
33*c3c88422SChun-Kuang Hu	tristate "Mediatek MIPI-DSI-PHY Driver"
34*c3c88422SChun-Kuang Hu	depends on ARCH_MEDIATEK && OF
35*c3c88422SChun-Kuang Hu	select GENERIC_PHY
36*c3c88422SChun-Kuang Hu	help
37*c3c88422SChun-Kuang Hu	  Support MIPI DSI PHY for Mediatek SoCs.
38