xref: /openbmc/linux/drivers/media/v4l2-core/Kconfig (revision 2223cbec)
1#
2# Generic video config states
3#
4
5# 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
11config 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
28# Used by drivers that need tuner.ko
29config VIDEO_TUNER
30	tristate
31	depends on MEDIA_TUNER
32
33# 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
39config VIDEOBUF_GEN
40	tristate
41
42config VIDEOBUF_DMA_SG
43	tristate
44	depends on HAS_DMA
45	select VIDEOBUF_GEN
46
47config VIDEOBUF_VMALLOC
48	tristate
49	select VIDEOBUF_GEN
50
51config VIDEOBUF_DMA_CONTIG
52	tristate
53	depends on HAS_DMA
54	select VIDEOBUF_GEN
55
56config VIDEOBUF_DVB
57	tristate
58	select VIDEOBUF_GEN
59
60# Used by drivers that need Videobuf2 modules
61config VIDEOBUF2_CORE
62	tristate
63
64config VIDEOBUF2_MEMOPS
65	tristate
66
67config VIDEOBUF2_DMA_CONTIG
68	tristate
69	select VIDEOBUF2_CORE
70	select VIDEOBUF2_MEMOPS
71
72config VIDEOBUF2_VMALLOC
73	tristate
74	select VIDEOBUF2_CORE
75	select VIDEOBUF2_MEMOPS
76
77config VIDEOBUF2_DMA_SG
78	tristate
79	#depends on HAS_DMA
80	select VIDEOBUF2_CORE
81	select VIDEOBUF2_MEMOPS
82