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

comment "Chips&Media media platform drivers"

config VIDEO_CODA
	tristate "Chips&Media Coda multi-standard codec IP"
	depends on V4L_MEM2MEM_DRIVERS
	depends on VIDEO_DEV && OF && (ARCH_MXC || COMPILE_TEST)
	select SRAM
	select VIDEOBUF2_DMA_CONTIG
	select VIDEOBUF2_VMALLOC
	select V4L2_JPEG_HELPER
	select V4L2_MEM2MEM_DEV
	select GENERIC_ALLOCATOR
	help
	   Coda is a range of video codec IPs that supports
	   H.264, MPEG-4, and other video formats.

config VIDEO_IMX_VDOA
	def_tristate VIDEO_CODA if SOC_IMX6Q || COMPILE_TEST