aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-08-20 09:07:27 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-21 06:51:49 -0400
commit7a46e188bf80cb75c08d2d95802a5d124929fb20 (patch)
tree55f1740b721ae4fb76c481ad917f81a58b5d7dca /drivers/media/platform
parent3c8c09b5edcc5b70c4e197b7419d07bf3bc84d89 (diff)
[media] Put the test devices together
Vivi is not that important to appear at the main menu, so move it to its own submenu. Also, the mem2mem test device driver is similar to vivi. So, put both at the same menu. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform')
-rw-r--r--drivers/media/platform/Kconfig54
1 files changed, 30 insertions, 24 deletions
diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig
index 242468ba817e..d33e8e59a06b 100644
--- a/drivers/media/platform/Kconfig
+++ b/drivers/media/platform/Kconfig
@@ -1,19 +1,5 @@
1if MEDIA_CAMERA_SUPPORT 1if MEDIA_CAMERA_SUPPORT
2 2
3config VIDEO_VIVI
4 tristate "Virtual Video Driver"
5 depends on VIDEO_DEV && VIDEO_V4L2 && !SPARC32 && !SPARC64
6 depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE
7 select FONT_8x16
8 select VIDEOBUF2_VMALLOC
9 default n
10 ---help---
11 Enables a virtual video driver. This device shows a color bar
12 and a timestamp, as a real device would generate by using V4L2
13 api.
14 Say Y here if you want to test video apps or debug V4L devices.
15 In doubt, say N.
16
17# 3#
18# Platform drivers 4# Platform drivers
19# All drivers here are currently for webcam support 5# All drivers here are currently for webcam support
@@ -142,16 +128,6 @@ menuconfig V4L_MEM2MEM_DRIVERS
142 128
143if V4L_MEM2MEM_DRIVERS 129if V4L_MEM2MEM_DRIVERS
144 130
145config VIDEO_MEM2MEM_TESTDEV
146 tristate "Virtual test device for mem2mem framework"
147 depends on VIDEO_DEV && VIDEO_V4L2
148 select VIDEOBUF2_VMALLOC
149 select V4L2_MEM2MEM_DEV
150 default n
151 ---help---
152 This is a virtual test device for the memory-to-memory driver
153 framework.
154
155config VIDEO_CODA 131config VIDEO_CODA
156 tristate "Chips&Media Coda multi-standard codec IP" 132 tristate "Chips&Media Coda multi-standard codec IP"
157 depends on VIDEO_DEV && VIDEO_V4L2 133 depends on VIDEO_DEV && VIDEO_V4L2
@@ -207,4 +183,34 @@ config VIDEO_MX2_EMMAPRP
207 183
208endif # V4L_MEM2MEM_DRIVERS 184endif # V4L_MEM2MEM_DRIVERS
209 185
186menuconfig V4L_TEST_DRIVERS
187 bool "Media test drivers"
188 depends on MEDIA_CAMERA_SUPPORT
189
190if V4L_TEST_DRIVERS
191config VIDEO_VIVI
192 tristate "Virtual Video Driver"
193 depends on VIDEO_DEV && VIDEO_V4L2 && !SPARC32 && !SPARC64
194 depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE
195 select FONT_8x16
196 select VIDEOBUF2_VMALLOC
197 default n
198 ---help---
199 Enables a virtual video driver. This device shows a color bar
200 and a timestamp, as a real device would generate by using V4L2
201 api.
202 Say Y here if you want to test video apps or debug V4L devices.
203 In doubt, say N.
204
205config VIDEO_MEM2MEM_TESTDEV
206 tristate "Virtual test device for mem2mem framework"
207 depends on VIDEO_DEV && VIDEO_V4L2
208 select VIDEOBUF2_VMALLOC
209 select V4L2_MEM2MEM_DEV
210 default n
211 ---help---
212 This is a virtual test device for the memory-to-memory driver
213 framework.
214endif #V4L_TEST_DRIVERS
215
210endif # MEDIA_CAMERA_SUPPORT 216endif # MEDIA_CAMERA_SUPPORT