1# SPDX-License-Identifier: GPL-2.0-only 2# 3# Generic video config states 4# 5 6# Enable the V4L2 core and API 7config VIDEO_V4L2 8 tristate 9 depends on (I2C || I2C=n) && VIDEO_DEV 10 select RATIONAL 11 select VIDEOBUF2_V4L2 if VIDEOBUF2_CORE 12 default (I2C || I2C=n) && VIDEO_DEV 13 14config VIDEO_V4L2_I2C 15 bool 16 depends on I2C && VIDEO_V4L2 17 default y 18 19config VIDEO_ADV_DEBUG 20 bool "Enable advanced debug functionality on V4L2 drivers" 21 help 22 Say Y here to enable advanced debugging functionality on some 23 V4L devices. 24 In doubt, say N. 25 26config VIDEO_FIXED_MINOR_RANGES 27 bool "Enable old-style fixed minor ranges on drivers/video devices" 28 help 29 Say Y here to enable the old-style fixed-range minor assignments. 30 Only useful if you rely on the old behavior and use mknod instead of udev. 31 32 When in doubt, say N. 33 34# Used by drivers that need tuner.ko 35config VIDEO_TUNER 36 tristate 37 38# Used by drivers that need v4l2-mem2mem.ko 39config V4L2_MEM2MEM_DEV 40 tristate 41 depends on VIDEOBUF2_CORE 42 43# Used by LED subsystem flash drivers 44config V4L2_FLASH_LED_CLASS 45 tristate "V4L2 flash API for LED flash class devices" 46 depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API 47 depends on LEDS_CLASS_FLASH 48 help 49 Say Y here to enable V4L2 flash API support for LED flash 50 class drivers. 51 52 When in doubt, say N. 53 54config V4L2_FWNODE 55 tristate 56 57# Used by drivers that need Videobuf modules 58config VIDEOBUF_GEN 59 tristate 60 61config VIDEOBUF_DMA_SG 62 tristate 63 select VIDEOBUF_GEN 64 65config VIDEOBUF_VMALLOC 66 tristate 67 select VIDEOBUF_GEN 68 69config VIDEOBUF_DMA_CONTIG 70 tristate 71 select VIDEOBUF_GEN 72