This reverts commit e075e496f5
, as helper
code should always be selected by the driver that needs it, for the
convenience of the final user configuring a kernel.
The user who configures a kernel should not need to know which helpers
are needed for the driver he is interested in. Making a driver depend
on helper code means that the user needs to know which helpers to enable
first, which is very user-unfriendly.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patchwork.freedesktop.org/patch/msgid/1ba76cc4d96a8afefff5d1bc42fb1e1329c5da68.1713780345.git.geert+renesas@glider.be
Signed-off-by: Maxime Ripard <mripard@kernel.org>
39 lines
1 KiB
Text
39 lines
1 KiB
Text
# SPDX-License-Identifier: GPL-2.0-only
|
|
config DRM_MEDIATEK
|
|
tristate "DRM Support for Mediatek SoCs"
|
|
depends on DRM
|
|
depends on ARCH_MEDIATEK || (ARM && COMPILE_TEST)
|
|
depends on COMMON_CLK
|
|
depends on HAVE_ARM_SMCCC
|
|
depends on OF
|
|
depends on MTK_MMSYS
|
|
select DRM_KMS_HELPER
|
|
select DRM_MIPI_DSI
|
|
select DRM_PANEL
|
|
select MEMORY
|
|
select MTK_SMI
|
|
select PHY_MTK_MIPI_DSI
|
|
select VIDEOMODE_HELPERS
|
|
help
|
|
Choose this option if you have a Mediatek SoCs.
|
|
The module will be called mediatek-drm
|
|
This driver provides kernel mode setting and
|
|
buffer management to userspace.
|
|
|
|
config DRM_MEDIATEK_DP
|
|
tristate "DRM DPTX Support for MediaTek SoCs"
|
|
depends on DRM_MEDIATEK
|
|
select PHY_MTK_DP
|
|
select DRM_DISPLAY_HELPER
|
|
select DRM_DISPLAY_DP_HELPER
|
|
select DRM_DISPLAY_DP_AUX_BUS
|
|
help
|
|
DRM/KMS Display Port driver for MediaTek SoCs.
|
|
|
|
config DRM_MEDIATEK_HDMI
|
|
tristate "DRM HDMI Support for Mediatek SoCs"
|
|
depends on DRM_MEDIATEK
|
|
select SND_SOC_HDMI_CODEC if SND_SOC
|
|
select PHY_MTK_HDMI
|
|
help
|
|
DRM/KMS HDMI driver for Mediatek SoCs
|