1 # SPDX-License-Identifier: GPL-2.0-only
3 comment "Verisilicon media platform drivers"
6 tristate "Hantro VPU driver"
7 depends on ARCH_MXC || ARCH_ROCKCHIP || ARCH_AT91 || ARCH_SUNXI || COMPILE_TEST
8 depends on V4L_MEM2MEM_DRIVERS
10 select MEDIA_CONTROLLER
11 select MEDIA_CONTROLLER_REQUEST_API
12 select VIDEOBUF2_DMA_CONTIG
13 select VIDEOBUF2_VMALLOC
14 select V4L2_MEM2MEM_DEV
18 Support for the Hantro IP based Video Processing Units present on
19 Rockchip and NXP i.MX8M SoCs, which accelerate video and image
20 encoding and decoding.
21 To compile this driver as a module, choose M here: the module
22 will be called hantro-vpu.
24 config VIDEO_HANTRO_IMX8M
25 bool "Hantro VPU i.MX8M support"
26 depends on VIDEO_HANTRO
27 depends on ARCH_MXC || COMPILE_TEST
30 Enable support for i.MX8M SoCs.
32 config VIDEO_HANTRO_SAMA5D4
33 bool "Hantro VDEC SAMA5D4 support"
34 depends on VIDEO_HANTRO
35 depends on ARCH_AT91 || COMPILE_TEST
38 Enable support for Microchip SAMA5D4 SoCs.
40 config VIDEO_HANTRO_ROCKCHIP
41 bool "Hantro VPU Rockchip support"
42 depends on VIDEO_HANTRO
43 depends on ARCH_ROCKCHIP || COMPILE_TEST
46 Enable support for RK3288, RK3328, and RK3399 SoCs.
48 config VIDEO_HANTRO_SUNXI
49 bool "Hantro VPU Allwinner support"
50 depends on VIDEO_HANTRO
51 depends on ARCH_SUNXI || COMPILE_TEST
54 Enable support for H6 SoC.