xref: /openbmc/linux/drivers/media/v4l2-core/Kconfig (revision 8a5aaf97)
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	select RATIONAL
10	select VIDEOBUF2_V4L2 if VIDEOBUF2_CORE
11	default (I2C || I2C=n) && VIDEO_DEV
12
13config VIDEO_ADV_DEBUG
14	bool "Enable advanced debug functionality on V4L2 drivers"
15	default n
16	---help---
17	  Say Y here to enable advanced debugging functionality on some
18	  V4L devices.
19	  In doubt, say N.
20
21config VIDEO_FIXED_MINOR_RANGES
22	bool "Enable old-style fixed minor ranges on drivers/video devices"
23	default n
24	---help---
25	  Say Y here to enable the old-style fixed-range minor assignments.
26	  Only useful if you rely on the old behavior and use mknod instead of udev.
27
28	  When in doubt, say N.
29
30config VIDEO_PCI_SKELETON
31	tristate "Skeleton PCI V4L2 driver"
32	depends on PCI
33	depends on SAMPLES
34	depends on VIDEO_V4L2 && VIDEOBUF2_CORE
35	depends on VIDEOBUF2_MEMOPS && VIDEOBUF2_DMA_CONTIG
36	---help---
37	  Enable build of the skeleton PCI driver, used as a reference
38	  when developing new drivers.
39
40# Used by drivers that need tuner.ko
41config VIDEO_TUNER
42	tristate
43
44# Used by drivers that need v4l2-mem2mem.ko
45config V4L2_MEM2MEM_DEV
46	tristate
47	depends on VIDEOBUF2_CORE
48
49# Used by LED subsystem flash drivers
50config V4L2_FLASH_LED_CLASS
51	tristate "V4L2 flash API for LED flash class devices"
52	depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
53	depends on LEDS_CLASS_FLASH
54	---help---
55	  Say Y here to enable V4L2 flash API support for LED flash
56	  class drivers.
57
58	  When in doubt, say N.
59
60config V4L2_FWNODE
61	tristate
62
63# Used by drivers that need Videobuf modules
64config VIDEOBUF_GEN
65	tristate
66
67config VIDEOBUF_DMA_SG
68	tristate
69	select VIDEOBUF_GEN
70
71config VIDEOBUF_VMALLOC
72	tristate
73	select VIDEOBUF_GEN
74
75config VIDEOBUF_DMA_CONTIG
76	tristate
77	select VIDEOBUF_GEN
78