hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/v4l2-core/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 #
23 # Generic video config states
34 #
....@@ -10,34 +11,45 @@
1011 select VIDEOBUF2_V4L2 if VIDEOBUF2_CORE
1112 default (I2C || I2C=n) && VIDEO_DEV
1213
14
+config VIDEO_V4L2_I2C
15
+ bool
16
+ depends on I2C && VIDEO_V4L2
17
+ default y
18
+
19
+config VIDEO_V4L2_SUBDEV_API
20
+ bool "V4L2 sub-device userspace API"
21
+ depends on VIDEO_DEV && MEDIA_CONTROLLER
22
+ help
23
+ Enables the V4L2 sub-device pad-level userspace API used to configure
24
+ video format, size and frame rate between hardware blocks.
25
+
26
+ This API is mostly used by camera interfaces in embedded platforms.
27
+
1328 config VIDEO_ADV_DEBUG
1429 bool "Enable advanced debug functionality on V4L2 drivers"
15
- default n
16
- ---help---
30
+ help
1731 Say Y here to enable advanced debugging functionality on some
1832 V4L devices.
1933 In doubt, say N.
2034
2135 config VIDEO_FIXED_MINOR_RANGES
2236 bool "Enable old-style fixed minor ranges on drivers/video devices"
23
- default n
24
- ---help---
37
+ help
2538 Say Y here to enable the old-style fixed-range minor assignments.
2639 Only useful if you rely on the old behavior and use mknod instead of udev.
2740
2841 When in doubt, say N.
2942
30
-config VIDEO_PCI_SKELETON
31
- tristate "Skeleton PCI V4L2 driver"
32
- depends on PCI
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
-
3943 # Used by drivers that need tuner.ko
4044 config VIDEO_TUNER
45
+ tristate
46
+
47
+# Used by drivers that need v4l2-jpeg.ko
48
+config V4L2_JPEG_HELPER
49
+ tristate
50
+
51
+# Used by drivers that need v4l2-h264.ko
52
+config V4L2_H264
4153 tristate
4254
4355 # Used by drivers that need v4l2-mem2mem.ko
....@@ -50,7 +62,7 @@
5062 tristate "V4L2 flash API for LED flash class devices"
5163 depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
5264 depends on LEDS_CLASS_FLASH
53
- ---help---
65
+ help
5466 Say Y here to enable V4L2 flash API support for LED flash
5567 class drivers.
5668