2019-05-19 12:07:45 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2012-06-14 19:35:52 +00:00
|
|
|
#
|
|
|
|
# Generic video config states
|
|
|
|
#
|
|
|
|
|
2012-08-20 13:32:19 +00:00
|
|
|
# Enable the V4L2 core and API
|
|
|
|
config VIDEO_V4L2
|
|
|
|
tristate
|
|
|
|
depends on (I2C || I2C=n) && VIDEO_DEV
|
2016-07-14 10:59:12 +00:00
|
|
|
select RATIONAL
|
2018-02-23 08:29:46 +00:00
|
|
|
select VIDEOBUF2_V4L2 if VIDEOBUF2_CORE
|
2012-08-20 13:32:19 +00:00
|
|
|
default (I2C || I2C=n) && VIDEO_DEV
|
|
|
|
|
2012-08-14 19:07:25 +00:00
|
|
|
config VIDEO_ADV_DEBUG
|
|
|
|
bool "Enable advanced debug functionality on V4L2 drivers"
|
|
|
|
default n
|
2019-03-20 10:39:44 +00:00
|
|
|
help
|
2012-08-14 19:07:25 +00:00
|
|
|
Say Y here to enable advanced debugging functionality on some
|
|
|
|
V4L devices.
|
|
|
|
In doubt, say N.
|
|
|
|
|
|
|
|
config VIDEO_FIXED_MINOR_RANGES
|
|
|
|
bool "Enable old-style fixed minor ranges on drivers/video devices"
|
|
|
|
default n
|
2019-03-20 10:39:44 +00:00
|
|
|
help
|
2012-08-14 19:07:25 +00:00
|
|
|
Say Y here to enable the old-style fixed-range minor assignments.
|
|
|
|
Only useful if you rely on the old behavior and use mknod instead of udev.
|
|
|
|
|
|
|
|
When in doubt, say N.
|
|
|
|
|
2014-09-25 18:23:27 +00:00
|
|
|
config VIDEO_PCI_SKELETON
|
|
|
|
tristate "Skeleton PCI V4L2 driver"
|
2016-10-06 22:00:50 +00:00
|
|
|
depends on PCI
|
2018-11-26 18:01:23 +00:00
|
|
|
depends on SAMPLES
|
2014-09-25 18:23:27 +00:00
|
|
|
depends on VIDEO_V4L2 && VIDEOBUF2_CORE
|
|
|
|
depends on VIDEOBUF2_MEMOPS && VIDEOBUF2_DMA_CONTIG
|
2019-03-20 10:39:44 +00:00
|
|
|
help
|
2014-09-25 18:23:27 +00:00
|
|
|
Enable build of the skeleton PCI driver, used as a reference
|
|
|
|
when developing new drivers.
|
|
|
|
|
2012-08-20 13:32:19 +00:00
|
|
|
# Used by drivers that need tuner.ko
|
|
|
|
config VIDEO_TUNER
|
2012-06-14 19:35:52 +00:00
|
|
|
tristate
|
2012-08-20 13:32:19 +00:00
|
|
|
|
|
|
|
# Used by drivers that need v4l2-mem2mem.ko
|
|
|
|
config V4L2_MEM2MEM_DEV
|
2018-01-04 11:47:28 +00:00
|
|
|
tristate
|
|
|
|
depends on VIDEOBUF2_CORE
|
2012-06-14 19:35:52 +00:00
|
|
|
|
2015-06-19 07:31:47 +00:00
|
|
|
# Used by LED subsystem flash drivers
|
|
|
|
config V4L2_FLASH_LED_CLASS
|
|
|
|
tristate "V4L2 flash API for LED flash class devices"
|
2015-10-02 09:19:15 +00:00
|
|
|
depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
|
2015-06-19 07:31:47 +00:00
|
|
|
depends on LEDS_CLASS_FLASH
|
2019-03-20 10:39:44 +00:00
|
|
|
help
|
2015-06-19 07:31:47 +00:00
|
|
|
Say Y here to enable V4L2 flash API support for LED flash
|
|
|
|
class drivers.
|
|
|
|
|
|
|
|
When in doubt, say N.
|
|
|
|
|
2016-08-12 11:05:51 +00:00
|
|
|
config V4L2_FWNODE
|
|
|
|
tristate
|
|
|
|
|
2012-08-20 13:32:19 +00:00
|
|
|
# Used by drivers that need Videobuf modules
|
2012-06-14 19:35:52 +00:00
|
|
|
config VIDEOBUF_GEN
|
|
|
|
tristate
|
|
|
|
|
|
|
|
config VIDEOBUF_DMA_SG
|
2012-08-14 19:07:25 +00:00
|
|
|
tristate
|
2012-06-14 19:35:52 +00:00
|
|
|
select VIDEOBUF_GEN
|
|
|
|
|
|
|
|
config VIDEOBUF_VMALLOC
|
|
|
|
tristate
|
2012-08-14 19:07:25 +00:00
|
|
|
select VIDEOBUF_GEN
|
2012-06-14 19:35:52 +00:00
|
|
|
|
|
|
|
config VIDEOBUF_DMA_CONTIG
|
2012-08-14 19:07:25 +00:00
|
|
|
tristate
|
2012-06-14 19:35:52 +00:00
|
|
|
select VIDEOBUF_GEN
|