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 MEDIA_CONTROLLER && VIDEO_V4L2 && IMX_IPUV3_CORE
6	depends on VIDEO_V4L2_SUBDEV_API
7	depends on HAS_DMA
8	select VIDEOBUF2_DMA_CONTIG
9	select V4L2_FWNODE
10	select V4L2_MEM2MEM_DEV
11	help
12	  Say yes here to enable support for video4linux media controller
13	  driver for the i.MX5/6 SOC.
14
15if VIDEO_IMX_MEDIA
16menu "i.MX5/6/7 Media Sub devices"
17
18config VIDEO_IMX_CSI
19	tristate "i.MX5/6 Camera Sensor Interface driver"
20	depends on VIDEO_IMX_MEDIA && VIDEO_DEV && I2C
21	default y
22	help
23	  A video4linux camera sensor interface driver for i.MX5/6.
24
25config VIDEO_IMX7_CSI
26	tristate "i.MX6UL/L / i.MX7 Camera Sensor Interface driver"
27	depends on VIDEO_IMX_MEDIA && VIDEO_DEV && I2C
28	default y
29	help
30	  Enable support for video4linux camera sensor interface driver for
31	  i.MX6UL/L or i.MX7.
32endmenu
33endif
34