treewide: Add SPDX license identifier - Makefile/Kconfig
[linux-2.6-block.git] / drivers / media / platform / vivid / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 config VIDEO_VIVID
3         tristate "Virtual Video Test Driver"
4         depends on VIDEO_DEV && VIDEO_V4L2 && !SPARC32 && !SPARC64 && FB
5         depends on HAS_DMA
6         select FONT_SUPPORT
7         select FONT_8x16
8         select FB_CFB_FILLRECT
9         select FB_CFB_COPYAREA
10         select FB_CFB_IMAGEBLIT
11         select VIDEOBUF2_VMALLOC
12         select VIDEOBUF2_DMA_CONTIG
13         select VIDEO_V4L2_TPG
14         default n
15         help
16           Enables a virtual video driver. This driver emulates a webcam,
17           TV, S-Video and HDMI capture hardware, including VBI support for
18           the SDTV inputs. Also video output, VBI output, radio receivers,
19           transmitters and software defined radio capture is emulated.
20
21           It is highly configurable and is ideal for testing applications.
22           Error injection is supported to test rare errors that are hard
23           to reproduce in real hardware.
24
25           Say Y here if you want to test video apps or debug V4L devices.
26           When in doubt, say N.
27
28 config VIDEO_VIVID_CEC
29         bool "Enable CEC emulation support"
30         depends on VIDEO_VIVID
31         select CEC_CORE
32         help
33           When selected the vivid module will emulate the optional
34           HDMI CEC feature.
35
36 config VIDEO_VIVID_MAX_DEVS
37         int "Maximum number of devices"
38         depends on VIDEO_VIVID
39         default "64"
40         help
41           This allows you to specify the maximum number of devices supported
42           by the vivid driver.