1# SPDX-License-Identifier: GPL-2.0-only
2config VIDEO_MEDIATEK_JPEG
3	tristate "Mediatek JPEG Codec driver"
4	depends on V4L_MEM2MEM_DRIVERS
5	depends on MTK_IOMMU_V1 || MTK_IOMMU || COMPILE_TEST
6	depends on VIDEO_DEV
7	depends on ARCH_MEDIATEK || COMPILE_TEST
8	depends on MTK_SMI || (COMPILE_TEST && MTK_SMI=n)
9	select VIDEOBUF2_DMA_CONTIG
10	select V4L2_MEM2MEM_DEV
11	help
12	  Mediatek jpeg codec driver provides HW capability to decode
13	  JPEG format
14
15	  To compile this driver as a module, choose M here: the
16	  module will be called mtk-jpeg
17