0001 # SPDX-License-Identifier: GPL-2.0
0002 config VIDEO_HANTRO
0003 tristate "Hantro VPU driver"
0004 depends on ARCH_MXC || ARCH_ROCKCHIP || ARCH_AT91 || ARCH_SUNXI || COMPILE_TEST
0005 depends on VIDEO_DEV
0006 select MEDIA_CONTROLLER
0007 select MEDIA_CONTROLLER_REQUEST_API
0008 select VIDEOBUF2_DMA_CONTIG
0009 select VIDEOBUF2_VMALLOC
0010 select V4L2_MEM2MEM_DEV
0011 select V4L2_H264
0012 select V4L2_VP9
0013 help
0014 Support for the Hantro IP based Video Processing Units present on
0015 Rockchip and NXP i.MX8M SoCs, which accelerate video and image
0016 encoding and decoding.
0017 To compile this driver as a module, choose M here: the module
0018 will be called hantro-vpu.
0019
0020 config VIDEO_HANTRO_IMX8M
0021 bool "Hantro VPU i.MX8M support"
0022 depends on VIDEO_HANTRO
0023 depends on ARCH_MXC || COMPILE_TEST
0024 default y
0025 help
0026 Enable support for i.MX8M SoCs.
0027
0028 config VIDEO_HANTRO_SAMA5D4
0029 bool "Hantro VDEC SAMA5D4 support"
0030 depends on VIDEO_HANTRO
0031 depends on ARCH_AT91 || COMPILE_TEST
0032 default y
0033 help
0034 Enable support for Microchip SAMA5D4 SoCs.
0035
0036 config VIDEO_HANTRO_ROCKCHIP
0037 bool "Hantro VPU Rockchip support"
0038 depends on VIDEO_HANTRO
0039 depends on ARCH_ROCKCHIP || COMPILE_TEST
0040 default y
0041 help
0042 Enable support for RK3288, RK3328, and RK3399 SoCs.
0043
0044 config VIDEO_HANTRO_SUNXI
0045 bool "Hantro VPU Allwinner support"
0046 depends on VIDEO_HANTRO
0047 depends on ARCH_SUNXI || COMPILE_TEST
0048 default y
0049 help
0050 Enable support for H6 SoC.