1# SPDX-License-Identifier: GPL-2.0-only
2config VIDEO_STI_DELTA
3	tristate "STMicroelectronics DELTA multi-format video decoder V4L2 driver"
4	depends on V4L_MEM2MEM_DRIVERS
5	depends on VIDEO_DEV
6	depends on ARCH_STI || COMPILE_TEST
7	help
8		This V4L2 driver enables DELTA multi-format video decoder
9		of STMicroelectronics STiH4xx SoC series allowing hardware
10		decoding of various compressed video bitstream format in
11		raw uncompressed format.
12
13		Use this option to see the decoders available for such
14		hardware.
15
16		Please notice that the driver will only be built if
17		at least one of the DELTA decoder below is selected.
18
19config VIDEO_STI_DELTA_MJPEG
20	bool "STMicroelectronics DELTA MJPEG support"
21	default y
22	depends on VIDEO_STI_DELTA
23	help
24		Enables DELTA MJPEG hardware support.
25
26		To compile this driver as a module, choose M here:
27		the module will be called st-delta.
28
29config VIDEO_STI_DELTA_DRIVER
30	tristate
31	depends on VIDEO_STI_DELTA
32	depends on VIDEO_STI_DELTA_MJPEG
33	default VIDEO_STI_DELTA_MJPEG
34	select VIDEOBUF2_DMA_CONTIG
35	select V4L2_MEM2MEM_DEV
36	select RPMSG
37