blob: 976d029e992530a8412f7e4f8b4ffbf9bac12944 [file] [log] [blame]
Mauro Carvalho Chehab5bc3cb72012-06-14 16:35:52 -03001#
2# Generic video config states
3#
4
Mauro Carvalho Chehabb6334462012-08-20 10:32:19 -03005# Enable the V4L2 core and API
6config VIDEO_V4L2
7 tristate
8 depends on (I2C || I2C=n) && VIDEO_DEV
9 default (I2C || I2C=n) && VIDEO_DEV
10
Mauro Carvalho Chehabf0af8fa2012-08-14 16:07:25 -030011config 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
19config 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
Mauro Carvalho Chehabb6334462012-08-20 10:32:19 -030028# Used by drivers that need tuner.ko
29config VIDEO_TUNER
Mauro Carvalho Chehab5bc3cb72012-06-14 16:35:52 -030030 tristate
Mauro Carvalho Chehabb6334462012-08-20 10:32:19 -030031 depends on MEDIA_TUNER
Mauro Carvalho Chehab5bc3cb72012-06-14 16:35:52 -030032
Mauro Carvalho Chehabb6334462012-08-20 10:32:19 -030033# Used by drivers that need v4l2-mem2mem.ko
34config V4L2_MEM2MEM_DEV
35 tristate
36 depends on VIDEOBUF2_CORE
37
38# Used by drivers that need Videobuf modules
Mauro Carvalho Chehab5bc3cb72012-06-14 16:35:52 -030039config VIDEOBUF_GEN
40 tristate
41
42config VIDEOBUF_DMA_SG
Mauro Carvalho Chehabf0af8fa2012-08-14 16:07:25 -030043 tristate
Mauro Carvalho Chehab5bc3cb72012-06-14 16:35:52 -030044 depends on HAS_DMA
45 select VIDEOBUF_GEN
Mauro Carvalho Chehab5bc3cb72012-06-14 16:35:52 -030046
47config VIDEOBUF_VMALLOC
Mauro Carvalho Chehab5bc3cb72012-06-14 16:35:52 -030048 tristate
Mauro Carvalho Chehabf0af8fa2012-08-14 16:07:25 -030049 select VIDEOBUF_GEN
Mauro Carvalho Chehab5bc3cb72012-06-14 16:35:52 -030050
51config VIDEOBUF_DMA_CONTIG
Mauro Carvalho Chehabf0af8fa2012-08-14 16:07:25 -030052 tristate
Mauro Carvalho Chehab5bc3cb72012-06-14 16:35:52 -030053 depends on HAS_DMA
54 select VIDEOBUF_GEN
Mauro Carvalho Chehab5bc3cb72012-06-14 16:35:52 -030055
56config VIDEOBUF_DVB
57 tristate
58 select VIDEOBUF_GEN
59
Mauro Carvalho Chehabb6334462012-08-20 10:32:19 -030060# Used by drivers that need Videobuf2 modules
Mauro Carvalho Chehab5bc3cb72012-06-14 16:35:52 -030061config VIDEOBUF2_CORE
Sumit Semwalc5384042012-06-14 10:37:37 -030062 select DMA_SHARED_BUFFER
Mauro Carvalho Chehab5bc3cb72012-06-14 16:35:52 -030063 tristate
64
65config VIDEOBUF2_MEMOPS
66 tristate
67
68config VIDEOBUF2_DMA_CONTIG
Mauro Carvalho Chehabf0af8fa2012-08-14 16:07:25 -030069 tristate
Mauro Carvalho Chehab5bc3cb72012-06-14 16:35:52 -030070 select VIDEOBUF2_CORE
71 select VIDEOBUF2_MEMOPS
Sumit Semwal8c417d02012-06-14 10:37:45 -030072 select DMA_SHARED_BUFFER
Mauro Carvalho Chehab5bc3cb72012-06-14 16:35:52 -030073
74config VIDEOBUF2_VMALLOC
Mauro Carvalho Chehabf0af8fa2012-08-14 16:07:25 -030075 tristate
Mauro Carvalho Chehab5bc3cb72012-06-14 16:35:52 -030076 select VIDEOBUF2_CORE
77 select VIDEOBUF2_MEMOPS
Tomasz Stanislawski89d2ee02012-06-14 10:37:46 -030078 select DMA_SHARED_BUFFER
Mauro Carvalho Chehab5bc3cb72012-06-14 16:35:52 -030079
80config VIDEOBUF2_DMA_SG
Mauro Carvalho Chehabf0af8fa2012-08-14 16:07:25 -030081 tristate
Mauro Carvalho Chehab5bc3cb72012-06-14 16:35:52 -030082 #depends on HAS_DMA
83 select VIDEOBUF2_CORE
84 select VIDEOBUF2_MEMOPS
Sakari Ailus668a8b32013-01-05 18:56:10 -030085
86config VIDEO_V4L2_INT_DEVICE
87 tristate "V4L2 int device (DEPRECATED)"
88 depends on VIDEO_V4L2
89 ---help---
90 An early framework for a hardware-independent interface for
91 image sensors and bridges etc. Currently used by omap24xxcam and
92 tcm825x drivers that should be converted to V4L2 subdev.
93
94 Do not use for new developments.
95