xref: /openbmc/linux/drivers/media/platform/Kconfig (revision 5f32c314)
1#
2# Platform drivers
3#	All drivers here are currently for webcam support
4
5menuconfig V4L_PLATFORM_DRIVERS
6	bool "V4L platform devices"
7	depends on MEDIA_CAMERA_SUPPORT
8	default n
9	---help---
10	  Say Y here to enable support for platform-specific V4L drivers.
11
12if V4L_PLATFORM_DRIVERS
13
14source "drivers/media/platform/marvell-ccic/Kconfig"
15
16config VIDEO_VIA_CAMERA
17	tristate "VIAFB camera controller support"
18	depends on FB_VIA
19	select VIDEOBUF_DMA_SG
20	select VIDEO_OV7670
21	help
22	   Driver support for the integrated camera controller in VIA
23	   Chrome9 chipsets.  Currently only tested on OLPC xo-1.5 systems
24	   with ov7670 sensors.
25
26#
27# Platform multimedia device configuration
28#
29
30source "drivers/media/platform/davinci/Kconfig"
31
32source "drivers/media/platform/omap/Kconfig"
33
34source "drivers/media/platform/blackfin/Kconfig"
35
36config VIDEO_SH_VOU
37	tristate "SuperH VOU video output driver"
38	depends on MEDIA_CAMERA_SUPPORT
39	depends on VIDEO_DEV && I2C
40	depends on ARCH_SHMOBILE || COMPILE_TEST
41	select VIDEOBUF_DMA_CONTIG
42	help
43	  Support for the Video Output Unit (VOU) on SuperH SoCs.
44
45config VIDEO_VIU
46	tristate "Freescale VIU Video Driver"
47	depends on VIDEO_V4L2 && PPC_MPC512x
48	select VIDEOBUF_DMA_CONTIG
49	default y
50	---help---
51	  Support for Freescale VIU video driver. This device captures
52	  video data, or overlays video on DIU frame buffer.
53
54	  Say Y here if you want to enable VIU device on MPC5121e Rev2+.
55	  In doubt, say N.
56
57config VIDEO_TIMBERDALE
58	tristate "Support for timberdale Video In/LogiWIN"
59	depends on VIDEO_V4L2 && I2C && DMADEVICES
60	select DMA_ENGINE
61	select TIMB_DMA
62	select VIDEO_ADV7180
63	select VIDEOBUF_DMA_CONTIG
64	---help---
65	  Add support for the Video In peripherial of the timberdale FPGA.
66
67config VIDEO_VINO
68	tristate "SGI Vino Video For Linux"
69	depends on I2C && SGI_IP22 && VIDEO_V4L2
70	select VIDEO_SAA7191 if MEDIA_SUBDRV_AUTOSELECT
71	help
72	  Say Y here to build in support for the Vino video input system found
73	  on SGI Indy machines.
74
75config VIDEO_M32R_AR
76	tristate "AR devices"
77	depends on M32R && VIDEO_V4L2
78	---help---
79	  This is a video4linux driver for the Renesas AR (Artificial Retina)
80	  camera module.
81
82config VIDEO_M32R_AR_M64278
83	tristate "AR device with color module M64278(VGA)"
84	depends on PLAT_M32700UT
85	select VIDEO_M32R_AR
86	---help---
87	  This is a video4linux driver for the Renesas AR (Artificial
88	  Retina) with M64278E-800 camera module.
89	  This module supports VGA(640x480 pixels) resolutions.
90
91	  To compile this driver as a module, choose M here: the
92	  module will be called arv.
93
94config VIDEO_OMAP3
95	tristate "OMAP 3 Camera support"
96	depends on OMAP_IOVMM && VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && ARCH_OMAP3
97	---help---
98	  Driver for an OMAP 3 camera controller.
99
100config VIDEO_OMAP3_DEBUG
101	bool "OMAP 3 Camera debug messages"
102	depends on VIDEO_OMAP3
103	---help---
104	  Enable debug messages on OMAP 3 camera controller driver.
105
106config VIDEO_S3C_CAMIF
107	tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver"
108	depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
109	depends on (ARCH_S3C64XX || PLAT_S3C24XX) && PM_RUNTIME
110	select VIDEOBUF2_DMA_CONTIG
111	---help---
112	  This is a v4l2 driver for s3c24xx and s3c64xx SoC series camera
113	  host interface (CAMIF).
114
115	  To compile this driver as a module, choose M here: the module
116	  will be called s3c-camif.
117
118source "drivers/media/platform/soc_camera/Kconfig"
119source "drivers/media/platform/exynos4-is/Kconfig"
120source "drivers/media/platform/s5p-tv/Kconfig"
121
122endif # V4L_PLATFORM_DRIVERS
123
124menuconfig V4L_MEM2MEM_DRIVERS
125	bool "Memory-to-memory multimedia devices"
126	depends on VIDEO_V4L2
127	depends on MEDIA_CAMERA_SUPPORT
128	default n
129	---help---
130	  Say Y here to enable selecting drivers for V4L devices that
131	  use system memory for both source and destination buffers, as opposed
132	  to capture and output drivers, which use memory buffers for just
133	  one of those.
134
135if V4L_MEM2MEM_DRIVERS
136
137config VIDEO_CODA
138	tristate "Chips&Media Coda multi-standard codec IP"
139	depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_MXC
140	select SRAM
141	select VIDEOBUF2_DMA_CONTIG
142	select V4L2_MEM2MEM_DEV
143	---help---
144	   Coda is a range of video codec IPs that supports
145	   H.264, MPEG-4, and other video formats.
146
147config VIDEO_MEM2MEM_DEINTERLACE
148	tristate "Deinterlace support"
149	depends on VIDEO_DEV && VIDEO_V4L2 && DMA_ENGINE
150	select VIDEOBUF2_DMA_CONTIG
151	select V4L2_MEM2MEM_DEV
152	help
153	    Generic deinterlacing V4L2 driver.
154
155config VIDEO_SAMSUNG_S5P_G2D
156	tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
157	depends on VIDEO_DEV && VIDEO_V4L2 && (PLAT_S5P || ARCH_EXYNOS)
158	select VIDEOBUF2_DMA_CONTIG
159	select V4L2_MEM2MEM_DEV
160	default n
161	---help---
162	  This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
163	  2d graphics accelerator.
164
165config VIDEO_SAMSUNG_S5P_JPEG
166	tristate "Samsung S5P/Exynos4 JPEG codec driver"
167	depends on VIDEO_DEV && VIDEO_V4L2 && (PLAT_S5P || ARCH_EXYNOS)
168	select VIDEOBUF2_DMA_CONTIG
169	select V4L2_MEM2MEM_DEV
170	---help---
171	  This is a v4l2 driver for Samsung S5P and EXYNOS4 JPEG codec
172
173config VIDEO_SAMSUNG_S5P_MFC
174	tristate "Samsung S5P MFC Video Codec"
175	depends on VIDEO_DEV && VIDEO_V4L2 && (PLAT_S5P || ARCH_EXYNOS)
176	select VIDEOBUF2_DMA_CONTIG
177	default n
178	help
179	    MFC 5.1 and 6.x driver for V4L2
180
181config VIDEO_MX2_EMMAPRP
182	tristate "MX2 eMMa-PrP support"
183	depends on VIDEO_DEV && VIDEO_V4L2 && SOC_IMX27
184	select VIDEOBUF2_DMA_CONTIG
185	select V4L2_MEM2MEM_DEV
186	help
187	    MX2X chips have a PrP that can be used to process buffers from
188	    memory to memory. Operations include resizing and format
189	    conversion.
190
191config VIDEO_SAMSUNG_EXYNOS_GSC
192	tristate "Samsung Exynos G-Scaler driver"
193	depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_EXYNOS5
194	select VIDEOBUF2_DMA_CONTIG
195	select V4L2_MEM2MEM_DEV
196	help
197	  This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.
198
199config VIDEO_SH_VEU
200	tristate "SuperH VEU mem2mem video processing driver"
201	depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
202	select VIDEOBUF2_DMA_CONTIG
203	select V4L2_MEM2MEM_DEV
204	help
205	    Support for the Video Engine Unit (VEU) on SuperH and
206	    SH-Mobile SoCs.
207
208config VIDEO_RENESAS_VSP1
209	tristate "Renesas VSP1 Video Processing Engine"
210	depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && HAS_DMA
211	select VIDEOBUF2_DMA_CONTIG
212	---help---
213	  This is a V4L2 driver for the Renesas VSP1 video processing engine.
214
215	  To compile this driver as a module, choose M here: the module
216	  will be called vsp1.
217
218config VIDEO_TI_VPE
219	tristate "TI VPE (Video Processing Engine) driver"
220	depends on VIDEO_DEV && VIDEO_V4L2 && SOC_DRA7XX
221	select VIDEOBUF2_DMA_CONTIG
222	select V4L2_MEM2MEM_DEV
223	default n
224	---help---
225	  Support for the TI VPE(Video Processing Engine) block
226	  found on DRA7XX SoC.
227
228config VIDEO_TI_VPE_DEBUG
229	bool "VPE debug messages"
230	depends on VIDEO_TI_VPE
231	---help---
232	  Enable debug messages on VPE driver.
233
234endif # V4L_MEM2MEM_DRIVERS
235
236menuconfig V4L_TEST_DRIVERS
237	bool "Media test drivers"
238	depends on MEDIA_CAMERA_SUPPORT
239
240if V4L_TEST_DRIVERS
241config VIDEO_VIVI
242	tristate "Virtual Video Driver"
243	depends on VIDEO_DEV && VIDEO_V4L2 && !SPARC32 && !SPARC64
244	select FONT_SUPPORT
245	select FONT_8x16
246	select VIDEOBUF2_VMALLOC
247	default n
248	---help---
249	  Enables a virtual video driver. This device shows a color bar
250	  and a timestamp, as a real device would generate by using V4L2
251	  api.
252	  Say Y here if you want to test video apps or debug V4L devices.
253	  In doubt, say N.
254
255config VIDEO_MEM2MEM_TESTDEV
256	tristate "Virtual test device for mem2mem framework"
257	depends on VIDEO_DEV && VIDEO_V4L2
258	select VIDEOBUF2_VMALLOC
259	select V4L2_MEM2MEM_DEV
260	default n
261	---help---
262	  This is a virtual test device for the memory-to-memory driver
263	  framework.
264endif #V4L_TEST_DRIVERS
265