162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci
362306a36Sopenharmony_ci# V4L drivers
462306a36Sopenharmony_ci
562306a36Sopenharmony_cicomment "NXP media platform drivers"
662306a36Sopenharmony_ci
762306a36Sopenharmony_ciconfig VIDEO_IMX7_CSI
862306a36Sopenharmony_ci	tristate "NXP CSI Bridge driver"
962306a36Sopenharmony_ci	depends on ARCH_MXC || COMPILE_TEST
1062306a36Sopenharmony_ci	depends on HAS_DMA
1162306a36Sopenharmony_ci	depends on VIDEO_DEV
1262306a36Sopenharmony_ci	select MEDIA_CONTROLLER
1362306a36Sopenharmony_ci	select V4L2_FWNODE
1462306a36Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
1562306a36Sopenharmony_ci	select VIDEO_V4L2_SUBDEV_API
1662306a36Sopenharmony_ci	help
1762306a36Sopenharmony_ci	  Driver for the NXP Camera Sensor Interface (CSI) Bridge. This device
1862306a36Sopenharmony_ci	  is found in the i.MX6UL/L, i.MX7 and i.MX8M[MQ] SoCs.
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ciconfig VIDEO_IMX8MQ_MIPI_CSI2
2162306a36Sopenharmony_ci	tristate "NXP i.MX8MQ MIPI CSI-2 receiver"
2262306a36Sopenharmony_ci	depends on ARCH_MXC || COMPILE_TEST
2362306a36Sopenharmony_ci	depends on VIDEO_DEV
2462306a36Sopenharmony_ci	select MEDIA_CONTROLLER
2562306a36Sopenharmony_ci	select V4L2_FWNODE
2662306a36Sopenharmony_ci	select VIDEO_V4L2_SUBDEV_API
2762306a36Sopenharmony_ci	help
2862306a36Sopenharmony_ci	  Video4Linux2 driver for the MIPI CSI-2 receiver found on the i.MX8MQ
2962306a36Sopenharmony_ci	  SoC.
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ciconfig VIDEO_IMX_MIPI_CSIS
3262306a36Sopenharmony_ci	tristate "NXP MIPI CSI-2 CSIS receiver found on i.MX7 and i.MX8 models"
3362306a36Sopenharmony_ci	depends on ARCH_MXC || COMPILE_TEST
3462306a36Sopenharmony_ci	depends on VIDEO_DEV
3562306a36Sopenharmony_ci	select MEDIA_CONTROLLER
3662306a36Sopenharmony_ci	select V4L2_FWNODE
3762306a36Sopenharmony_ci	select VIDEO_V4L2_SUBDEV_API
3862306a36Sopenharmony_ci	help
3962306a36Sopenharmony_ci	  Video4Linux2 sub-device driver for the MIPI CSI-2 CSIS receiver
4062306a36Sopenharmony_ci	  v3.3/v3.6.3 found on some i.MX7 and i.MX8 SoCs.
4162306a36Sopenharmony_ci
4262306a36Sopenharmony_cisource "drivers/media/platform/nxp/imx8-isi/Kconfig"
4362306a36Sopenharmony_ci
4462306a36Sopenharmony_ci# mem2mem drivers
4562306a36Sopenharmony_ci
4662306a36Sopenharmony_ciconfig VIDEO_IMX_PXP
4762306a36Sopenharmony_ci	tristate "NXP i.MX Pixel Pipeline (PXP)"
4862306a36Sopenharmony_ci	depends on V4L_MEM2MEM_DRIVERS
4962306a36Sopenharmony_ci	depends on VIDEO_DEV && (ARCH_MXC || COMPILE_TEST)
5062306a36Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
5162306a36Sopenharmony_ci	select V4L2_MEM2MEM_DEV
5262306a36Sopenharmony_ci	help
5362306a36Sopenharmony_ci	  The i.MX Pixel Pipeline is a memory-to-memory engine for scaling,
5462306a36Sopenharmony_ci	  color space conversion, and rotation.
5562306a36Sopenharmony_ci
5662306a36Sopenharmony_ciconfig VIDEO_MX2_EMMAPRP
5762306a36Sopenharmony_ci	tristate "NXP MX2 eMMa-PrP support"
5862306a36Sopenharmony_ci	depends on V4L_MEM2MEM_DRIVERS
5962306a36Sopenharmony_ci	depends on VIDEO_DEV
6062306a36Sopenharmony_ci	depends on SOC_IMX27 || COMPILE_TEST
6162306a36Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
6262306a36Sopenharmony_ci	select V4L2_MEM2MEM_DEV
6362306a36Sopenharmony_ci	help
6462306a36Sopenharmony_ci	    MX2X chips have a PrP that can be used to process buffers from
6562306a36Sopenharmony_ci	    memory to memory. Operations include resizing and format
6662306a36Sopenharmony_ci	    conversion.
6762306a36Sopenharmony_ci
6862306a36Sopenharmony_cisource "drivers/media/platform/nxp/dw100/Kconfig"
6962306a36Sopenharmony_cisource "drivers/media/platform/nxp/imx-jpeg/Kconfig"
70