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