1# SPDX-License-Identifier: GPL-2.0-only
2
3# V4L drivers
4
5comment "NXP media platform drivers"
6
7config VIDEO_IMX7_CSI
8	tristate "NXP CSI Bridge driver"
9	depends on ARCH_MXC || COMPILE_TEST
10	depends on HAS_DMA
11	depends on VIDEO_DEV
12	select MEDIA_CONTROLLER
13	select V4L2_FWNODE
14	select VIDEOBUF2_DMA_CONTIG
15	select VIDEO_V4L2_SUBDEV_API
16	help
17	  Driver for the NXP Camera Sensor Interface (CSI) Bridge. This device
18	  is found in the i.MX6UL/L, i.MX7 and i.MX8M[MQ] SoCs.
19
20config VIDEO_IMX8MQ_MIPI_CSI2
21	tristate "NXP i.MX8MQ MIPI CSI-2 receiver"
22	depends on ARCH_MXC || COMPILE_TEST
23	depends on VIDEO_DEV
24	select MEDIA_CONTROLLER
25	select V4L2_FWNODE
26	select VIDEO_V4L2_SUBDEV_API
27	help
28	  Video4Linux2 driver for the MIPI CSI-2 receiver found on the i.MX8MQ
29	  SoC.
30
31config VIDEO_IMX_MIPI_CSIS
32	tristate "NXP MIPI CSI-2 CSIS receiver found on i.MX7 and i.MX8 models"
33	depends on ARCH_MXC || COMPILE_TEST
34	depends on VIDEO_DEV
35	select MEDIA_CONTROLLER
36	select V4L2_FWNODE
37	select VIDEO_V4L2_SUBDEV_API
38	help
39	  Video4Linux2 sub-device driver for the MIPI CSI-2 CSIS receiver
40	  v3.3/v3.6.3 found on some i.MX7 and i.MX8 SoCs.
41
42source "drivers/media/platform/nxp/imx8-isi/Kconfig"
43
44# mem2mem drivers
45
46config VIDEO_IMX_PXP
47	tristate "NXP i.MX Pixel Pipeline (PXP)"
48	depends on V4L_MEM2MEM_DRIVERS
49	depends on VIDEO_DEV && (ARCH_MXC || COMPILE_TEST)
50	select VIDEOBUF2_DMA_CONTIG
51	select V4L2_MEM2MEM_DEV
52	help
53	  The i.MX Pixel Pipeline is a memory-to-memory engine for scaling,
54	  color space conversion, and rotation.
55
56config VIDEO_MX2_EMMAPRP
57	tristate "NXP MX2 eMMa-PrP support"
58	depends on V4L_MEM2MEM_DRIVERS
59	depends on VIDEO_DEV
60	depends on SOC_IMX27 || COMPILE_TEST
61	select VIDEOBUF2_DMA_CONTIG
62	select V4L2_MEM2MEM_DEV
63	help
64	    MX2X chips have a PrP that can be used to process buffers from
65	    memory to memory. Operations include resizing and format
66	    conversion.
67
68source "drivers/media/platform/nxp/dw100/Kconfig"
69source "drivers/media/platform/nxp/imx-jpeg/Kconfig"
70