18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 28c2ecf20Sopenharmony_ci# 38c2ecf20Sopenharmony_ci# Generic video config states 48c2ecf20Sopenharmony_ci# 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci# Enable the V4L2 core and API 78c2ecf20Sopenharmony_ciconfig VIDEO_V4L2 88c2ecf20Sopenharmony_ci tristate 98c2ecf20Sopenharmony_ci depends on (I2C || I2C=n) && VIDEO_DEV 108c2ecf20Sopenharmony_ci select RATIONAL 118c2ecf20Sopenharmony_ci select VIDEOBUF2_V4L2 if VIDEOBUF2_CORE 128c2ecf20Sopenharmony_ci default (I2C || I2C=n) && VIDEO_DEV 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ciconfig VIDEO_V4L2_I2C 158c2ecf20Sopenharmony_ci bool 168c2ecf20Sopenharmony_ci depends on I2C && VIDEO_V4L2 178c2ecf20Sopenharmony_ci default y 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ciconfig VIDEO_V4L2_SUBDEV_API 208c2ecf20Sopenharmony_ci bool "V4L2 sub-device userspace API" 218c2ecf20Sopenharmony_ci depends on VIDEO_DEV && MEDIA_CONTROLLER 228c2ecf20Sopenharmony_ci help 238c2ecf20Sopenharmony_ci Enables the V4L2 sub-device pad-level userspace API used to configure 248c2ecf20Sopenharmony_ci video format, size and frame rate between hardware blocks. 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci This API is mostly used by camera interfaces in embedded platforms. 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ciconfig VIDEO_ADV_DEBUG 298c2ecf20Sopenharmony_ci bool "Enable advanced debug functionality on V4L2 drivers" 308c2ecf20Sopenharmony_ci help 318c2ecf20Sopenharmony_ci Say Y here to enable advanced debugging functionality on some 328c2ecf20Sopenharmony_ci V4L devices. 338c2ecf20Sopenharmony_ci In doubt, say N. 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ciconfig VIDEO_FIXED_MINOR_RANGES 368c2ecf20Sopenharmony_ci bool "Enable old-style fixed minor ranges on drivers/video devices" 378c2ecf20Sopenharmony_ci help 388c2ecf20Sopenharmony_ci Say Y here to enable the old-style fixed-range minor assignments. 398c2ecf20Sopenharmony_ci Only useful if you rely on the old behavior and use mknod instead of udev. 408c2ecf20Sopenharmony_ci 418c2ecf20Sopenharmony_ci When in doubt, say N. 428c2ecf20Sopenharmony_ci 438c2ecf20Sopenharmony_ci# Used by drivers that need tuner.ko 448c2ecf20Sopenharmony_ciconfig VIDEO_TUNER 458c2ecf20Sopenharmony_ci tristate 468c2ecf20Sopenharmony_ci 478c2ecf20Sopenharmony_ci# Used by drivers that need v4l2-jpeg.ko 488c2ecf20Sopenharmony_ciconfig V4L2_JPEG_HELPER 498c2ecf20Sopenharmony_ci tristate 508c2ecf20Sopenharmony_ci 518c2ecf20Sopenharmony_ci# Used by drivers that need v4l2-h264.ko 528c2ecf20Sopenharmony_ciconfig V4L2_H264 538c2ecf20Sopenharmony_ci tristate 548c2ecf20Sopenharmony_ci 558c2ecf20Sopenharmony_ci# Used by drivers that need v4l2-mem2mem.ko 568c2ecf20Sopenharmony_ciconfig V4L2_MEM2MEM_DEV 578c2ecf20Sopenharmony_ci tristate 588c2ecf20Sopenharmony_ci depends on VIDEOBUF2_CORE 598c2ecf20Sopenharmony_ci 608c2ecf20Sopenharmony_ci# Used by LED subsystem flash drivers 618c2ecf20Sopenharmony_ciconfig V4L2_FLASH_LED_CLASS 628c2ecf20Sopenharmony_ci tristate "V4L2 flash API for LED flash class devices" 638c2ecf20Sopenharmony_ci depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API 648c2ecf20Sopenharmony_ci depends on LEDS_CLASS_FLASH 658c2ecf20Sopenharmony_ci help 668c2ecf20Sopenharmony_ci Say Y here to enable V4L2 flash API support for LED flash 678c2ecf20Sopenharmony_ci class drivers. 688c2ecf20Sopenharmony_ci 698c2ecf20Sopenharmony_ci When in doubt, say N. 708c2ecf20Sopenharmony_ci 718c2ecf20Sopenharmony_ciconfig V4L2_FWNODE 728c2ecf20Sopenharmony_ci tristate 738c2ecf20Sopenharmony_ci 748c2ecf20Sopenharmony_ci# Used by drivers that need Videobuf modules 758c2ecf20Sopenharmony_ciconfig VIDEOBUF_GEN 768c2ecf20Sopenharmony_ci tristate 778c2ecf20Sopenharmony_ci 788c2ecf20Sopenharmony_ciconfig VIDEOBUF_DMA_SG 798c2ecf20Sopenharmony_ci tristate 808c2ecf20Sopenharmony_ci select VIDEOBUF_GEN 818c2ecf20Sopenharmony_ci 828c2ecf20Sopenharmony_ciconfig VIDEOBUF_VMALLOC 838c2ecf20Sopenharmony_ci tristate 848c2ecf20Sopenharmony_ci select VIDEOBUF_GEN 858c2ecf20Sopenharmony_ci 868c2ecf20Sopenharmony_ciconfig VIDEOBUF_DMA_CONTIG 878c2ecf20Sopenharmony_ci tristate 888c2ecf20Sopenharmony_ci select VIDEOBUF_GEN 89