1# SPDX-License-Identifier: GPL-2.0-only 2 3comment "Verisilicon media platform drivers" 4 5config VIDEO_HANTRO 6 tristate "Hantro VPU driver" 7 depends on ARCH_MXC || ARCH_ROCKCHIP || ARCH_AT91 || ARCH_SUNXI || ARCH_STM32 || COMPILE_TEST 8 depends on V4L_MEM2MEM_DRIVERS 9 depends on VIDEO_DEV 10 select MEDIA_CONTROLLER 11 select VIDEOBUF2_DMA_CONTIG 12 select VIDEOBUF2_VMALLOC 13 select V4L2_MEM2MEM_DEV 14 select V4L2_H264 15 select V4L2_JPEG_HELPER 16 select V4L2_VP9 17 help 18 Support for the Hantro IP based Video Processing Units present on 19 Rockchip, NXP i.MX8M and STM32MP25 SoCs, which accelerate video 20 and image encoding and decoding. 21 To compile this driver as a module, choose M here: the module 22 will be called hantro-vpu. 23 24config VIDEO_HANTRO_HEVC_RFC 25 bool "Use reference frame compression for HEVC" 26 depends on VIDEO_HANTRO 27 default n 28 help 29 Enable the reference frame compression feature for the HEVC codec. 30 It will use more memory but save bandwidth on memory bus. 31 32config VIDEO_HANTRO_IMX8M 33 bool "Hantro VPU i.MX8M support" 34 depends on VIDEO_HANTRO 35 depends on ARCH_MXC || COMPILE_TEST 36 default y 37 help 38 Enable support for i.MX8M SoCs. 39 40config VIDEO_HANTRO_SAMA5D4 41 bool "Hantro VDEC SAMA5D4 support" 42 depends on VIDEO_HANTRO 43 depends on ARCH_AT91 || COMPILE_TEST 44 default y 45 help 46 Enable support for Microchip SAMA5D4 SoCs. 47 48config VIDEO_HANTRO_ROCKCHIP 49 bool "Hantro VPU Rockchip support" 50 depends on VIDEO_HANTRO 51 depends on ARCH_ROCKCHIP || COMPILE_TEST 52 default y 53 help 54 Enable support for RK3288, RK3328, and RK3399 SoCs. 55 56config VIDEO_HANTRO_SUNXI 57 bool "Hantro VPU Allwinner support" 58 depends on VIDEO_HANTRO 59 depends on ARCH_SUNXI || COMPILE_TEST 60 default y 61 help 62 Enable support for H6 SoC. 63 64config VIDEO_HANTRO_STM32MP25 65 bool "Hantro STM32MP25 support" 66 depends on VIDEO_HANTRO 67 depends on ARCH_STM32 || COMPILE_TEST 68 default y 69 help 70 Enable support for STM32MP25 SoCs. 71