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