1# SPDX-License-Identifier: GPL-2.0-only 2# 3# Generic video config states 4# 5 6config VIDEO_V4L2_I2C 7 bool 8 depends on I2C && VIDEO_DEV 9 default y 10 11config VIDEO_V4L2_SUBDEV_API 12 bool "V4L2 sub-device userspace API" 13 depends on VIDEO_DEV && MEDIA_CONTROLLER 14 help 15 Enables the V4L2 sub-device pad-level userspace API used to configure 16 video format, size and frame rate between hardware blocks. 17 18 This API is mostly used by camera interfaces in embedded platforms. 19 20config VIDEO_ADV_DEBUG 21 bool "Enable advanced debug functionality on V4L2 drivers" 22 help 23 Say Y here to enable advanced debugging functionality on some 24 V4L devices. 25 In doubt, say N. 26 27config VIDEO_FIXED_MINOR_RANGES 28 bool "Enable old-style fixed minor ranges on drivers/video devices" 29 help 30 Say Y here to enable the old-style fixed-range minor assignments. 31 Only useful if you rely on the old behavior and use mknod instead of udev. 32 33 When in doubt, say N. 34 35# Used by drivers that need tuner.ko 36config VIDEO_TUNER 37 tristate 38 39# Used by drivers that need v4l2-jpeg.ko 40config V4L2_JPEG_HELPER 41 tristate 42 43# Used by drivers that need v4l2-h264.ko 44config V4L2_H264 45 tristate 46 47# Used by drivers that need v4l2-vp9.ko 48config V4L2_VP9 49 tristate 50 51# Used by drivers that need v4l2-mem2mem.ko 52config V4L2_MEM2MEM_DEV 53 tristate 54 depends on VIDEOBUF2_CORE 55 56# Used by LED subsystem flash drivers 57config V4L2_FLASH_LED_CLASS 58 tristate "V4L2 flash API for LED flash class devices" 59 depends on VIDEO_DEV && VIDEO_V4L2_SUBDEV_API 60 depends on LEDS_CLASS_FLASH 61 select V4L2_ASYNC 62 help 63 Say Y here to enable V4L2 flash API support for LED flash 64 class drivers. 65 66 When in doubt, say N. 67 68config V4L2_FWNODE 69 tristate 70 select V4L2_ASYNC 71 72config V4L2_ASYNC 73 tristate 74 75# Used by drivers that need Videobuf modules 76config VIDEOBUF_GEN 77 tristate 78 79config VIDEOBUF_DMA_SG 80 tristate 81 select VIDEOBUF_GEN 82 83config VIDEOBUF_VMALLOC 84 tristate 85 select VIDEOBUF_GEN 86 87config VIDEOBUF_DMA_CONTIG 88 tristate 89 select VIDEOBUF_GEN 90