# SPDX-License-Identifier: GPL-2.0-only

config VIDEO_IMX8_ISI
	tristate "i.MX8 Image Sensor Interface (ISI) driver"
	depends on ARCH_MXC || COMPILE_TEST
	depends on HAS_DMA && PM
	depends on VIDEO_DEV
	select MEDIA_CONTROLLER
	select V4L2_FWNODE
	select V4L2_MEM2MEM_DEV if VIDEO_IMX8_ISI_M2M
	select VIDEO_V4L2_SUBDEV_API
	select VIDEOBUF2_DMA_CONTIG
	help
	  V4L2 driver for the Image Sensor Interface (ISI) found in various
	  i.MX8 SoCs.

config VIDEO_IMX8_ISI_M2M
	bool "i.MX8 Image Sensor Interface (ISI) memory-to-memory support"
	depends on VIDEO_IMX8_ISI
	help
	  Select 'yes' here to enable support for memory-to-memory processing
	  in the ISI driver.
