xref: /linux/drivers/media/platform/verisilicon/Kconfig (revision f728c17fc97aea7a33151d9ba64106291c62bb02)
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 VIDEOBUF2_DMA_CONTIG
12	select VIDEOBUF2_VMALLOC
13	select V4L2_MEM2MEM_DEV
14	select V4L2_H264
15	select V4L2_VP9
16	help
17	  Support for the Hantro IP based Video Processing Units present on
18	  Rockchip and NXP i.MX8M SoCs, which accelerate video and image
19	  encoding and decoding.
20	  To compile this driver as a module, choose M here: the module
21	  will be called hantro-vpu.
22
23config VIDEO_HANTRO_IMX8M
24	bool "Hantro VPU i.MX8M support"
25	depends on VIDEO_HANTRO
26	depends on ARCH_MXC || COMPILE_TEST
27	default y
28	help
29	  Enable support for i.MX8M SoCs.
30
31config VIDEO_HANTRO_SAMA5D4
32	bool "Hantro VDEC SAMA5D4 support"
33	depends on VIDEO_HANTRO
34	depends on ARCH_AT91 || COMPILE_TEST
35	default y
36	help
37	  Enable support for Microchip SAMA5D4 SoCs.
38
39config VIDEO_HANTRO_ROCKCHIP
40	bool "Hantro VPU Rockchip support"
41	depends on VIDEO_HANTRO
42	depends on ARCH_ROCKCHIP || COMPILE_TEST
43	default y
44	help
45	  Enable support for RK3288, RK3328, and RK3399 SoCs.
46
47config VIDEO_HANTRO_SUNXI
48	bool "Hantro VPU Allwinner support"
49	depends on VIDEO_HANTRO
50	depends on ARCH_SUNXI || COMPILE_TEST
51	default y
52	help
53	  Enable support for H6 SoC.
54