Commit 5cd56168 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Neil Armstrong

drm/bridge: imx: i.MX8 bridge drivers should depend on ARCH_MXC

The various Freescale i.MX8 display bridges are only present on
Freescale i.MX8 SoCs.  Hence add a dependency on ARCH_MXC, to prevent
asking the user about these drivers when configuring a kernel without
i.MX SoC support.

Fixes: e60c4354 ("drm/bridge: imx: Add LDB support for i.MX8qm")
Fixes: 3818715f ("drm/bridge: imx: Add LDB support for i.MX8qxp")
Fixes: 96988a52 ("drm/bridge: imx: Add i.MX8qxp pixel link to DPI support")
Fixes: 1ec17c26 ("drm/bridge: imx: Add i.MX8qm/qxp display pixel link support")
Fixes: 93e163a9 ("drm/bridge: imx: Add i.MX8qm/qxp pixel combiner support")
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: default avatarLiu Ying <victor.liu@nxp.com>
Reviewed-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/42c542b53a1c8027b23a045045fbb7b34479913d.1656072500.git.geert+renesas@glider.be
parent 3019a8d7
if ARCH_MXC || COMPILE_TEST
config DRM_IMX8QM_LDB config DRM_IMX8QM_LDB
tristate "Freescale i.MX8QM LVDS display bridge" tristate "Freescale i.MX8QM LVDS display bridge"
depends on OF depends on OF
...@@ -41,3 +43,5 @@ config DRM_IMX8QXP_PIXEL_LINK_TO_DPI ...@@ -41,3 +43,5 @@ config DRM_IMX8QXP_PIXEL_LINK_TO_DPI
help help
Choose this to enable pixel link to display pixel interface(PXL2DPI) Choose this to enable pixel link to display pixel interface(PXL2DPI)
found in Freescale i.MX8qxp processor. found in Freescale i.MX8qxp processor.
endif # ARCH_MXC || COMPILE_TEST
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment