1# SPDX-License-Identifier: GPL-2.0
2config VIDEO_IMX_MEDIA
3	tristate "i.MX5/6 V4L2 media core driver"
4	depends on ARCH_MXC || COMPILE_TEST
5	depends on HAS_DMA
6	depends on VIDEO_DEV
7	depends on VIDEO_DEV
8	select MEDIA_CONTROLLER
9	select V4L2_FWNODE
10	select V4L2_MEM2MEM_DEV
11	select VIDEOBUF2_DMA_CONTIG
12	select VIDEO_V4L2_SUBDEV_API
13	help
14	  Say yes here to enable support for video4linux media controller
15	  driver for the i.MX5/6 SOC.
16
17if VIDEO_IMX_MEDIA
18menu "i.MX5/6/7/8 Media Sub devices"
19
20config VIDEO_IMX_CSI
21	tristate "i.MX5/6 Camera Sensor Interface driver"
22	depends on IMX_IPUV3_CORE
23	default y
24	help
25	  A video4linux camera sensor interface driver for i.MX5/6.
26
27config VIDEO_IMX7_CSI
28	tristate "i.MX6UL/L / i.MX7 / i.MX8M Camera Sensor Interface driver"
29	default y
30	help
31	  Enable support for video4linux camera sensor interface driver for
32	  i.MX6UL/L, i.MX7 or i.MX8M.
33endmenu
34endif
35