xref: /openbmc/linux/drivers/media/v4l2-core/Kconfig (revision 18489292)
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
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
41# Used by drivers that need v4l2-mem2mem.ko
42config V4L2_MEM2MEM_DEV
43        tristate
44        depends on VIDEOBUF2_CORE
45
46# Used by LED subsystem flash drivers
47config V4L2_FLASH_LED_CLASS
48	tristate "V4L2 flash API for LED flash class devices"
49	depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
50	depends on LEDS_CLASS_FLASH
51	---help---
52	  Say Y here to enable V4L2 flash API support for LED flash
53	  class drivers.
54
55	  When in doubt, say N.
56
57# Used by drivers that need Videobuf modules
58config VIDEOBUF_GEN
59	tristate
60
61config VIDEOBUF_DMA_SG
62	tristate
63	depends on HAS_DMA
64	select VIDEOBUF_GEN
65
66config VIDEOBUF_VMALLOC
67	tristate
68	select VIDEOBUF_GEN
69
70config VIDEOBUF_DMA_CONTIG
71	tristate
72	depends on HAS_DMA
73	select VIDEOBUF_GEN
74
75config VIDEOBUF_DVB
76	tristate
77	select VIDEOBUF_GEN
78
79# Used by drivers that need Videobuf2 modules
80config VIDEOBUF2_CORE
81	select DMA_SHARED_BUFFER
82	tristate
83
84config VIDEOBUF2_MEMOPS
85	tristate
86	select FRAME_VECTOR
87
88config VIDEOBUF2_DMA_CONTIG
89	tristate
90	depends on HAS_DMA
91	select VIDEOBUF2_CORE
92	select VIDEOBUF2_MEMOPS
93	select DMA_SHARED_BUFFER
94
95config VIDEOBUF2_VMALLOC
96	tristate
97	select VIDEOBUF2_CORE
98	select VIDEOBUF2_MEMOPS
99	select DMA_SHARED_BUFFER
100
101config VIDEOBUF2_DMA_SG
102	tristate
103	depends on HAS_DMA
104	select VIDEOBUF2_CORE
105	select VIDEOBUF2_MEMOPS
106
107config VIDEOBUF2_DVB
108	tristate
109	select VIDEOBUF2_CORE
110