media: nxp: Restrict VIDEO_IMX_MIPI_CSIS to ARCH_MXC or COMPILE_TEST

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>
This commit is contained in:
Laurent Pinchart 2022-03-18 21:37:35 +01:00 committed by Mauro Carvalho Chehab
parent 47aa866f24
commit ba2c670ae8
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ comment "NXP media platform drivers"
config VIDEO_IMX_MIPI_CSIS config VIDEO_IMX_MIPI_CSIS
tristate "NXP MIPI CSI-2 CSIS receiver found on i.MX7 and i.MX8 models" 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 MEDIA_CONTROLLER
select V4L2_FWNODE select V4L2_FWNODE
select VIDEO_V4L2_SUBDEV_API select VIDEO_V4L2_SUBDEV_API