]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
media: amphion: add amphion vpu entry in Kconfig and Makefile
authorMing Qian <ming.qian@nxp.com>
Thu, 24 Feb 2022 03:10:13 +0000 (11:10 +0800)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 7 Mar 2022 16:14:24 +0000 (17:14 +0100)
Add V4L2 driver entry for the amphion vpu encoder/decoder.

Signed-off-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/Kconfig
drivers/media/platform/Makefile

index ac41d2f0f314d51b1c07c25bef14c243814daa8c..4843fabb8bb2f859cb1c1ca10bf94a23dd55b66d 100644 (file)
@@ -648,6 +648,25 @@ config VIDEO_TEGRA_VDE
           Support for the NVIDIA Tegra video decoder unit.
           To compile this driver as a module choose m here.
 
+config VIDEO_AMPHION_VPU
+       tristate "Amphion VPU (Video Processing Unit) Codec IP"
+       depends on ARCH_MXC || COMPILE_TEST
+       depends on MEDIA_SUPPORT
+       depends on VIDEO_DEV
+       depends on VIDEO_V4L2
+       select MEDIA_CONTROLLER
+       select V4L2_MEM2MEM_DEV
+       select VIDEOBUF2_DMA_CONTIG
+       select VIDEOBUF2_VMALLOC
+       help
+         Amphion VPU Codec IP contains two parts: Windsor and Malone.
+         Windsor is encoder that supports H.264, and Malone is decoder
+         that supports H.264, HEVC, and other video formats.
+         This is a V4L2 driver for NXP MXC 8Q video accelerator hardware.
+         It accelerates encoding and decoding operations on
+         various NXP SoCs.
+         To compile this driver as a module choose m here.
+
 endif # V4L_MEM2MEM_DRIVERS
 
 # TI VIDEO PORT Helper Modules
index 620ed2147578144f29be441e284e53ffce45ddbb..4032816f8e8af03d6489270ad14ca595a3c54712 100644 (file)
@@ -92,3 +92,5 @@ obj-y                                 += sunxi/
 obj-$(CONFIG_VIDEO_MESON_GE2D)         += meson/ge2d/
 
 obj-$(CONFIG_VIDEO_TEGRA_VDE)          += tegra/vde/
+
+obj-$(CONFIG_VIDEO_AMPHION_VPU)                += amphion/