Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
[cascardo/linux.git] / drivers / media / v4l2-core / Kconfig
1 #
2 # Generic video config states
3 #
4
5 # Enable the V4L2 core and API
6 config VIDEO_V4L2
7         tristate
8         depends on (I2C || I2C=n) && VIDEO_DEV
9         default (I2C || I2C=n) && VIDEO_DEV
10
11 config VIDEO_ADV_DEBUG
12         bool "Enable advanced debug functionality on V4L2 drivers"
13         default n
14         ---help---
15           Say Y here to enable advanced debugging functionality on some
16           V4L devices.
17           In doubt, say N.
18
19 config VIDEO_FIXED_MINOR_RANGES
20         bool "Enable old-style fixed minor ranges on drivers/video devices"
21         default n
22         ---help---
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.
25
26           When in doubt, say N.
27
28 # Used by drivers that need tuner.ko
29 config VIDEO_TUNER
30         tristate
31         depends on MEDIA_TUNER
32
33 # Used by drivers that need v4l2-mem2mem.ko
34 config V4L2_MEM2MEM_DEV
35         tristate
36         depends on VIDEOBUF2_CORE
37
38 # Used by drivers that need Videobuf modules
39 config VIDEOBUF_GEN
40         tristate
41
42 config VIDEOBUF_DMA_SG
43         tristate
44         depends on HAS_DMA
45         select VIDEOBUF_GEN
46
47 config VIDEOBUF_VMALLOC
48         tristate
49         select VIDEOBUF_GEN
50
51 config VIDEOBUF_DMA_CONTIG
52         tristate
53         depends on HAS_DMA
54         select VIDEOBUF_GEN
55
56 config VIDEOBUF_DVB
57         tristate
58         select VIDEOBUF_GEN
59
60 # Used by drivers that need Videobuf2 modules
61 config VIDEOBUF2_CORE
62         select DMA_SHARED_BUFFER
63         tristate
64
65 config VIDEOBUF2_MEMOPS
66         tristate
67
68 config VIDEOBUF2_DMA_CONTIG
69         tristate
70         depends on HAS_DMA
71         select VIDEOBUF2_CORE
72         select VIDEOBUF2_MEMOPS
73         select DMA_SHARED_BUFFER
74
75 config VIDEOBUF2_VMALLOC
76         tristate
77         select VIDEOBUF2_CORE
78         select VIDEOBUF2_MEMOPS
79         select DMA_SHARED_BUFFER
80
81 config VIDEOBUF2_DMA_SG
82         tristate
83         #depends on HAS_DMA
84         select VIDEOBUF2_CORE
85         select VIDEOBUF2_MEMOPS
86
87 config VIDEO_V4L2_INT_DEVICE
88         tristate "V4L2 int device (DEPRECATED)"
89         depends on VIDEO_V4L2
90         ---help---
91           An early framework for a hardware-independent interface for
92           image sensors and bridges etc. Currently used by omap24xxcam and
93           tcm825x drivers that should be converted to V4L2 subdev.
94
95           Do not use for new developments.
96