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