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"
23
24endif #V4L_TEST_DRIVERS
25
26menuconfig DVB_TEST_DRIVERS
27	bool "DVB test drivers"
28	depends on DVB_CORE && MEDIA_SUPPORT && I2C
29	help
30	  Enables DVB test drivers.
31
32	  This enables the DVB test drivers. They are meant as an aid for
33	  DVB device driver writers and developers working on userspace
34	  media applications.
35
36if DVB_TEST_DRIVERS
37
38source "drivers/media/test-drivers/vidtv/Kconfig"
39
40endif #DVB_TEST_DRIVERS
41