[ Upstream commit 7783cc67862f9166c901bfa0f80b717aa8d354dd ]
Freescale/NXP i.MX LCDIF and eLCDIF LCD controllers are only present on
Freescale/NXP i.MX SoCs. Hence add a dependency on ARCH_MXS ||
ARCH_MXC, to prevent asking the user about this driver when configuring
a kernel without Freescale/NXP i.MX support.
Fixes: 45d59d7040 ("drm: Add new driver for MXSFB controller")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Marek Vasut <marex@denx.de>
Link: https://patchwork.freedesktop.org/patch/msgid/98e74779ca2bc575d91afff03369e86b080c01ac.1669046358.git.geert+renesas@glider.be
Signed-off-by: Sasha Levin <sashal@kernel.org>
20 lines
481 B
Plaintext
20 lines
481 B
Plaintext
config DRM_MXS
|
|
bool
|
|
help
|
|
Choose this option to select drivers for MXS FB devices
|
|
|
|
config DRM_MXSFB
|
|
tristate "i.MX23/i.MX28/i.MX6SX MXSFB LCD controller"
|
|
depends on DRM && OF
|
|
depends on COMMON_CLK
|
|
depends on ARCH_MXS || ARCH_MXC || COMPILE_TEST
|
|
select DRM_MXS
|
|
select DRM_KMS_HELPER
|
|
select DRM_KMS_CMA_HELPER
|
|
select DRM_PANEL
|
|
help
|
|
Choose this option if you have an i.MX23/i.MX28/i.MX6SX MXSFB
|
|
LCD controller.
|
|
|
|
If M is selected the module will be called mxsfb.
|