1 # SPDX-License-Identifier: GPL-2.0-only
3 # Generic video config states
8 depends on I2C && VIDEO_DEV
11 config VIDEO_V4L2_SUBDEV_API
13 depends on VIDEO_DEV && MEDIA_CONTROLLER
15 Enables the V4L2 sub-device pad-level userspace API used to configure
16 video format, size and frame rate between hardware blocks.
18 This API is mostly used by camera interfaces in embedded platforms.
20 config VIDEO_ADV_DEBUG
21 bool "Enable advanced debug functionality on V4L2 drivers"
23 Say Y here to enable advanced debugging functionality on some
27 config VIDEO_FIXED_MINOR_RANGES
28 bool "Enable old-style fixed minor ranges on drivers/video devices"
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.
35 # Used by drivers that need tuner.ko
39 # Used by drivers that need v4l2-jpeg.ko
40 config V4L2_JPEG_HELPER
43 # Used by drivers that need v4l2-h264.ko
47 # Used by drivers that need v4l2-vp9.ko
51 # Used by drivers that need v4l2-mem2mem.ko
52 config V4L2_MEM2MEM_DEV
54 depends on VIDEOBUF2_CORE
56 # Used by LED subsystem flash drivers
57 config V4L2_FLASH_LED_CLASS
58 tristate "V4L2 flash API for LED flash class devices"
60 depends on LEDS_CLASS_FLASH
61 select MEDIA_CONTROLLER
63 select VIDEO_V4L2_SUBDEV_API
65 Say Y here to enable V4L2 flash API support for LED flash