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