162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 262306a36Sopenharmony_ci 362306a36Sopenharmony_cicomment "Verisilicon media platform drivers" 462306a36Sopenharmony_ci 562306a36Sopenharmony_ciconfig VIDEO_HANTRO 662306a36Sopenharmony_ci tristate "Hantro VPU driver" 762306a36Sopenharmony_ci depends on ARCH_MXC || ARCH_ROCKCHIP || ARCH_AT91 || ARCH_SUNXI || COMPILE_TEST 862306a36Sopenharmony_ci depends on V4L_MEM2MEM_DRIVERS 962306a36Sopenharmony_ci depends on VIDEO_DEV 1062306a36Sopenharmony_ci select MEDIA_CONTROLLER 1162306a36Sopenharmony_ci select MEDIA_CONTROLLER_REQUEST_API 1262306a36Sopenharmony_ci select VIDEOBUF2_DMA_CONTIG 1362306a36Sopenharmony_ci select VIDEOBUF2_VMALLOC 1462306a36Sopenharmony_ci select V4L2_MEM2MEM_DEV 1562306a36Sopenharmony_ci select V4L2_H264 1662306a36Sopenharmony_ci select V4L2_VP9 1762306a36Sopenharmony_ci help 1862306a36Sopenharmony_ci Support for the Hantro IP based Video Processing Units present on 1962306a36Sopenharmony_ci Rockchip and NXP i.MX8M SoCs, which accelerate video and image 2062306a36Sopenharmony_ci encoding and decoding. 2162306a36Sopenharmony_ci To compile this driver as a module, choose M here: the module 2262306a36Sopenharmony_ci will be called hantro-vpu. 2362306a36Sopenharmony_ci 2462306a36Sopenharmony_ciconfig VIDEO_HANTRO_IMX8M 2562306a36Sopenharmony_ci bool "Hantro VPU i.MX8M support" 2662306a36Sopenharmony_ci depends on VIDEO_HANTRO 2762306a36Sopenharmony_ci depends on ARCH_MXC || COMPILE_TEST 2862306a36Sopenharmony_ci default y 2962306a36Sopenharmony_ci help 3062306a36Sopenharmony_ci Enable support for i.MX8M SoCs. 3162306a36Sopenharmony_ci 3262306a36Sopenharmony_ciconfig VIDEO_HANTRO_SAMA5D4 3362306a36Sopenharmony_ci bool "Hantro VDEC SAMA5D4 support" 3462306a36Sopenharmony_ci depends on VIDEO_HANTRO 3562306a36Sopenharmony_ci depends on ARCH_AT91 || COMPILE_TEST 3662306a36Sopenharmony_ci default y 3762306a36Sopenharmony_ci help 3862306a36Sopenharmony_ci Enable support for Microchip SAMA5D4 SoCs. 3962306a36Sopenharmony_ci 4062306a36Sopenharmony_ciconfig VIDEO_HANTRO_ROCKCHIP 4162306a36Sopenharmony_ci bool "Hantro VPU Rockchip support" 4262306a36Sopenharmony_ci depends on VIDEO_HANTRO 4362306a36Sopenharmony_ci depends on ARCH_ROCKCHIP || COMPILE_TEST 4462306a36Sopenharmony_ci default y 4562306a36Sopenharmony_ci help 4662306a36Sopenharmony_ci Enable support for RK3288, RK3328, and RK3399 SoCs. 4762306a36Sopenharmony_ci 4862306a36Sopenharmony_ciconfig VIDEO_HANTRO_SUNXI 4962306a36Sopenharmony_ci bool "Hantro VPU Allwinner support" 5062306a36Sopenharmony_ci depends on VIDEO_HANTRO 5162306a36Sopenharmony_ci depends on ARCH_SUNXI || COMPILE_TEST 5262306a36Sopenharmony_ci default y 5362306a36Sopenharmony_ci help 5462306a36Sopenharmony_ci Enable support for H6 SoC. 55