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
14 config VIDEO_ADV_DEBUG
15 bool "Enable advanced debug functionality on V4L2 drivers"
18 Say Y here to enable advanced debugging functionality on some
22 config VIDEO_FIXED_MINOR_RANGES
23 bool "Enable old-style fixed minor ranges on drivers/video devices"
26 Say Y here to enable the old-style fixed-range minor assignments.
27 Only useful if you rely on the old behavior and use mknod instead of udev.
31 config VIDEO_PCI_SKELETON
32 tristate "Skeleton PCI V4L2 driver"
35 depends on VIDEO_V4L2 && VIDEOBUF2_CORE
36 depends on VIDEOBUF2_MEMOPS && VIDEOBUF2_DMA_CONTIG
38 Enable build of the skeleton PCI driver, used as a reference
39 when developing new drivers.
41 # Used by drivers that need tuner.ko
45 # Used by drivers that need v4l2-mem2mem.ko
46 config V4L2_MEM2MEM_DEV
48 depends on VIDEOBUF2_CORE
50 # Used by LED subsystem flash drivers
51 config V4L2_FLASH_LED_CLASS
52 tristate "V4L2 flash API for LED flash class devices"
53 depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
54 depends on LEDS_CLASS_FLASH
56 Say Y here to enable V4L2 flash API support for LED flash
64 # Used by drivers that need Videobuf modules
68 config VIDEOBUF_DMA_SG
72 config VIDEOBUF_VMALLOC
76 config VIDEOBUF_DMA_CONTIG