media: nxp: Restrict VIDEO_IMX_MIPI_CSIS to ARCH_MXC or COMPILE_TEST
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 18 Mar 2022 20:37:35 +0000 (21:37 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 21 Mar 2022 14:21:28 +0000 (15:21 +0100)
The imx-mipi-csis driver is specific to NXP platforms. Restrict it to
those by default, and enable compilation with COMPILE_TEST to keep a
wide test coverage.

Link: https://lore.kernel.org/linux-media/20220318203735.5923-1-laurent.pinchart+renesas@ideasonboard.com
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/nxp/Kconfig

index 7473096f58859eecdb1d0e55455444c1565785bd..28f2bafc14d281ee3723771ae7a9ab225e020033 100644 (file)
@@ -6,6 +6,7 @@ comment "NXP media platform drivers"
 
 config VIDEO_IMX_MIPI_CSIS
        tristate "NXP MIPI CSI-2 CSIS receiver found on i.MX7 and i.MX8 models"
+       depends on ARCH_MXC || COMPILE_TEST
        select MEDIA_CONTROLLER
        select V4L2_FWNODE
        select VIDEO_V4L2_SUBDEV_API