1# SPDX-License-Identifier: GPL-2.0-only
2
3menuconfig V4L_TEST_DRIVERS
4	bool "V4L test drivers"
5	depends on VIDEO_DEV
6
7if V4L_TEST_DRIVERS
8
9config VIDEO_VIM2M
10	tristate "Virtual Memory-to-Memory Driver"
11	depends on VIDEO_DEV
12	select VIDEOBUF2_VMALLOC
13	select V4L2_MEM2MEM_DEV
14	select MEDIA_CONTROLLER
15	select MEDIA_CONTROLLER_REQUEST_API
16	help
17	  This is a virtual test device for the memory-to-memory driver
18	  framework.
19
20source "drivers/media/test-drivers/vicodec/Kconfig"
21source "drivers/media/test-drivers/vimc/Kconfig"
22source "drivers/media/test-drivers/vivid/Kconfig"
23source "drivers/media/test-drivers/visl/Kconfig"
24
25endif #V4L_TEST_DRIVERS
26
27menuconfig DVB_TEST_DRIVERS
28	bool "DVB test drivers"
29	depends on DVB_CORE && MEDIA_SUPPORT && I2C
30	help
31	  Enables DVB test drivers.
32
33	  This enables the DVB test drivers. They are meant as an aid for
34	  DVB device driver writers and developers working on userspace
35	  media applications.
36
37if DVB_TEST_DRIVERS
38
39source "drivers/media/test-drivers/vidtv/Kconfig"
40
41endif #DVB_TEST_DRIVERS
42