xref: /openbmc/linux/drivers/media/v4l2-core/Kconfig (revision c819e2cf)
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
28config 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
33	---help---
34	  Enable build of the skeleton PCI driver, used as a reference
35	  when developing new drivers.
36
37# Used by drivers that need tuner.ko
38config VIDEO_TUNER
39	tristate
40	depends on MEDIA_TUNER
41
42# Used by drivers that need v4l2-mem2mem.ko
43config V4L2_MEM2MEM_DEV
44        tristate
45        depends on VIDEOBUF2_CORE
46
47# Used by drivers that need Videobuf modules
48config VIDEOBUF_GEN
49	tristate
50
51config VIDEOBUF_DMA_SG
52	tristate
53	depends on HAS_DMA
54	select VIDEOBUF_GEN
55
56config VIDEOBUF_VMALLOC
57	tristate
58	select VIDEOBUF_GEN
59
60config VIDEOBUF_DMA_CONTIG
61	tristate
62	depends on HAS_DMA
63	select VIDEOBUF_GEN
64
65config VIDEOBUF_DVB
66	tristate
67	select VIDEOBUF_GEN
68
69# Used by drivers that need Videobuf2 modules
70config VIDEOBUF2_CORE
71	select DMA_SHARED_BUFFER
72	tristate
73
74config VIDEOBUF2_MEMOPS
75	tristate
76
77config VIDEOBUF2_DMA_CONTIG
78	tristate
79	depends on HAS_DMA
80	select VIDEOBUF2_CORE
81	select VIDEOBUF2_MEMOPS
82	select DMA_SHARED_BUFFER
83
84config VIDEOBUF2_VMALLOC
85	tristate
86	select VIDEOBUF2_CORE
87	select VIDEOBUF2_MEMOPS
88	select DMA_SHARED_BUFFER
89
90config VIDEOBUF2_DMA_SG
91	tristate
92	#depends on HAS_DMA
93	select VIDEOBUF2_CORE
94	select VIDEOBUF2_MEMOPS
95
96config VIDEOBUF2_DVB
97	tristate
98	select VIDEOBUF2_CORE
99