1# SPDX-License-Identifier: GPL-2.0-only 2 3# V4L drivers 4 5menuconfig VIDEO_IMX 6 bool "V4L2 capture drivers for NXP i.MX devices" 7 depends on V4L_PLATFORM_DRIVERS 8 depends on ARCH_MXC || COMPILE_TEST 9 depends on VIDEO_DEV && VIDEO_V4L2 10 help 11 Say yes here to enable support for capture drivers on i.MX SoCs. 12 Support for the single SoC features are selectable in the sub-menu 13 options. 14 15if VIDEO_IMX 16 17config VIDEO_IMX_MIPI_CSIS 18 tristate "MIPI CSI-2 CSIS receiver found on i.MX7 and i.MX8 models" 19 select MEDIA_CONTROLLER 20 select V4L2_FWNODE 21 select VIDEO_V4L2_SUBDEV_API 22 default n 23 help 24 Video4Linux2 sub-device driver for the MIPI CSI-2 CSIS receiver 25 v3.3/v3.6.3 found on some i.MX7 and i.MX8 SoCs. 26 27endif # VIDEO_IMX 28 29config VIDEO_VIU 30 tristate "Freescale/NXP VIU Video Driver" 31 depends on V4L_PLATFORM_DRIVERS 32 depends on VIDEO_V4L2 && (PPC_MPC512x || COMPILE_TEST) && I2C 33 select VIDEOBUF_DMA_CONTIG 34 default y 35 help 36 Support for Freescale VIU video driver. This device captures 37 video data, or overlays video on DIU frame buffer. 38 39 Say Y here if you want to enable VIU device on MPC5121e Rev2+. 40 In doubt, say N. 41 42# mem2mem drivers 43 44config VIDEO_IMX_PXP 45 tristate "i.MX Pixel Pipeline (PXP)" 46 depends on V4L_MEM2MEM_DRIVERS 47 depends on VIDEO_DEV && VIDEO_V4L2 && (ARCH_MXC || COMPILE_TEST) 48 select VIDEOBUF2_DMA_CONTIG 49 select V4L2_MEM2MEM_DEV 50 help 51 The i.MX Pixel Pipeline is a memory-to-memory engine for scaling, 52 color space conversion, and rotation. 53 54config VIDEO_MX2_EMMAPRP 55 tristate "Freescale/NXP MX2 eMMa-PrP support" 56 depends on V4L_MEM2MEM_DRIVERS 57 depends on VIDEO_DEV && VIDEO_V4L2 58 depends on SOC_IMX27 || COMPILE_TEST 59 select VIDEOBUF2_DMA_CONTIG 60 select V4L2_MEM2MEM_DEV 61 help 62 MX2X chips have a PrP that can be used to process buffers from 63 memory to memory. Operations include resizing and format 64 conversion. 65 66source "drivers/media/platform/nxp/imx-jpeg/Kconfig" 67