xref: /openbmc/linux/drivers/media/platform/Kconfig (revision 23c2b932)
1#
2# Platform drivers
3#	Most 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 && HAS_DMA
40	depends on ARCH_SHMOBILE || COMPILE_TEST
41	select VIDEOBUF2_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_M32R_AR
58	tristate "AR devices"
59	depends on VIDEO_V4L2
60	depends on M32R || COMPILE_TEST
61	---help---
62	  This is a video4linux driver for the Renesas AR (Artificial Retina)
63	  camera module.
64
65config VIDEO_M32R_AR_M64278
66	tristate "AR device with color module M64278(VGA)"
67	depends on PLAT_M32700UT
68	select VIDEO_M32R_AR
69	---help---
70	  This is a video4linux driver for the Renesas AR (Artificial
71	  Retina) with M64278E-800 camera module.
72	  This module supports VGA(640x480 pixels) resolutions.
73
74	  To compile this driver as a module, choose M here: the
75	  module will be called arv.
76
77config VIDEO_OMAP3
78	tristate "OMAP 3 Camera support"
79	depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && ARCH_OMAP3
80	depends on HAS_DMA && OF
81	depends on OMAP_IOMMU
82	select ARM_DMA_USE_IOMMU
83	select VIDEOBUF2_DMA_CONTIG
84	select MFD_SYSCON
85	---help---
86	  Driver for an OMAP 3 camera controller.
87
88config VIDEO_OMAP3_DEBUG
89	bool "OMAP 3 Camera debug messages"
90	depends on VIDEO_OMAP3
91	---help---
92	  Enable debug messages on OMAP 3 camera controller driver.
93
94config VIDEO_S3C_CAMIF
95	tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver"
96	depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
97	depends on PM
98	depends on ARCH_S3C64XX || PLAT_S3C24XX || COMPILE_TEST
99	depends on HAS_DMA
100	select VIDEOBUF2_DMA_CONTIG
101	---help---
102	  This is a v4l2 driver for s3c24xx and s3c64xx SoC series camera
103	  host interface (CAMIF).
104
105	  To compile this driver as a module, choose M here: the module
106	  will be called s3c-camif.
107
108source "drivers/media/platform/soc_camera/Kconfig"
109source "drivers/media/platform/exynos4-is/Kconfig"
110source "drivers/media/platform/s5p-tv/Kconfig"
111source "drivers/media/platform/am437x/Kconfig"
112source "drivers/media/platform/xilinx/Kconfig"
113
114config VIDEO_TI_CAL
115	tristate "TI CAL (Camera Adaptation Layer) driver"
116	depends on VIDEO_DEV && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
117	depends on SOC_DRA7XX || COMPILE_TEST
118	depends on HAS_DMA
119	select VIDEOBUF2_DMA_CONTIG
120	default n
121	---help---
122	  Support for the TI CAL (Camera Adaptation Layer) block
123	  found on DRA72X SoC.
124	  In TI Technical Reference Manual this module is referred as
125	  Camera Interface Subsystem (CAMSS).
126
127endif # V4L_PLATFORM_DRIVERS
128
129menuconfig V4L_MEM2MEM_DRIVERS
130	bool "Memory-to-memory multimedia devices"
131	depends on VIDEO_V4L2
132	depends on MEDIA_CAMERA_SUPPORT
133	default n
134	---help---
135	  Say Y here to enable selecting drivers for V4L devices that
136	  use system memory for both source and destination buffers, as opposed
137	  to capture and output drivers, which use memory buffers for just
138	  one of those.
139
140if V4L_MEM2MEM_DRIVERS
141
142config VIDEO_CODA
143	tristate "Chips&Media Coda multi-standard codec IP"
144	depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_MXC
145	depends on HAS_DMA
146	select SRAM
147	select VIDEOBUF2_DMA_CONTIG
148	select VIDEOBUF2_VMALLOC
149	select V4L2_MEM2MEM_DEV
150	select GENERIC_ALLOCATOR
151	---help---
152	   Coda is a range of video codec IPs that supports
153	   H.264, MPEG-4, and other video formats.
154
155config VIDEO_MEM2MEM_DEINTERLACE
156	tristate "Deinterlace support"
157	depends on VIDEO_DEV && VIDEO_V4L2 && DMA_ENGINE
158	depends on HAS_DMA
159	select VIDEOBUF2_DMA_CONTIG
160	select V4L2_MEM2MEM_DEV
161	help
162	    Generic deinterlacing V4L2 driver.
163
164config VIDEO_SAMSUNG_S5P_G2D
165	tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
166	depends on VIDEO_DEV && VIDEO_V4L2
167	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
168	depends on HAS_DMA
169	select VIDEOBUF2_DMA_CONTIG
170	select V4L2_MEM2MEM_DEV
171	default n
172	---help---
173	  This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
174	  2d graphics accelerator.
175
176config VIDEO_SAMSUNG_S5P_JPEG
177	tristate "Samsung S5P/Exynos3250/Exynos4 JPEG codec driver"
178	depends on VIDEO_DEV && VIDEO_V4L2
179	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
180	depends on HAS_DMA
181	select VIDEOBUF2_DMA_CONTIG
182	select V4L2_MEM2MEM_DEV
183	---help---
184	  This is a v4l2 driver for Samsung S5P, EXYNOS3250
185	  and EXYNOS4 JPEG codec
186
187config VIDEO_SAMSUNG_S5P_MFC
188	tristate "Samsung S5P MFC Video Codec"
189	depends on VIDEO_DEV && VIDEO_V4L2
190	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
191	depends on HAS_DMA
192	select VIDEOBUF2_DMA_CONTIG
193	default n
194	help
195	    MFC 5.1 and 6.x driver for V4L2
196
197config VIDEO_MX2_EMMAPRP
198	tristate "MX2 eMMa-PrP support"
199	depends on VIDEO_DEV && VIDEO_V4L2
200	depends on SOC_IMX27 || COMPILE_TEST
201	depends on HAS_DMA
202	select VIDEOBUF2_DMA_CONTIG
203	select V4L2_MEM2MEM_DEV
204	help
205	    MX2X chips have a PrP that can be used to process buffers from
206	    memory to memory. Operations include resizing and format
207	    conversion.
208
209config VIDEO_SAMSUNG_EXYNOS_GSC
210	tristate "Samsung Exynos G-Scaler driver"
211	depends on VIDEO_DEV && VIDEO_V4L2
212	depends on ARCH_EXYNOS5 || COMPILE_TEST
213	depends on HAS_DMA
214	select VIDEOBUF2_DMA_CONTIG
215	select V4L2_MEM2MEM_DEV
216	help
217	  This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.
218
219config VIDEO_STI_BDISP
220	tristate "STMicroelectronics BDISP 2D blitter driver"
221	depends on VIDEO_DEV && VIDEO_V4L2
222	depends on HAS_DMA
223	depends on ARCH_STI || COMPILE_TEST
224	select VIDEOBUF2_DMA_CONTIG
225	select V4L2_MEM2MEM_DEV
226	help
227	  This v4l2 mem2mem driver is a 2D blitter for STMicroelectronics SoC.
228
229config VIDEO_SH_VEU
230	tristate "SuperH VEU mem2mem video processing driver"
231	depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
232	select VIDEOBUF2_DMA_CONTIG
233	select V4L2_MEM2MEM_DEV
234	help
235	    Support for the Video Engine Unit (VEU) on SuperH and
236	    SH-Mobile SoCs.
237
238config VIDEO_RENESAS_JPU
239	tristate "Renesas JPEG Processing Unit"
240	depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
241	depends on ARCH_RENESAS || COMPILE_TEST
242	select VIDEOBUF2_DMA_CONTIG
243	select V4L2_MEM2MEM_DEV
244	---help---
245	  This is a V4L2 driver for the Renesas JPEG Processing Unit.
246
247	  To compile this driver as a module, choose M here: the module
248	  will be called rcar_jpu.
249
250config VIDEO_RENESAS_VSP1
251	tristate "Renesas VSP1 Video Processing Engine"
252	depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && HAS_DMA
253	depends on (ARCH_RENESAS && OF) || COMPILE_TEST
254	select VIDEOBUF2_DMA_CONTIG
255	---help---
256	  This is a V4L2 driver for the Renesas VSP1 video processing engine.
257
258	  To compile this driver as a module, choose M here: the module
259	  will be called vsp1.
260
261config VIDEO_TI_VPE
262	tristate "TI VPE (Video Processing Engine) driver"
263	depends on VIDEO_DEV && VIDEO_V4L2
264	depends on SOC_DRA7XX || COMPILE_TEST
265	depends on HAS_DMA
266	select VIDEOBUF2_DMA_CONTIG
267	select V4L2_MEM2MEM_DEV
268	default n
269	---help---
270	  Support for the TI VPE(Video Processing Engine) block
271	  found on DRA7XX SoC.
272
273config VIDEO_TI_VPE_DEBUG
274	bool "VPE debug messages"
275	depends on VIDEO_TI_VPE
276	---help---
277	  Enable debug messages on VPE driver.
278
279endif # V4L_MEM2MEM_DRIVERS
280
281menuconfig V4L_TEST_DRIVERS
282	bool "Media test drivers"
283	depends on MEDIA_CAMERA_SUPPORT
284
285if V4L_TEST_DRIVERS
286
287source "drivers/media/platform/vivid/Kconfig"
288
289config VIDEO_VIM2M
290	tristate "Virtual Memory-to-Memory Driver"
291	depends on VIDEO_DEV && VIDEO_V4L2
292	select VIDEOBUF2_VMALLOC
293	select V4L2_MEM2MEM_DEV
294	default n
295	---help---
296	  This is a virtual test device for the memory-to-memory driver
297	  framework.
298endif #V4L_TEST_DRIVERS
299
300menuconfig DVB_PLATFORM_DRIVERS
301	bool "DVB platform devices"
302	depends on MEDIA_DIGITAL_TV_SUPPORT
303	default n
304	---help---
305	  Say Y here to enable support for platform-specific Digital TV drivers.
306
307if DVB_PLATFORM_DRIVERS
308source "drivers/media/platform/sti/c8sectpfe/Kconfig"
309endif #DVB_PLATFORM_DRIVERS
310