xref: /openbmc/linux/drivers/media/v4l2-core/Kconfig (revision 3932b9ca)
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	select DMA_SHARED_BUFFER
63	tristate
64
65config VIDEOBUF2_MEMOPS
66	tristate
67
68config VIDEOBUF2_DMA_CONTIG
69	tristate
70	depends on HAS_DMA
71	select VIDEOBUF2_CORE
72	select VIDEOBUF2_MEMOPS
73	select DMA_SHARED_BUFFER
74
75config VIDEOBUF2_VMALLOC
76	tristate
77	select VIDEOBUF2_CORE
78	select VIDEOBUF2_MEMOPS
79	select DMA_SHARED_BUFFER
80
81config VIDEOBUF2_DMA_SG
82	tristate
83	#depends on HAS_DMA
84	select VIDEOBUF2_CORE
85	select VIDEOBUF2_MEMOPS
86
87config VIDEOBUF2_DVB
88	tristate
89	select VIDEOBUF2_CORE
90