treewide: Add SPDX license identifier - Makefile/Kconfig
[linux-2.6-microblaze.git] / drivers / media / v4l2-core / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Generic video config states
4 #
5
6 # Enable the V4L2 core and API
7 config VIDEO_V4L2
8         tristate
9         depends on (I2C || I2C=n) && VIDEO_DEV
10         select RATIONAL
11         select VIDEOBUF2_V4L2 if VIDEOBUF2_CORE
12         default (I2C || I2C=n) && VIDEO_DEV
13
14 config VIDEO_ADV_DEBUG
15         bool "Enable advanced debug functionality on V4L2 drivers"
16         default n
17         help
18           Say Y here to enable advanced debugging functionality on some
19           V4L devices.
20           In doubt, say N.
21
22 config VIDEO_FIXED_MINOR_RANGES
23         bool "Enable old-style fixed minor ranges on drivers/video devices"
24         default n
25         help
26           Say Y here to enable the old-style fixed-range minor assignments.
27           Only useful if you rely on the old behavior and use mknod instead of udev.
28
29           When in doubt, say N.
30
31 config VIDEO_PCI_SKELETON
32         tristate "Skeleton PCI V4L2 driver"
33         depends on PCI
34         depends on SAMPLES
35         depends on VIDEO_V4L2 && VIDEOBUF2_CORE
36         depends on VIDEOBUF2_MEMOPS && VIDEOBUF2_DMA_CONTIG
37         help
38           Enable build of the skeleton PCI driver, used as a reference
39           when developing new drivers.
40
41 # Used by drivers that need tuner.ko
42 config VIDEO_TUNER
43         tristate
44
45 # Used by drivers that need v4l2-mem2mem.ko
46 config V4L2_MEM2MEM_DEV
47         tristate
48         depends on VIDEOBUF2_CORE
49
50 # Used by LED subsystem flash drivers
51 config V4L2_FLASH_LED_CLASS
52         tristate "V4L2 flash API for LED flash class devices"
53         depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
54         depends on LEDS_CLASS_FLASH
55         help
56           Say Y here to enable V4L2 flash API support for LED flash
57           class drivers.
58
59           When in doubt, say N.
60
61 config V4L2_FWNODE
62         tristate
63
64 # Used by drivers that need Videobuf modules
65 config VIDEOBUF_GEN
66         tristate
67
68 config VIDEOBUF_DMA_SG
69         tristate
70         select VIDEOBUF_GEN
71
72 config VIDEOBUF_VMALLOC
73         tristate
74         select VIDEOBUF_GEN
75
76 config VIDEOBUF_DMA_CONTIG
77         tristate
78         select VIDEOBUF_GEN