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