1 # SPDX-License-Identifier: GPL-2.0
3 tristate "Hantro VPU driver"
4 depends on ARCH_MXC || ARCH_ROCKCHIP || ARCH_AT91 || ARCH_SUNXI || COMPILE_TEST
6 select MEDIA_CONTROLLER
7 select MEDIA_CONTROLLER_REQUEST_API
8 select VIDEOBUF2_DMA_CONTIG
9 select VIDEOBUF2_VMALLOC
10 select V4L2_MEM2MEM_DEV
14 Support for the Hantro IP based Video Processing Units present on
15 Rockchip and NXP i.MX8M SoCs, which accelerate video and image
16 encoding and decoding.
17 To compile this driver as a module, choose M here: the module
18 will be called hantro-vpu.
20 config VIDEO_HANTRO_IMX8M
21 bool "Hantro VPU i.MX8M support"
22 depends on VIDEO_HANTRO
23 depends on ARCH_MXC || COMPILE_TEST
26 Enable support for i.MX8M SoCs.
28 config VIDEO_HANTRO_SAMA5D4
29 bool "Hantro VDEC SAMA5D4 support"
30 depends on VIDEO_HANTRO
31 depends on ARCH_AT91 || COMPILE_TEST
34 Enable support for Microchip SAMA5D4 SoCs.
36 config VIDEO_HANTRO_ROCKCHIP
37 bool "Hantro VPU Rockchip support"
38 depends on VIDEO_HANTRO
39 depends on ARCH_ROCKCHIP || COMPILE_TEST
42 Enable support for RK3288, RK3328, and RK3399 SoCs.
44 config VIDEO_HANTRO_SUNXI
45 bool "Hantro VPU Allwinner support"
46 depends on VIDEO_HANTRO
47 depends on ARCH_SUNXI || COMPILE_TEST
50 Enable support for H6 SoC.