xref: /linux/drivers/media/platform/verisilicon/Kconfig (revision 46e6acfe3501fa938af9c5bd730f0020235b08a2)
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 || ARCH_STM32 || 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_JPEG_HELPER
16	select V4L2_VP9
17	help
18	  Support for the Hantro IP based Video Processing Units present on
19	  Rockchip, NXP i.MX8M and STM32MP25 SoCs, which accelerate video
20	  and image 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
56config VIDEO_HANTRO_STM32MP25
57	bool "Hantro STM32MP25 support"
58	depends on VIDEO_HANTRO
59	depends on ARCH_STM32 || COMPILE_TEST
60	default y
61	help
62	  Enable support for STM32MP25 SoCs.
63