162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci
362306a36Sopenharmony_cicomment "Chips&Media media platform drivers"
462306a36Sopenharmony_ci
562306a36Sopenharmony_ciconfig VIDEO_CODA
662306a36Sopenharmony_ci	tristate "Chips&Media Coda multi-standard codec IP"
762306a36Sopenharmony_ci	depends on V4L_MEM2MEM_DRIVERS
862306a36Sopenharmony_ci	depends on VIDEO_DEV && OF && (ARCH_MXC || COMPILE_TEST)
962306a36Sopenharmony_ci	select SRAM
1062306a36Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
1162306a36Sopenharmony_ci	select VIDEOBUF2_VMALLOC
1262306a36Sopenharmony_ci	select V4L2_JPEG_HELPER
1362306a36Sopenharmony_ci	select V4L2_MEM2MEM_DEV
1462306a36Sopenharmony_ci	select GENERIC_ALLOCATOR
1562306a36Sopenharmony_ci	help
1662306a36Sopenharmony_ci	   Coda is a range of video codec IPs that supports
1762306a36Sopenharmony_ci	   H.264, MPEG-4, and other video formats.
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciconfig VIDEO_IMX_VDOA
2062306a36Sopenharmony_ci	def_tristate VIDEO_CODA if SOC_IMX6Q || COMPILE_TEST
21