| .. | .. |
|---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | # |
|---|
| 2 | 3 | # Generic video config states |
|---|
| 3 | 4 | # |
|---|
| .. | .. |
|---|
| 10 | 11 | select VIDEOBUF2_V4L2 if VIDEOBUF2_CORE |
|---|
| 11 | 12 | default (I2C || I2C=n) && VIDEO_DEV |
|---|
| 12 | 13 | |
|---|
| 14 | +config VIDEO_V4L2_I2C |
|---|
| 15 | + bool |
|---|
| 16 | + depends on I2C && VIDEO_V4L2 |
|---|
| 17 | + default y |
|---|
| 18 | + |
|---|
| 19 | +config VIDEO_V4L2_SUBDEV_API |
|---|
| 20 | + bool "V4L2 sub-device userspace API" |
|---|
| 21 | + depends on VIDEO_DEV && MEDIA_CONTROLLER |
|---|
| 22 | + help |
|---|
| 23 | + Enables the V4L2 sub-device pad-level userspace API used to configure |
|---|
| 24 | + video format, size and frame rate between hardware blocks. |
|---|
| 25 | + |
|---|
| 26 | + This API is mostly used by camera interfaces in embedded platforms. |
|---|
| 27 | + |
|---|
| 13 | 28 | config VIDEO_ADV_DEBUG |
|---|
| 14 | 29 | bool "Enable advanced debug functionality on V4L2 drivers" |
|---|
| 15 | | - default n |
|---|
| 16 | | - ---help--- |
|---|
| 30 | + help |
|---|
| 17 | 31 | Say Y here to enable advanced debugging functionality on some |
|---|
| 18 | 32 | V4L devices. |
|---|
| 19 | 33 | In doubt, say N. |
|---|
| 20 | 34 | |
|---|
| 21 | 35 | config VIDEO_FIXED_MINOR_RANGES |
|---|
| 22 | 36 | bool "Enable old-style fixed minor ranges on drivers/video devices" |
|---|
| 23 | | - default n |
|---|
| 24 | | - ---help--- |
|---|
| 37 | + help |
|---|
| 25 | 38 | Say Y here to enable the old-style fixed-range minor assignments. |
|---|
| 26 | 39 | Only useful if you rely on the old behavior and use mknod instead of udev. |
|---|
| 27 | 40 | |
|---|
| 28 | 41 | When in doubt, say N. |
|---|
| 29 | 42 | |
|---|
| 30 | | -config VIDEO_PCI_SKELETON |
|---|
| 31 | | - tristate "Skeleton PCI V4L2 driver" |
|---|
| 32 | | - depends on PCI |
|---|
| 33 | | - depends on VIDEO_V4L2 && VIDEOBUF2_CORE |
|---|
| 34 | | - depends on VIDEOBUF2_MEMOPS && VIDEOBUF2_DMA_CONTIG |
|---|
| 35 | | - ---help--- |
|---|
| 36 | | - Enable build of the skeleton PCI driver, used as a reference |
|---|
| 37 | | - when developing new drivers. |
|---|
| 38 | | - |
|---|
| 39 | 43 | # Used by drivers that need tuner.ko |
|---|
| 40 | 44 | config VIDEO_TUNER |
|---|
| 45 | + tristate |
|---|
| 46 | + |
|---|
| 47 | +# Used by drivers that need v4l2-jpeg.ko |
|---|
| 48 | +config V4L2_JPEG_HELPER |
|---|
| 49 | + tristate |
|---|
| 50 | + |
|---|
| 51 | +# Used by drivers that need v4l2-h264.ko |
|---|
| 52 | +config V4L2_H264 |
|---|
| 41 | 53 | tristate |
|---|
| 42 | 54 | |
|---|
| 43 | 55 | # Used by drivers that need v4l2-mem2mem.ko |
|---|
| .. | .. |
|---|
| 50 | 62 | tristate "V4L2 flash API for LED flash class devices" |
|---|
| 51 | 63 | depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API |
|---|
| 52 | 64 | depends on LEDS_CLASS_FLASH |
|---|
| 53 | | - ---help--- |
|---|
| 65 | + help |
|---|
| 54 | 66 | Say Y here to enable V4L2 flash API support for LED flash |
|---|
| 55 | 67 | class drivers. |
|---|
| 56 | 68 | |
|---|