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