2 # Generic video config states
5 # Enable the V4L2 core and API
8 depends on (I2C || I2C=n) && VIDEO_DEV
10 default (I2C || I2C=n) && VIDEO_DEV
12 config VIDEO_ADV_DEBUG
13 bool "Enable advanced debug functionality on V4L2 drivers"
16 Say Y here to enable advanced debugging functionality on some
20 config VIDEO_FIXED_MINOR_RANGES
21 bool "Enable old-style fixed minor ranges on drivers/video devices"
24 Say Y here to enable the old-style fixed-range minor assignments.
25 Only useful if you rely on the old behavior and use mknod instead of udev.
29 config VIDEO_PCI_SKELETON
30 tristate "Skeleton PCI V4L2 driver"
32 depends on VIDEO_V4L2 && VIDEOBUF2_CORE
33 depends on VIDEOBUF2_MEMOPS && VIDEOBUF2_DMA_CONTIG
35 Enable build of the skeleton PCI driver, used as a reference
36 when developing new drivers.
38 # Used by drivers that need tuner.ko
42 # Used by drivers that need v4l2-mem2mem.ko
43 config V4L2_MEM2MEM_DEV
45 depends on VIDEOBUF2_CORE
47 # Used by LED subsystem flash drivers
48 config V4L2_FLASH_LED_CLASS
49 tristate "V4L2 flash API for LED flash class devices"
50 depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
51 depends on LEDS_CLASS_FLASH
53 Say Y here to enable V4L2 flash API support for LED flash
58 # Used by drivers that need Videobuf modules
62 config VIDEOBUF_DMA_SG
67 config VIDEOBUF_VMALLOC
71 config VIDEOBUF_DMA_CONTIG
80 # Used by drivers that need Videobuf2 modules
82 select DMA_SHARED_BUFFER
85 config VIDEOBUF2_MEMOPS
89 config VIDEOBUF2_DMA_CONTIG
93 select VIDEOBUF2_MEMOPS
94 select DMA_SHARED_BUFFER
96 config VIDEOBUF2_VMALLOC
99 select VIDEOBUF2_MEMOPS
100 select DMA_SHARED_BUFFER
102 config VIDEOBUF2_DMA_SG
105 select VIDEOBUF2_CORE
106 select VIDEOBUF2_MEMOPS
110 select VIDEOBUF2_CORE