summaryrefslogtreecommitdiff
path: root/drivers/media/platform/mtk-jpeg
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@kernel.org>2022-03-11 14:29:12 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-03-15 08:45:39 +0300
commit26cb720c7e082bd153778f77d23e380accab0d06 (patch)
tree95295eef448beb30a4853f95e687ef6ef3efc267 /drivers/media/platform/mtk-jpeg
parenta93ae887bc91929586680c60444f59ea435f7144 (diff)
downloadlinux-26cb720c7e082bd153778f77d23e380accab0d06.tar.xz
media: platform: mtk-jpeg: move config to its own file
In order to better organize the platform/Kconfig, place mtk-jpeg-specific config stuff on a separate Kconfig file. Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/platform/mtk-jpeg')
-rw-r--r--drivers/media/platform/mtk-jpeg/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/media/platform/mtk-jpeg/Kconfig b/drivers/media/platform/mtk-jpeg/Kconfig
new file mode 100644
index 000000000000..72ed920b011a
--- /dev/null
+++ b/drivers/media/platform/mtk-jpeg/Kconfig
@@ -0,0 +1,16 @@
+# SPDX-License-Identifier: GPL-2.0-only
+config VIDEO_MEDIATEK_JPEG
+ tristate "Mediatek JPEG Codec driver"
+ depends on V4L_MEM2MEM_DRIVERS
+ depends on MTK_IOMMU_V1 || MTK_IOMMU || COMPILE_TEST
+ depends on VIDEO_DEV && VIDEO_V4L2
+ depends on ARCH_MEDIATEK || COMPILE_TEST
+ depends on MTK_SMI || (COMPILE_TEST && MTK_SMI=n)
+ select VIDEOBUF2_DMA_CONTIG
+ select V4L2_MEM2MEM_DEV
+ help
+ Mediatek jpeg codec driver provides HW capability to decode
+ JPEG format
+
+ To compile this driver as a module, choose M here: the
+ module will be called mtk-jpeg