0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # Generic video config states
0004 #
0005
0006 config VIDEO_V4L2_I2C
0007 bool
0008 depends on I2C && VIDEO_DEV
0009 default y
0010
0011 config VIDEO_V4L2_SUBDEV_API
0012 bool
0013 depends on VIDEO_DEV && MEDIA_CONTROLLER
0014 help
0015 Enables the V4L2 sub-device pad-level userspace API used to configure
0016 video format, size and frame rate between hardware blocks.
0017
0018 This API is mostly used by camera interfaces in embedded platforms.
0019
0020 config VIDEO_ADV_DEBUG
0021 bool "Enable advanced debug functionality on V4L2 drivers"
0022 help
0023 Say Y here to enable advanced debugging functionality on some
0024 V4L devices.
0025 In doubt, say N.
0026
0027 config VIDEO_FIXED_MINOR_RANGES
0028 bool "Enable old-style fixed minor ranges on drivers/video devices"
0029 help
0030 Say Y here to enable the old-style fixed-range minor assignments.
0031 Only useful if you rely on the old behavior and use mknod instead of udev.
0032
0033 When in doubt, say N.
0034
0035 # Used by drivers that need tuner.ko
0036 config VIDEO_TUNER
0037 tristate
0038
0039 # Used by drivers that need v4l2-jpeg.ko
0040 config V4L2_JPEG_HELPER
0041 tristate
0042
0043 # Used by drivers that need v4l2-h264.ko
0044 config V4L2_H264
0045 tristate
0046
0047 # Used by drivers that need v4l2-vp9.ko
0048 config V4L2_VP9
0049 tristate
0050
0051 # Used by drivers that need v4l2-mem2mem.ko
0052 config V4L2_MEM2MEM_DEV
0053 tristate
0054 depends on VIDEOBUF2_CORE
0055
0056 # Used by LED subsystem flash drivers
0057 config V4L2_FLASH_LED_CLASS
0058 tristate "V4L2 flash API for LED flash class devices"
0059 depends on VIDEO_DEV
0060 depends on LEDS_CLASS_FLASH
0061 select MEDIA_CONTROLLER
0062 select V4L2_ASYNC
0063 select VIDEO_V4L2_SUBDEV_API
0064 help
0065 Say Y here to enable V4L2 flash API support for LED flash
0066 class drivers.
0067
0068 When in doubt, say N.
0069
0070 config V4L2_FWNODE
0071 tristate
0072 select V4L2_ASYNC
0073
0074 config V4L2_ASYNC
0075 tristate
0076
0077 # Used by drivers that need Videobuf modules
0078 config VIDEOBUF_GEN
0079 tristate
0080
0081 config VIDEOBUF_DMA_SG
0082 tristate
0083 select VIDEOBUF_GEN
0084
0085 config VIDEOBUF_VMALLOC
0086 tristate
0087 select VIDEOBUF_GEN
0088
0089 config VIDEOBUF_DMA_CONTIG
0090 tristate
0091 select VIDEOBUF_GEN