Merge tag 'mm-hotfixes-stable-2025-07-11-16-16' of git://git.kernel.org/pub/scm/linux...
[linux-2.6-block.git] / drivers / media / v4l2-core / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
5bc3cb74
MCC
2#
3# Generic video config states
4#
5
02283b98
EG
6config VIDEO_V4L2_I2C
7 bool
9958d30f 8 depends on I2C && VIDEO_DEV
02283b98
EG
9 default y
10
8164ab87 11config VIDEO_V4L2_SUBDEV_API
817819b2 12 bool
8164ab87
MCC
13 depends on VIDEO_DEV && MEDIA_CONTROLLER
14 help
15 Enables the V4L2 sub-device pad-level userspace API used to configure
16 video format, size and frame rate between hardware blocks.
17
18 This API is mostly used by camera interfaces in embedded platforms.
19
f0af8fa4
MCC
20config VIDEO_ADV_DEBUG
21 bool "Enable advanced debug functionality on V4L2 drivers"
b60a5b8d 22 help
f0af8fa4
MCC
23 Say Y here to enable advanced debugging functionality on some
24 V4L devices.
25 In doubt, say N.
26
27config VIDEO_FIXED_MINOR_RANGES
28 bool "Enable old-style fixed minor ranges on drivers/video devices"
b60a5b8d 29 help
f0af8fa4
MCC
30 Say Y here to enable the old-style fixed-range minor assignments.
31 Only useful if you rely on the old behavior and use mknod instead of udev.
32
33 When in doubt, say N.
34
b6334460
MCC
35# Used by drivers that need tuner.ko
36config VIDEO_TUNER
5bc3cb74 37 tristate
b6334460 38
50733b5b
PZ
39# Used by drivers that need v4l2-jpeg.ko
40config V4L2_JPEG_HELPER
41 tristate
42
624922a2
BB
43# Used by drivers that need v4l2-h264.ko
44config V4L2_H264
45 tristate
46
3e3b1fb0
AP
47# Used by drivers that need v4l2-vp9.ko
48config V4L2_VP9
49 tristate
50
b6334460
MCC
51# Used by drivers that need v4l2-mem2mem.ko
52config V4L2_MEM2MEM_DEV
4a3fad70
MCC
53 tristate
54 depends on VIDEOBUF2_CORE
5bc3cb74 55
42bd6f59
JA
56# Used by LED subsystem flash drivers
57config V4L2_FLASH_LED_CLASS
58 tristate "V4L2 flash API for LED flash class devices"
817819b2 59 depends on VIDEO_DEV
42bd6f59 60 depends on LEDS_CLASS_FLASH
817819b2 61 select MEDIA_CONTROLLER
ff3cc65c 62 select V4L2_ASYNC
817819b2 63 select VIDEO_V4L2_SUBDEV_API
b60a5b8d 64 help
42bd6f59
JA
65 Say Y here to enable V4L2 flash API support for LED flash
66 class drivers.
67
68 When in doubt, say N.
69
ca50c197
SA
70config V4L2_FWNODE
71 tristate
ff3cc65c
SA
72 select V4L2_ASYNC
73
74config V4L2_ASYNC
75 tristate
ca50c197 76
613cbb91
HG
77config V4L2_CCI
78 tristate
79
80config V4L2_CCI_I2C
81 tristate
82 depends on I2C
83 select REGMAP_I2C
84 select V4L2_CCI