1 # SPDX-License-Identifier: GPL-2.0-only
3 # Generic video config states
6 # Enable the V4L2 core and API
9 depends on (I2C || I2C=n) && VIDEO_DEV
11 select VIDEOBUF2_V4L2 if VIDEOBUF2_CORE
12 default (I2C || I2C=n) && VIDEO_DEV
16 depends on I2C && VIDEO_V4L2
19 config VIDEO_V4L2_SUBDEV_API
20 bool "V4L2 sub-device userspace API"
21 depends on VIDEO_DEV && MEDIA_CONTROLLER
23 Enables the V4L2 sub-device pad-level userspace API used to configure
24 video format, size and frame rate between hardware blocks.
26 This API is mostly used by camera interfaces in embedded platforms.
28 config VIDEO_ADV_DEBUG
29 bool "Enable advanced debug functionality on V4L2 drivers"
31 Say Y here to enable advanced debugging functionality on some
35 config VIDEO_FIXED_MINOR_RANGES
36 bool "Enable old-style fixed minor ranges on drivers/video devices"
38 Say Y here to enable the old-style fixed-range minor assignments.
39 Only useful if you rely on the old behavior and use mknod instead of udev.
43 # Used by drivers that need tuner.ko
47 # Used by drivers that need v4l2-jpeg.ko
48 config V4L2_JPEG_HELPER
51 # Used by drivers that need v4l2-h264.ko
55 # Used by drivers that need v4l2-mem2mem.ko
56 config V4L2_MEM2MEM_DEV
58 depends on VIDEOBUF2_CORE
60 # Used by LED subsystem flash drivers
61 config V4L2_FLASH_LED_CLASS
62 tristate "V4L2 flash API for LED flash class devices"
63 depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
64 depends on LEDS_CLASS_FLASH
66 Say Y here to enable V4L2 flash API support for LED flash
74 # Used by drivers that need Videobuf modules
78 config VIDEOBUF_DMA_SG
82 config VIDEOBUF_VMALLOC
86 config VIDEOBUF_DMA_CONTIG