2 # Generic video config states
5 # Enable the V4L2 core and API
8 depends on (I2C || I2C=n) && VIDEO_DEV
9 default (I2C || I2C=n) && VIDEO_DEV
11 config VIDEO_ADV_DEBUG
12 bool "Enable advanced debug functionality on V4L2 drivers"
15 Say Y here to enable advanced debugging functionality on some
19 config VIDEO_FIXED_MINOR_RANGES
20 bool "Enable old-style fixed minor ranges on drivers/video devices"
23 Say Y here to enable the old-style fixed-range minor assignments.
24 Only useful if you rely on the old behavior and use mknod instead of udev.
28 config VIDEO_PCI_SKELETON
29 tristate "Skeleton PCI V4L2 driver"
30 depends on PCI && BUILD_DOCSRC
31 depends on VIDEO_V4L2 && VIDEOBUF2_CORE
32 depends on VIDEOBUF2_MEMOPS && VIDEOBUF2_DMA_CONTIG
34 Enable build of the skeleton PCI driver, used as a reference
35 when developing new drivers.
37 # Used by drivers that need tuner.ko
40 depends on MEDIA_TUNER
42 # Used by drivers that need v4l2-mem2mem.ko
43 config V4L2_MEM2MEM_DEV
45 depends on VIDEOBUF2_CORE
47 # Used by drivers that need Videobuf modules
51 config VIDEOBUF_DMA_SG
56 config VIDEOBUF_VMALLOC
60 config VIDEOBUF_DMA_CONTIG
69 # Used by drivers that need Videobuf2 modules
71 select DMA_SHARED_BUFFER
74 config VIDEOBUF2_MEMOPS
77 config VIDEOBUF2_DMA_CONTIG
81 select VIDEOBUF2_MEMOPS
82 select DMA_SHARED_BUFFER
84 config VIDEOBUF2_VMALLOC
87 select VIDEOBUF2_MEMOPS
88 select DMA_SHARED_BUFFER
90 config VIDEOBUF2_DMA_SG
94 select VIDEOBUF2_MEMOPS