Linux-libre 5.3.12-gnu
[librecmc/linux-libre.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         help
17           Say Y here to enable advanced debugging functionality on some
18           V4L devices.
19           In doubt, say N.
20
21 config VIDEO_FIXED_MINOR_RANGES
22         bool "Enable old-style fixed minor ranges on drivers/video devices"
23         help
24           Say Y here to enable the old-style fixed-range minor assignments.
25           Only useful if you rely on the old behavior and use mknod instead of udev.
26
27           When in doubt, say N.
28
29 config VIDEO_PCI_SKELETON
30         tristate "Skeleton PCI V4L2 driver"
31         depends on PCI
32         depends on SAMPLES
33         depends on VIDEO_V4L2 && VIDEOBUF2_CORE
34         depends on VIDEOBUF2_MEMOPS && VIDEOBUF2_DMA_CONTIG
35         help
36           Enable build of the skeleton PCI driver, used as a reference
37           when developing new drivers.
38
39 # Used by drivers that need tuner.ko
40 config VIDEO_TUNER
41         tristate
42
43 # Used by drivers that need v4l2-mem2mem.ko
44 config V4L2_MEM2MEM_DEV
45         tristate
46         depends on VIDEOBUF2_CORE
47
48 # Used by LED subsystem flash drivers
49 config V4L2_FLASH_LED_CLASS
50         tristate "V4L2 flash API for LED flash class devices"
51         depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
52         depends on LEDS_CLASS_FLASH
53         help
54           Say Y here to enable V4L2 flash API support for LED flash
55           class drivers.
56
57           When in doubt, say N.
58
59 config V4L2_FWNODE
60         tristate
61
62 # Used by drivers that need Videobuf modules
63 config VIDEOBUF_GEN
64         tristate
65
66 config VIDEOBUF_DMA_SG
67         tristate
68         select VIDEOBUF_GEN
69
70 config VIDEOBUF_VMALLOC
71         tristate
72         select VIDEOBUF_GEN
73
74 config VIDEOBUF_DMA_CONTIG
75         tristate
76         select VIDEOBUF_GEN