1# SPDX-License-Identifier: GPL-2.0-only
2config VIDEO_STI_HVA
3	tristate "STMicroelectronics HVA multi-format video encoder V4L2 driver"
4	depends on V4L_MEM2MEM_DRIVERS
5	depends on VIDEO_DEV
6	depends on ARCH_STI || COMPILE_TEST
7	select VIDEOBUF2_DMA_CONTIG
8	select V4L2_MEM2MEM_DEV
9	help
10	  This V4L2 driver enables HVA (Hardware Video Accelerator) multi-format
11	  video encoder of STMicroelectronics SoC, allowing hardware encoding of
12	  raw uncompressed formats in various compressed video bitstreams format.
13
14	  To compile this driver as a module, choose M here:
15	  the module will be called st-hva.
16
17config VIDEO_STI_HVA_DEBUGFS
18	bool "Export STMicroelectronics HVA internals in debugfs"
19	depends on VIDEO_STI_HVA
20	depends on DEBUG_FS
21	help
22	  Select this to see information about the internal state and the last
23	  operation of STMicroelectronics HVA multi-format video encoder in
24	  debugfs.
25
26	  Choose N unless you know you need this.
27