summaryrefslogtreecommitdiff
path: root/drivers/media/v4l2-core/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/v4l2-core/Kconfig')
-rw-r--r--drivers/media/v4l2-core/Kconfig37
1 files changed, 16 insertions, 21 deletions
diff --git a/drivers/media/v4l2-core/Kconfig b/drivers/media/v4l2-core/Kconfig
index 02dc1787e953..d50ccac9733c 100644
--- a/drivers/media/v4l2-core/Kconfig
+++ b/drivers/media/v4l2-core/Kconfig
@@ -3,21 +3,13 @@
# Generic video config states
#
-# Enable the V4L2 core and API
-config VIDEO_V4L2
- tristate
- depends on (I2C || I2C=n) && VIDEO_DEV
- select RATIONAL
- select VIDEOBUF2_V4L2 if VIDEOBUF2_CORE
- default (I2C || I2C=n) && VIDEO_DEV
-
config VIDEO_V4L2_I2C
bool
- depends on I2C && VIDEO_V4L2
+ depends on I2C && VIDEO_DEV
default y
config VIDEO_V4L2_SUBDEV_API
- bool "V4L2 sub-device userspace API"
+ bool
depends on VIDEO_DEV && MEDIA_CONTROLLER
help
Enables the V4L2 sub-device pad-level userspace API used to configure
@@ -52,6 +44,10 @@ config V4L2_JPEG_HELPER
config V4L2_H264
tristate
+# Used by drivers that need v4l2-vp9.ko
+config V4L2_VP9
+ tristate
+
# Used by drivers that need v4l2-mem2mem.ko
config V4L2_MEM2MEM_DEV
tristate
@@ -60,9 +56,11 @@ config V4L2_MEM2MEM_DEV
# Used by LED subsystem flash drivers
config V4L2_FLASH_LED_CLASS
tristate "V4L2 flash API for LED flash class devices"
- depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
+ depends on VIDEO_DEV
depends on LEDS_CLASS_FLASH
+ select MEDIA_CONTROLLER
select V4L2_ASYNC
+ select VIDEO_V4L2_SUBDEV_API
help
Say Y here to enable V4L2 flash API support for LED flash
class drivers.
@@ -76,18 +74,15 @@ config V4L2_FWNODE
config V4L2_ASYNC
tristate
-# Used by drivers that need Videobuf modules
-config VIDEOBUF_GEN
- tristate
-
-config VIDEOBUF_DMA_SG
+config V4L2_CCI
tristate
- select VIDEOBUF_GEN
-config VIDEOBUF_VMALLOC
+config V4L2_CCI_I2C
tristate
- select VIDEOBUF_GEN
+ depends on I2C
+ select REGMAP_I2C
+ select V4L2_CCI
-config VIDEOBUF_DMA_CONTIG
+config V4L2_ISP
tristate
- select VIDEOBUF_GEN
+ depends on VIDEOBUF2_CORE