1# SPDX-License-Identifier: GPL-2.0 2config VIDEO_HANTRO 3 tristate "Hantro VPU driver" 4 depends on ARCH_MXC || ARCH_ROCKCHIP || COMPILE_TEST 5 depends on VIDEO_DEV && VIDEO_V4L2 6 select MEDIA_CONTROLLER 7 select MEDIA_CONTROLLER_REQUEST_API 8 select VIDEOBUF2_DMA_CONTIG 9 select VIDEOBUF2_VMALLOC 10 select V4L2_MEM2MEM_DEV 11 select V4L2_H264 12 help 13 Support for the Hantro IP based Video Processing Units present on 14 Rockchip and NXP i.MX8M SoCs, which accelerate video and image 15 encoding and decoding. 16 To compile this driver as a module, choose M here: the module 17 will be called hantro-vpu. 18 19config VIDEO_HANTRO_IMX8M 20 bool "Hantro VPU i.MX8M support" 21 depends on VIDEO_HANTRO 22 depends on ARCH_MXC || COMPILE_TEST 23 default y 24 help 25 Enable support for i.MX8M SoCs. 26 27config VIDEO_HANTRO_ROCKCHIP 28 bool "Hantro VPU Rockchip support" 29 depends on VIDEO_HANTRO 30 depends on ARCH_ROCKCHIP || COMPILE_TEST 31 default y 32 help 33 Enable support for RK3288, RK3328, and RK3399 SoCs. 34