1# SPDX-License-Identifier: GPL-2.0-only
2
3comment "Renesas media platform drivers"
4
5# V4L drivers
6
7config VIDEO_RENESAS_CEU
8	tristate "Renesas Capture Engine Unit (CEU) driver"
9	depends on V4L_PLATFORM_DRIVERS
10	depends on VIDEO_DEV
11	depends on ARCH_SHMOBILE || ARCH_R7S72100 || COMPILE_TEST
12	select VIDEOBUF2_DMA_CONTIG
13	select V4L2_FWNODE
14	help
15	  This is a v4l2 driver for the Renesas CEU Interface
16
17config VIDEO_RCAR_ISP
18	tristate "R-Car Image Signal Processor (ISP)"
19	depends on V4L_PLATFORM_DRIVERS
20	depends on VIDEO_DEV && OF
21	depends on ARCH_RENESAS || COMPILE_TEST
22	select MEDIA_CONTROLLER
23	select VIDEO_V4L2_SUBDEV_API
24	select RESET_CONTROLLER
25	select V4L2_FWNODE
26	help
27	  Support for Renesas R-Car Image Signal Processor (ISP).
28	  Enable this to support the Renesas R-Car Image Signal
29	  Processor (ISP).
30
31	  To compile this driver as a module, choose M here: the
32	  module will be called rcar-isp.
33
34config VIDEO_SH_VOU
35	tristate "SuperH VOU video output driver"
36	depends on V4L_PLATFORM_DRIVERS
37	depends on VIDEO_DEV && I2C
38	depends on ARCH_SHMOBILE || COMPILE_TEST
39	select VIDEOBUF2_DMA_CONTIG
40	help
41	  Support for the Video Output Unit (VOU) on SuperH SoCs.
42
43source "drivers/media/platform/renesas/rcar-vin/Kconfig"
44
45# Mem2mem drivers
46
47config VIDEO_RENESAS_FCP
48	tristate "Renesas Frame Compression Processor"
49	depends on V4L_MEM2MEM_DRIVERS
50	depends on ARCH_RENESAS || COMPILE_TEST
51	depends on OF
52	help
53	  This is a driver for the Renesas Frame Compression Processor (FCP).
54	  The FCP is a companion module of video processing modules in the
55	  Renesas R-Car Gen3 and RZ/G2 SoCs. It handles memory access for
56	  the codec, VSP and FDP modules.
57
58	  To compile this driver as a module, choose M here: the module
59	  will be called rcar-fcp.
60
61config VIDEO_RENESAS_FDP1
62	tristate "Renesas Fine Display Processor"
63	depends on V4L_MEM2MEM_DRIVERS
64	depends on VIDEO_DEV
65	depends on ARCH_RENESAS || COMPILE_TEST
66	depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
67	select VIDEOBUF2_DMA_CONTIG
68	select V4L2_MEM2MEM_DEV
69	help
70	  This is a V4L2 driver for the Renesas Fine Display Processor
71	  providing colour space conversion, and de-interlacing features.
72
73	  To compile this driver as a module, choose M here: the module
74	  will be called rcar_fdp1.
75
76config VIDEO_RENESAS_JPU
77	tristate "Renesas JPEG Processing Unit"
78	depends on V4L_MEM2MEM_DRIVERS
79	depends on VIDEO_DEV
80	depends on ARCH_RENESAS || COMPILE_TEST
81	select VIDEOBUF2_DMA_CONTIG
82	select V4L2_MEM2MEM_DEV
83	help
84	  This is a V4L2 driver for the Renesas JPEG Processing Unit.
85
86	  To compile this driver as a module, choose M here: the module
87	  will be called rcar_jpu.
88
89config VIDEO_RENESAS_VSP1
90	tristate "Renesas VSP1 Video Processing Engine"
91	depends on V4L_MEM2MEM_DRIVERS
92	depends on VIDEO_DEV
93	depends on ARCH_RENESAS || COMPILE_TEST
94	depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
95	select MEDIA_CONTROLLER
96	select VIDEO_V4L2_SUBDEV_API
97	select VIDEOBUF2_DMA_CONTIG
98	select VIDEOBUF2_VMALLOC
99	help
100	  This is a V4L2 driver for the Renesas VSP1 video processing engine.
101
102	  To compile this driver as a module, choose M here: the module
103	  will be called vsp1.
104
105# SDR drivers
106
107config VIDEO_RCAR_DRIF
108	tristate "Renesas Digital Radio Interface (DRIF)"
109	depends on SDR_PLATFORM_DRIVERS
110	depends on VIDEO_DEV
111	depends on ARCH_RENESAS || COMPILE_TEST
112	select VIDEOBUF2_VMALLOC
113	select V4L2_ASYNC
114	help
115	  Say Y if you want to enable R-Car Gen3 DRIF support. DRIF is Digital
116	  Radio Interface that interfaces with an RF front end chip. It is a
117	  receiver of digital data which uses DMA to transfer received data to
118	  a configured location for an application to use.
119
120	  To compile this driver as a module, choose M here; the module
121	  will be called rcar_drif.
122