1*fbb6c848SEzequiel Garcia# SPDX-License-Identifier: GPL-2.0-only 2*fbb6c848SEzequiel Garcia 3*fbb6c848SEzequiel Garciacomment "Verisilicon media platform drivers" 4*fbb6c848SEzequiel Garcia 5*fbb6c848SEzequiel Garciaconfig VIDEO_HANTRO 6*fbb6c848SEzequiel Garcia tristate "Hantro VPU driver" 7*fbb6c848SEzequiel Garcia depends on ARCH_MXC || ARCH_ROCKCHIP || ARCH_AT91 || ARCH_SUNXI || COMPILE_TEST 8*fbb6c848SEzequiel Garcia depends on V4L_MEM2MEM_DRIVERS 9*fbb6c848SEzequiel Garcia depends on VIDEO_DEV 10*fbb6c848SEzequiel Garcia select MEDIA_CONTROLLER 11*fbb6c848SEzequiel Garcia select MEDIA_CONTROLLER_REQUEST_API 12*fbb6c848SEzequiel Garcia select VIDEOBUF2_DMA_CONTIG 13*fbb6c848SEzequiel Garcia select VIDEOBUF2_VMALLOC 14*fbb6c848SEzequiel Garcia select V4L2_MEM2MEM_DEV 15*fbb6c848SEzequiel Garcia select V4L2_H264 16*fbb6c848SEzequiel Garcia select V4L2_VP9 17*fbb6c848SEzequiel Garcia help 18*fbb6c848SEzequiel Garcia Support for the Hantro IP based Video Processing Units present on 19*fbb6c848SEzequiel Garcia Rockchip and NXP i.MX8M SoCs, which accelerate video and image 20*fbb6c848SEzequiel Garcia encoding and decoding. 21*fbb6c848SEzequiel Garcia To compile this driver as a module, choose M here: the module 22*fbb6c848SEzequiel Garcia will be called hantro-vpu. 23*fbb6c848SEzequiel Garcia 24*fbb6c848SEzequiel Garciaconfig VIDEO_HANTRO_IMX8M 25*fbb6c848SEzequiel Garcia bool "Hantro VPU i.MX8M support" 26*fbb6c848SEzequiel Garcia depends on VIDEO_HANTRO 27*fbb6c848SEzequiel Garcia depends on ARCH_MXC || COMPILE_TEST 28*fbb6c848SEzequiel Garcia default y 29*fbb6c848SEzequiel Garcia help 30*fbb6c848SEzequiel Garcia Enable support for i.MX8M SoCs. 31*fbb6c848SEzequiel Garcia 32*fbb6c848SEzequiel Garciaconfig VIDEO_HANTRO_SAMA5D4 33*fbb6c848SEzequiel Garcia bool "Hantro VDEC SAMA5D4 support" 34*fbb6c848SEzequiel Garcia depends on VIDEO_HANTRO 35*fbb6c848SEzequiel Garcia depends on ARCH_AT91 || COMPILE_TEST 36*fbb6c848SEzequiel Garcia default y 37*fbb6c848SEzequiel Garcia help 38*fbb6c848SEzequiel Garcia Enable support for Microchip SAMA5D4 SoCs. 39*fbb6c848SEzequiel Garcia 40*fbb6c848SEzequiel Garciaconfig VIDEO_HANTRO_ROCKCHIP 41*fbb6c848SEzequiel Garcia bool "Hantro VPU Rockchip support" 42*fbb6c848SEzequiel Garcia depends on VIDEO_HANTRO 43*fbb6c848SEzequiel Garcia depends on ARCH_ROCKCHIP || COMPILE_TEST 44*fbb6c848SEzequiel Garcia default y 45*fbb6c848SEzequiel Garcia help 46*fbb6c848SEzequiel Garcia Enable support for RK3288, RK3328, and RK3399 SoCs. 47*fbb6c848SEzequiel Garcia 48*fbb6c848SEzequiel Garciaconfig VIDEO_HANTRO_SUNXI 49*fbb6c848SEzequiel Garcia bool "Hantro VPU Allwinner support" 50*fbb6c848SEzequiel Garcia depends on VIDEO_HANTRO 51*fbb6c848SEzequiel Garcia depends on ARCH_SUNXI || COMPILE_TEST 52*fbb6c848SEzequiel Garcia default y 53*fbb6c848SEzequiel Garcia help 54*fbb6c848SEzequiel Garcia Enable support for H6 SoC. 55