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>
41 lines
1 KiB
Text
41 lines
1 KiB
Text
# SPDX-License-Identifier: GPL-2.0-only
|
|
config DRM_IMX
|
|
tristate "DRM Support for Freescale i.MX"
|
|
select DRM_KMS_HELPER
|
|
select VIDEOMODE_HELPERS
|
|
select DRM_GEM_DMA_HELPER
|
|
depends on DRM && (ARCH_MXC || COMPILE_TEST)
|
|
depends on IMX_IPUV3_CORE
|
|
help
|
|
enable i.MX graphics support
|
|
|
|
config DRM_IMX_PARALLEL_DISPLAY
|
|
tristate "Support for parallel displays"
|
|
select DRM_PANEL
|
|
depends on DRM_IMX
|
|
select VIDEOMODE_HELPERS
|
|
|
|
config DRM_IMX_TVE
|
|
tristate "Support for TV and VGA displays"
|
|
depends on DRM_IMX
|
|
depends on COMMON_CLK
|
|
select REGMAP_MMIO
|
|
help
|
|
Choose this to enable the internal Television Encoder (TVe)
|
|
found on i.MX53 processors.
|
|
|
|
config DRM_IMX_LDB
|
|
tristate "Support for LVDS displays"
|
|
depends on DRM_IMX && MFD_SYSCON
|
|
depends on COMMON_CLK
|
|
select DRM_PANEL
|
|
help
|
|
Choose this to enable the internal LVDS Display Bridge (LDB)
|
|
found on i.MX53 and i.MX6 processors.
|
|
|
|
config DRM_IMX_HDMI
|
|
tristate "Freescale i.MX DRM HDMI"
|
|
select DRM_DW_HDMI
|
|
depends on DRM_IMX && OF
|
|
help
|
|
Choose this if you want to use HDMI on i.MX6.
|