menuconfig VIDEO_IMX6
	tristate "i.MX6 V4L2 devices"
	depends on VIDEO_V4L2 && ARCH_MXC && MXC_IPUV3_CORE
	default y
	---help---
	  Say yes here to enable support for V4L2 capture, output, and
	  mem2mem devices for the i.MX6 SOC.

if VIDEO_IMX6

config VIDEO_IMX6_CAMERA
	tristate "i.MX6 Camera Interface driver"
	depends on VIDEO_IMX6 && I2C
	default y
	---help---
	  This is the v4l2 capture driver based on i.MX6 IPU library module.
	  Enabling this provides basic infrastructure support for image
	  capture devices on the i.MX6 SoC.
if VIDEO_IMX6_CAMERA
source "drivers/media/platform/imx6/capture/Kconfig"
endif

config VIDEO_IMX6_CAMERA_V2
	tristate "i.MX6 Camera Interface driver - version 2"
	depends on !VIDEO_IMX6_CAMERA && VIDEO_IMX6 && VIDEO_DEV && I2C
	select VIDEOBUF2_DMA_CONTIG
	default n
	---help---
	  This is a rewritten v4l2 capture driver, based on i.MX6 IPU
	  library module, using the latest v4l2 subdev and videobuf2
	  interfaces.
if VIDEO_IMX6_CAMERA_V2
source "drivers/media/platform/imx6/cap2/Kconfig"
endif

config VIDEO_IMX6_OUTPUT
	tristate "i.MX6 Video Output Overlay driver"
	depends on VIDEO_IMX6 && VIDEO_DEV && DRM_IMX_CRTC
	select VIDEOBUF2_DMA_CONTIG
	default y
	---help---
	  This is a v4l2 Output Overlay driver for the i.MX6 SoC,
	  using the IPU IC Post-processor. Operations include resizing,
	  rotation, and color space conversion. Rotations are specified
	  using a private control, see include/media/imx6.h.

	  This driver does not initialize a display overlay itself. The
	  v4l2 application must do that and pass the overlay config to
	  the driver via VIDIOC_S_FBUF.

endif # VIDEO_IMX6
