xref: /openbmc/linux/drivers/media/platform/Kconfig (revision 8938c48f)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Platform drivers
4#	Most drivers here are currently for webcam support
5
6menuconfig V4L_PLATFORM_DRIVERS
7	bool "V4L platform devices"
8	help
9	  Say Y here to enable support for platform-specific V4L drivers.
10
11if V4L_PLATFORM_DRIVERS
12
13source "drivers/media/platform/marvell-ccic/Kconfig"
14
15config VIDEO_VIA_CAMERA
16	tristate "VIAFB camera controller support"
17	depends on FB_VIA && VIDEO_V4L2
18	select VIDEOBUF2_DMA_SG
19	select VIDEO_OV7670
20	help
21	   Driver support for the integrated camera controller in VIA
22	   Chrome9 chipsets.  Currently only tested on OLPC xo-1.5 systems
23	   with ov7670 sensors.
24
25#
26# Platform multimedia device configuration
27#
28source "drivers/media/platform/cadence/Kconfig"
29
30source "drivers/media/platform/davinci/Kconfig"
31
32source "drivers/media/platform/omap/Kconfig"
33
34config VIDEO_ASPEED
35	tristate "Aspeed AST2400 and AST2500 Video Engine driver"
36	depends on VIDEO_V4L2
37	select VIDEOBUF2_DMA_CONTIG
38	help
39	  Support for the Aspeed Video Engine (VE) embedded in the Aspeed
40	  AST2400 and AST2500 SOCs. The VE can capture and compress video data
41	  from digital or analog sources.
42
43config VIDEO_SH_VOU
44	tristate "SuperH VOU video output driver"
45	depends on VIDEO_DEV && I2C
46	depends on ARCH_SHMOBILE || COMPILE_TEST
47	select VIDEOBUF2_DMA_CONTIG
48	help
49	  Support for the Video Output Unit (VOU) on SuperH SoCs.
50
51config VIDEO_VIU
52	tristate "Freescale VIU Video Driver"
53	depends on VIDEO_V4L2 && (PPC_MPC512x || COMPILE_TEST) && I2C
54	select VIDEOBUF_DMA_CONTIG
55	default y
56	help
57	  Support for Freescale VIU video driver. This device captures
58	  video data, or overlays video on DIU frame buffer.
59
60	  Say Y here if you want to enable VIU device on MPC5121e Rev2+.
61	  In doubt, say N.
62
63config VIDEO_MUX
64	tristate "Video Multiplexer"
65	select MULTIPLEXER
66	depends on VIDEO_V4L2 && OF
67	select MEDIA_CONTROLLER
68	select VIDEO_V4L2_SUBDEV_API
69	select REGMAP
70	select V4L2_FWNODE
71	help
72	  This driver provides support for N:1 video bus multiplexers.
73
74config VIDEO_OMAP3
75	tristate "OMAP 3 Camera support"
76	depends on VIDEO_V4L2 && I2C
77	depends on (ARCH_OMAP3 && OMAP_IOMMU) || COMPILE_TEST
78	depends on COMMON_CLK && OF
79	select ARM_DMA_USE_IOMMU if OMAP_IOMMU
80	select MEDIA_CONTROLLER
81	select VIDEO_V4L2_SUBDEV_API
82	select VIDEOBUF2_DMA_CONTIG
83	select MFD_SYSCON
84	select V4L2_FWNODE
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_PXA27x
95	tristate "PXA27x Quick Capture Interface driver"
96	depends on VIDEO_DEV && VIDEO_V4L2
97	depends on PXA27x || COMPILE_TEST
98	select VIDEOBUF2_DMA_SG
99	select SG_SPLIT
100	select V4L2_FWNODE
101	help
102	  This is a v4l2 driver for the PXA27x Quick Capture Interface
103
104config VIDEO_QCOM_CAMSS
105	tristate "Qualcomm V4L2 Camera Subsystem driver"
106	depends on VIDEO_V4L2
107	depends on (ARCH_QCOM && IOMMU_DMA) || COMPILE_TEST
108	select MEDIA_CONTROLLER
109	select VIDEO_V4L2_SUBDEV_API
110	select VIDEOBUF2_DMA_SG
111	select V4L2_FWNODE
112
113config VIDEO_S3C_CAMIF
114	tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver"
115	depends on VIDEO_V4L2 && I2C && PM
116	depends on ARCH_S3C64XX || PLAT_S3C24XX || COMPILE_TEST
117	select MEDIA_CONTROLLER
118	select VIDEO_V4L2_SUBDEV_API
119	select VIDEOBUF2_DMA_CONTIG
120	help
121	  This is a v4l2 driver for s3c24xx and s3c64xx SoC series camera
122	  host interface (CAMIF).
123
124	  To compile this driver as a module, choose M here: the module
125	  will be called s3c-camif.
126
127config VIDEO_STM32_DCMI
128	tristate "STM32 Digital Camera Memory Interface (DCMI) support"
129	depends on VIDEO_V4L2 && OF
130	depends on ARCH_STM32 || COMPILE_TEST
131	select VIDEOBUF2_DMA_CONTIG
132	select MEDIA_CONTROLLER
133	select V4L2_FWNODE
134	help
135	  This module makes the STM32 Digital Camera Memory Interface (DCMI)
136	  available as a v4l2 device.
137
138	  To compile this driver as a module, choose M here: the module
139	  will be called stm32-dcmi.
140
141config VIDEO_RENESAS_CEU
142	tristate "Renesas Capture Engine Unit (CEU) driver"
143	depends on VIDEO_DEV && VIDEO_V4L2
144	depends on ARCH_SHMOBILE || ARCH_R7S72100 || COMPILE_TEST
145	select VIDEOBUF2_DMA_CONTIG
146	select V4L2_FWNODE
147	help
148	  This is a v4l2 driver for the Renesas CEU Interface
149
150config VIDEO_ROCKCHIP_ISP1
151	tristate "Rockchip Image Signal Processing v1 Unit driver"
152	depends on VIDEO_V4L2 && OF
153	depends on ARCH_ROCKCHIP || COMPILE_TEST
154	select MEDIA_CONTROLLER
155	select VIDEO_V4L2_SUBDEV_API
156	select VIDEOBUF2_DMA_CONTIG
157	select VIDEOBUF2_VMALLOC
158	select V4L2_FWNODE
159	select GENERIC_PHY_MIPI_DPHY
160	default n
161	help
162	  Enable this to support the Image Signal Processing (ISP) module
163	  present in RK3399 SoCs.
164
165	  To compile this driver as a module, choose M here: the module
166	  will be called rockchip-isp1.
167
168source "drivers/media/platform/exynos4-is/Kconfig"
169source "drivers/media/platform/am437x/Kconfig"
170source "drivers/media/platform/xilinx/Kconfig"
171source "drivers/media/platform/rcar-vin/Kconfig"
172source "drivers/media/platform/atmel/Kconfig"
173source "drivers/media/platform/sunxi/Kconfig"
174
175config VIDEO_TI_CAL
176	tristate "TI CAL (Camera Adaptation Layer) driver"
177	depends on VIDEO_DEV && VIDEO_V4L2
178	select MEDIA_CONTROLLER
179	select VIDEO_V4L2_SUBDEV_API
180	depends on SOC_DRA7XX || ARCH_K3 || COMPILE_TEST
181	select VIDEOBUF2_DMA_CONTIG
182	select V4L2_FWNODE
183	help
184	  Support for the TI CAL (Camera Adaptation Layer) block
185	  found on DRA72X SoC.
186	  In TI Technical Reference Manual this module is referred as
187	  Camera Interface Subsystem (CAMSS).
188
189endif # V4L_PLATFORM_DRIVERS
190
191menuconfig V4L_MEM2MEM_DRIVERS
192	bool "Memory-to-memory multimedia devices"
193	depends on VIDEO_V4L2
194	help
195	  Say Y here to enable selecting drivers for V4L devices that
196	  use system memory for both source and destination buffers, as opposed
197	  to capture and output drivers, which use memory buffers for just
198	  one of those.
199
200if V4L_MEM2MEM_DRIVERS
201
202config VIDEO_ALLEGRO_DVT
203	tristate "Allegro DVT Video IP Core"
204	depends on VIDEO_DEV && VIDEO_V4L2
205	depends on ARCH_ZYNQMP || COMPILE_TEST
206	select V4L2_MEM2MEM_DEV
207	select VIDEOBUF2_DMA_CONTIG
208	select REGMAP_MMIO
209	help
210	  Support for the encoder video IP core by Allegro DVT. This core is
211	  found for example on the Xilinx ZynqMP SoC in the EV family and is
212	  called VCU in the reference manual.
213
214	  To compile this driver as a module, choose M here: the module
215	  will be called allegro.
216
217config VIDEO_CODA
218	tristate "Chips&Media Coda multi-standard codec IP"
219	depends on VIDEO_DEV && VIDEO_V4L2 && OF && (ARCH_MXC || COMPILE_TEST)
220	select SRAM
221	select VIDEOBUF2_DMA_CONTIG
222	select VIDEOBUF2_VMALLOC
223	select V4L2_JPEG_HELPER
224	select V4L2_MEM2MEM_DEV
225	select GENERIC_ALLOCATOR
226	help
227	   Coda is a range of video codec IPs that supports
228	   H.264, MPEG-4, and other video formats.
229
230config VIDEO_IMX_VDOA
231	def_tristate VIDEO_CODA if SOC_IMX6Q || COMPILE_TEST
232
233config VIDEO_IMX_PXP
234	tristate "i.MX Pixel Pipeline (PXP)"
235	depends on VIDEO_DEV && VIDEO_V4L2 && (ARCH_MXC || COMPILE_TEST)
236	select VIDEOBUF2_DMA_CONTIG
237	select V4L2_MEM2MEM_DEV
238	help
239	  The i.MX Pixel Pipeline is a memory-to-memory engine for scaling,
240	  color space conversion, and rotation.
241
242config VIDEO_MEDIATEK_JPEG
243	tristate "Mediatek JPEG Codec driver"
244	depends on MTK_IOMMU_V1 || MTK_IOMMU || COMPILE_TEST
245	depends on VIDEO_DEV && VIDEO_V4L2
246	depends on ARCH_MEDIATEK || COMPILE_TEST
247	depends on MTK_SMI || (COMPILE_TEST && MTK_SMI=n)
248	select VIDEOBUF2_DMA_CONTIG
249	select V4L2_MEM2MEM_DEV
250	help
251	  Mediatek jpeg codec driver provides HW capability to decode
252	  JPEG format
253
254	  To compile this driver as a module, choose M here: the
255	  module will be called mtk-jpeg
256
257config VIDEO_MEDIATEK_VPU
258	tristate "Mediatek Video Processor Unit"
259	depends on VIDEO_DEV && VIDEO_V4L2
260	depends on ARCH_MEDIATEK || COMPILE_TEST
261	help
262	    This driver provides downloading VPU firmware and
263	    communicating with VPU. This driver for hw video
264	    codec embedded in Mediatek's MT8173 SOCs. It is able
265	    to handle video decoding/encoding in a range of formats.
266
267	    To compile this driver as a module, choose M here: the
268	    module will be called mtk-vpu.
269
270config VIDEO_MEDIATEK_MDP
271	tristate "Mediatek MDP driver"
272	depends on MTK_IOMMU || COMPILE_TEST
273	depends on VIDEO_DEV && VIDEO_V4L2
274	depends on ARCH_MEDIATEK || COMPILE_TEST
275	depends on MTK_SMI || (COMPILE_TEST && MTK_SMI=n)
276	select VIDEOBUF2_DMA_CONTIG
277	select V4L2_MEM2MEM_DEV
278	select VIDEO_MEDIATEK_VPU
279	help
280	    It is a v4l2 driver and present in Mediatek MT8173 SoCs.
281	    The driver supports for scaling and color space conversion.
282
283	    To compile this driver as a module, choose M here: the
284	    module will be called mtk-mdp.
285
286config VIDEO_MEDIATEK_VCODEC
287	tristate "Mediatek Video Codec driver"
288	depends on MTK_IOMMU || COMPILE_TEST
289	depends on VIDEO_DEV && VIDEO_V4L2
290	depends on ARCH_MEDIATEK || COMPILE_TEST
291	depends on VIDEO_MEDIATEK_VPU || MTK_SCP
292	# The two following lines ensure we have the same state ("m" or "y") as
293	# our dependencies, to avoid missing symbols during link.
294	depends on VIDEO_MEDIATEK_VPU || !VIDEO_MEDIATEK_VPU
295	depends on MTK_SCP || !MTK_SCP
296	depends on MTK_SMI || (COMPILE_TEST && MTK_SMI=n)
297	select VIDEOBUF2_DMA_CONTIG
298	select V4L2_MEM2MEM_DEV
299	select VIDEO_MEDIATEK_VCODEC_VPU if VIDEO_MEDIATEK_VPU
300	select VIDEO_MEDIATEK_VCODEC_SCP if MTK_SCP
301	help
302	  Mediatek video codec driver provides HW capability to
303	  encode and decode in a range of video formats on MT8173
304	  and MT8183.
305
306	  Note that support for MT8173 requires VIDEO_MEDIATEK_VPU to
307	  also be selected. Support for MT8183 depends on MTK_SCP.
308
309	  To compile this driver as modules, choose M here: the
310	  modules will be called mtk-vcodec-dec and mtk-vcodec-enc.
311
312config VIDEO_MEDIATEK_VCODEC_VPU
313	bool
314
315config VIDEO_MEDIATEK_VCODEC_SCP
316	bool
317
318config VIDEO_MEM2MEM_DEINTERLACE
319	tristate "Deinterlace support"
320	depends on VIDEO_DEV && VIDEO_V4L2
321	depends on HAS_DMA
322	select VIDEOBUF2_DMA_CONTIG
323	select V4L2_MEM2MEM_DEV
324	help
325	    Generic deinterlacing V4L2 driver.
326
327config VIDEO_MESON_GE2D
328	tristate "Amlogic 2D Graphic Acceleration Unit"
329	depends on VIDEO_DEV && VIDEO_V4L2
330	depends on ARCH_MESON || COMPILE_TEST
331	select VIDEOBUF2_DMA_CONTIG
332	select V4L2_MEM2MEM_DEV
333	help
334	  This is a v4l2 driver for Amlogic GE2D 2D graphics accelerator.
335	  GE2D is a standalone 2D graphic acceleration unit, with color converter,
336	  image scaling, BitBLT & alpha blending operations.
337
338	  To compile this driver as a module choose m here.
339
340config VIDEO_SAMSUNG_S5P_G2D
341	tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
342	depends on VIDEO_DEV && VIDEO_V4L2
343	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
344	select VIDEOBUF2_DMA_CONTIG
345	select V4L2_MEM2MEM_DEV
346	help
347	  This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
348	  2d graphics accelerator.
349
350config VIDEO_SAMSUNG_S5P_JPEG
351	tristate "Samsung S5P/Exynos3250/Exynos4 JPEG codec driver"
352	depends on VIDEO_DEV && VIDEO_V4L2
353	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
354	select VIDEOBUF2_DMA_CONTIG
355	select V4L2_MEM2MEM_DEV
356	help
357	  This is a v4l2 driver for Samsung S5P, EXYNOS3250
358	  and EXYNOS4 JPEG codec
359
360config VIDEO_SAMSUNG_S5P_MFC
361	tristate "Samsung S5P MFC Video Codec"
362	depends on VIDEO_DEV && VIDEO_V4L2
363	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
364	select VIDEOBUF2_DMA_CONTIG
365	help
366	    MFC 5.1 and 6.x driver for V4L2
367
368config VIDEO_MX2_EMMAPRP
369	tristate "MX2 eMMa-PrP support"
370	depends on VIDEO_DEV && VIDEO_V4L2
371	depends on SOC_IMX27 || COMPILE_TEST
372	select VIDEOBUF2_DMA_CONTIG
373	select V4L2_MEM2MEM_DEV
374	help
375	    MX2X chips have a PrP that can be used to process buffers from
376	    memory to memory. Operations include resizing and format
377	    conversion.
378
379config VIDEO_SAMSUNG_EXYNOS_GSC
380	tristate "Samsung Exynos G-Scaler driver"
381	depends on VIDEO_DEV && VIDEO_V4L2
382	depends on ARCH_EXYNOS || COMPILE_TEST
383	select VIDEOBUF2_DMA_CONTIG
384	select V4L2_MEM2MEM_DEV
385	help
386	  This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.
387
388config VIDEO_STI_BDISP
389	tristate "STMicroelectronics BDISP 2D blitter driver"
390	depends on VIDEO_DEV && VIDEO_V4L2
391	depends on ARCH_STI || COMPILE_TEST
392	select VIDEOBUF2_DMA_CONTIG
393	select V4L2_MEM2MEM_DEV
394	help
395	  This v4l2 mem2mem driver is a 2D blitter for STMicroelectronics SoC.
396
397config VIDEO_STI_HVA
398	tristate "STMicroelectronics HVA multi-format video encoder V4L2 driver"
399	depends on VIDEO_DEV && VIDEO_V4L2
400	depends on ARCH_STI || COMPILE_TEST
401	select VIDEOBUF2_DMA_CONTIG
402	select V4L2_MEM2MEM_DEV
403	help
404	  This V4L2 driver enables HVA (Hardware Video Accelerator) multi-format
405	  video encoder of STMicroelectronics SoC, allowing hardware encoding of
406	  raw uncompressed formats in various compressed video bitstreams format.
407
408	  To compile this driver as a module, choose M here:
409	  the module will be called st-hva.
410
411config VIDEO_STI_HVA_DEBUGFS
412	bool "Export STMicroelectronics HVA internals in debugfs"
413	depends on VIDEO_STI_HVA
414	depends on DEBUG_FS
415	help
416	  Select this to see information about the internal state and the last
417	  operation of STMicroelectronics HVA multi-format video encoder in
418	  debugfs.
419
420	  Choose N unless you know you need this.
421
422config VIDEO_STI_DELTA
423	tristate "STMicroelectronics DELTA multi-format video decoder V4L2 driver"
424	depends on VIDEO_DEV && VIDEO_V4L2
425	depends on ARCH_STI || COMPILE_TEST
426	help
427		This V4L2 driver enables DELTA multi-format video decoder
428		of STMicroelectronics STiH4xx SoC series allowing hardware
429		decoding of various compressed video bitstream format in
430		raw uncompressed format.
431
432		Use this option to see the decoders available for such
433		hardware.
434
435		Please notice that the driver will only be built if
436		at least one of the DELTA decoder below is selected.
437
438if VIDEO_STI_DELTA
439
440config VIDEO_STI_DELTA_MJPEG
441	bool "STMicroelectronics DELTA MJPEG support"
442	default y
443	help
444		Enables DELTA MJPEG hardware support.
445
446		To compile this driver as a module, choose M here:
447		the module will be called st-delta.
448
449config VIDEO_STI_DELTA_DRIVER
450	tristate
451	depends on VIDEO_STI_DELTA
452	depends on VIDEO_STI_DELTA_MJPEG
453	default VIDEO_STI_DELTA_MJPEG
454	select VIDEOBUF2_DMA_CONTIG
455	select V4L2_MEM2MEM_DEV
456	select RPMSG
457
458endif # VIDEO_STI_DELTA
459
460config VIDEO_RENESAS_FDP1
461	tristate "Renesas Fine Display Processor"
462	depends on VIDEO_DEV && VIDEO_V4L2
463	depends on ARCH_RENESAS || COMPILE_TEST
464	depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
465	select VIDEOBUF2_DMA_CONTIG
466	select V4L2_MEM2MEM_DEV
467	help
468	  This is a V4L2 driver for the Renesas Fine Display Processor
469	  providing colour space conversion, and de-interlacing features.
470
471	  To compile this driver as a module, choose M here: the module
472	  will be called rcar_fdp1.
473
474config VIDEO_RENESAS_JPU
475	tristate "Renesas JPEG Processing Unit"
476	depends on VIDEO_DEV && VIDEO_V4L2
477	depends on ARCH_RENESAS || COMPILE_TEST
478	select VIDEOBUF2_DMA_CONTIG
479	select V4L2_MEM2MEM_DEV
480	help
481	  This is a V4L2 driver for the Renesas JPEG Processing Unit.
482
483	  To compile this driver as a module, choose M here: the module
484	  will be called rcar_jpu.
485
486config VIDEO_RENESAS_FCP
487	tristate "Renesas Frame Compression Processor"
488	depends on ARCH_RENESAS || COMPILE_TEST
489	depends on OF
490	help
491	  This is a driver for the Renesas Frame Compression Processor (FCP).
492	  The FCP is a companion module of video processing modules in the
493	  Renesas R-Car Gen3 and RZ/G2 SoCs. It handles memory access for
494	  the codec, VSP and FDP modules.
495
496	  To compile this driver as a module, choose M here: the module
497	  will be called rcar-fcp.
498
499config VIDEO_RENESAS_VSP1
500	tristate "Renesas VSP1 Video Processing Engine"
501	depends on VIDEO_V4L2
502	depends on ARCH_RENESAS || COMPILE_TEST
503	depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
504	select MEDIA_CONTROLLER
505	select VIDEO_V4L2_SUBDEV_API
506	select VIDEOBUF2_DMA_CONTIG
507	select VIDEOBUF2_VMALLOC
508	help
509	  This is a V4L2 driver for the Renesas VSP1 video processing engine.
510
511	  To compile this driver as a module, choose M here: the module
512	  will be called vsp1.
513
514config VIDEO_ROCKCHIP_RGA
515	tristate "Rockchip Raster 2d Graphic Acceleration Unit"
516	depends on VIDEO_DEV && VIDEO_V4L2
517	depends on ARCH_ROCKCHIP || COMPILE_TEST
518	select VIDEOBUF2_DMA_SG
519	select V4L2_MEM2MEM_DEV
520	help
521	  This is a v4l2 driver for Rockchip SOC RGA 2d graphics accelerator.
522	  Rockchip RGA is a separate 2D raster graphic acceleration unit.
523	  It accelerates 2D graphics operations, such as point/line drawing,
524	  image scaling, rotation, BitBLT, alpha blending and image blur/sharpness.
525
526	  To compile this driver as a module choose m here.
527
528config VIDEO_TI_VPE
529	tristate "TI VPE (Video Processing Engine) driver"
530	depends on VIDEO_DEV && VIDEO_V4L2
531	depends on SOC_DRA7XX || COMPILE_TEST
532	select VIDEOBUF2_DMA_CONTIG
533	select V4L2_MEM2MEM_DEV
534	select VIDEO_TI_VPDMA
535	select VIDEO_TI_SC
536	select VIDEO_TI_CSC
537	help
538	  Support for the TI VPE(Video Processing Engine) block
539	  found on DRA7XX SoC.
540
541config VIDEO_TI_VPE_DEBUG
542	bool "VPE debug messages"
543	depends on VIDEO_TI_VPE
544	help
545	  Enable debug messages on VPE driver.
546
547config VIDEO_QCOM_VENUS
548	tristate "Qualcomm Venus V4L2 encoder/decoder driver"
549	depends on VIDEO_DEV && VIDEO_V4L2
550	depends on (ARCH_QCOM && IOMMU_DMA) || COMPILE_TEST
551	select QCOM_MDT_LOADER if ARCH_QCOM
552	select QCOM_SCM if ARCH_QCOM
553	select VIDEOBUF2_DMA_CONTIG
554	select V4L2_MEM2MEM_DEV
555	help
556	  This is a V4L2 driver for Qualcomm Venus video accelerator
557	  hardware. It accelerates encoding and decoding operations
558	  on various Qualcomm SoCs.
559	  To compile this driver as a module choose m here.
560
561config VIDEO_SUN8I_DEINTERLACE
562	tristate "Allwinner Deinterlace driver"
563	depends on VIDEO_DEV && VIDEO_V4L2
564	depends on ARCH_SUNXI || COMPILE_TEST
565	depends on COMMON_CLK && OF
566	depends on PM
567	select VIDEOBUF2_DMA_CONTIG
568	select V4L2_MEM2MEM_DEV
569	help
570	   Support for the Allwinner deinterlace unit with scaling
571	   capability found on some SoCs, like H3.
572	   To compile this driver as a module choose m here.
573
574config VIDEO_SUN8I_ROTATE
575	tristate "Allwinner DE2 rotation driver"
576	depends on VIDEO_DEV && VIDEO_V4L2
577	depends on ARCH_SUNXI || COMPILE_TEST
578	depends on COMMON_CLK && OF
579	depends on PM
580	select VIDEOBUF2_DMA_CONTIG
581	select V4L2_MEM2MEM_DEV
582	help
583	   Support for the Allwinner DE2 rotation unit.
584	   To compile this driver as a module choose m here.
585
586endif # V4L_MEM2MEM_DRIVERS
587
588# TI VIDEO PORT Helper Modules
589# These will be selected by VPE and VIP
590config VIDEO_TI_VPDMA
591	tristate
592
593config VIDEO_TI_SC
594	tristate
595
596config VIDEO_TI_CSC
597	tristate
598
599menuconfig DVB_PLATFORM_DRIVERS
600	bool "DVB platform devices"
601	depends on MEDIA_DIGITAL_TV_SUPPORT
602	help
603	  Say Y here to enable support for platform-specific Digital TV drivers.
604
605if DVB_PLATFORM_DRIVERS
606source "drivers/media/platform/sti/c8sectpfe/Kconfig"
607endif #DVB_PLATFORM_DRIVERS
608
609menuconfig SDR_PLATFORM_DRIVERS
610	bool "SDR platform devices"
611	depends on MEDIA_SDR_SUPPORT
612	help
613	  Say Y here to enable support for platform-specific SDR Drivers.
614
615if SDR_PLATFORM_DRIVERS
616
617config VIDEO_RCAR_DRIF
618	tristate "Renesas Digital Radio Interface (DRIF)"
619	depends on VIDEO_V4L2
620	depends on ARCH_RENESAS || COMPILE_TEST
621	select VIDEOBUF2_VMALLOC
622	help
623	  Say Y if you want to enable R-Car Gen3 DRIF support. DRIF is Digital
624	  Radio Interface that interfaces with an RF front end chip. It is a
625	  receiver of digital data which uses DMA to transfer received data to
626	  a configured location for an application to use.
627
628	  To compile this driver as a module, choose M here; the module
629	  will be called rcar_drif.
630
631endif # SDR_PLATFORM_DRIVERS
632