^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) config DRM_MEDIATEK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) tristate "DRM Support for Mediatek SoCs"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) depends on DRM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) depends on ARCH_MEDIATEK || (ARM && COMPILE_TEST)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) depends on COMMON_CLK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) depends on HAVE_ARM_SMCCC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) depends on OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) depends on MTK_MMSYS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) select DRM_GEM_CMA_HELPER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) select DRM_KMS_HELPER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) select DRM_MIPI_DSI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) select DRM_PANEL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) select MEMORY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) select MTK_SMI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) select VIDEOMODE_HELPERS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) Choose this option if you have a Mediatek SoCs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) The module will be called mediatek-drm
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) This driver provides kernel mode setting and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) buffer management to userspace.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) config DRM_MEDIATEK_HDMI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) tristate "DRM HDMI Support for Mediatek SoCs"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) depends on DRM_MEDIATEK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) select SND_SOC_HDMI_CODEC if SND_SOC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) select PHY_MTK_HDMI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) DRM/KMS HDMI driver for Mediatek SoCs