This reverts commit c0e0f13935
, 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/bd93d43b07f8ed6368119f4a5ddac2ee80debe53.1713780345.git.geert+renesas@glider.be
Signed-off-by: Maxime Ripard <mripard@kernel.org>
26 lines
774 B
Text
26 lines
774 B
Text
# SPDX-License-Identifier: GPL-2.0-only
|
|
config DRM_MESON
|
|
tristate "DRM Support for Amlogic Meson Display Controller"
|
|
depends on DRM && OF && (ARM || ARM64)
|
|
depends on ARCH_MESON || COMPILE_TEST
|
|
select DRM_KMS_HELPER
|
|
select DRM_GEM_DMA_HELPER
|
|
select DRM_DISPLAY_CONNECTOR
|
|
select VIDEOMODE_HELPERS
|
|
select REGMAP_MMIO
|
|
select MESON_CANVAS
|
|
select CEC_CORE if CEC_NOTIFIER
|
|
|
|
config DRM_MESON_DW_HDMI
|
|
tristate "HDMI Synopsys Controller support for Amlogic Meson Display"
|
|
depends on DRM_MESON
|
|
default y if DRM_MESON
|
|
select DRM_DW_HDMI
|
|
imply DRM_DW_HDMI_I2S_AUDIO
|
|
|
|
config DRM_MESON_DW_MIPI_DSI
|
|
tristate "MIPI DSI Synopsys Controller support for Amlogic Meson Display"
|
|
depends on DRM_MESON
|
|
default y if DRM_MESON
|
|
select DRM_DW_MIPI_DSI
|
|
select GENERIC_PHY_MIPI_DPHY
|