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_CSI2
18	tristate "R-Car MIPI CSI-2 Receiver"
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 MIPI CSI-2 receiver.
28	  Supports R-Car Gen3 and RZ/G2 SoCs.
29
30	  To compile this driver as a module, choose M here: the
31	  module will be called rcar-csi2.
32
33config VIDEO_RCAR_ISP
34	tristate "R-Car Image Signal Processor (ISP)"
35	depends on V4L_PLATFORM_DRIVERS
36	depends on VIDEO_DEV && OF
37	depends on ARCH_RENESAS || COMPILE_TEST
38	select MEDIA_CONTROLLER
39	select VIDEO_V4L2_SUBDEV_API
40	select RESET_CONTROLLER
41	select V4L2_FWNODE
42	help
43	  Support for Renesas R-Car Image Signal Processor (ISP).
44	  Enable this to support the Renesas R-Car Image Signal
45	  Processor (ISP).
46
47	  To compile this driver as a module, choose M here: the
48	  module will be called rcar-isp.
49
50config VIDEO_SH_VOU
51	tristate "SuperH VOU video output driver"
52	depends on V4L_PLATFORM_DRIVERS
53	depends on VIDEO_DEV && I2C
54	depends on ARCH_SHMOBILE || COMPILE_TEST
55	select VIDEOBUF2_DMA_CONTIG
56	help
57	  Support for the Video Output Unit (VOU) on SuperH SoCs.
58
59source "drivers/media/platform/renesas/rcar-vin/Kconfig"
60source "drivers/media/platform/renesas/rzg2l-cru/Kconfig"
61
62# Mem2mem drivers
63
64config VIDEO_RENESAS_FCP
65	tristate "Renesas Frame Compression Processor"
66	depends on V4L_MEM2MEM_DRIVERS
67	depends on ARCH_RENESAS || COMPILE_TEST
68	depends on OF
69	help
70	  This is a driver for the Renesas Frame Compression Processor (FCP).
71	  The FCP is a companion module of video processing modules in the
72	  Renesas R-Car Gen3 and RZ/G2 SoCs. It handles memory access for
73	  the codec, VSP and FDP modules.
74
75	  To compile this driver as a module, choose M here: the module
76	  will be called rcar-fcp.
77
78config VIDEO_RENESAS_FDP1
79	tristate "Renesas Fine Display Processor"
80	depends on V4L_MEM2MEM_DRIVERS
81	depends on VIDEO_DEV
82	depends on ARCH_RENESAS || COMPILE_TEST
83	depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
84	select VIDEOBUF2_DMA_CONTIG
85	select V4L2_MEM2MEM_DEV
86	help
87	  This is a V4L2 driver for the Renesas Fine Display Processor
88	  providing colour space conversion, and de-interlacing features.
89
90	  To compile this driver as a module, choose M here: the module
91	  will be called rcar_fdp1.
92
93config VIDEO_RENESAS_JPU
94	tristate "Renesas JPEG Processing Unit"
95	depends on V4L_MEM2MEM_DRIVERS
96	depends on VIDEO_DEV
97	depends on ARCH_RENESAS || COMPILE_TEST
98	select VIDEOBUF2_DMA_CONTIG
99	select V4L2_MEM2MEM_DEV
100	help
101	  This is a V4L2 driver for the Renesas JPEG Processing Unit.
102
103	  To compile this driver as a module, choose M here: the module
104	  will be called rcar_jpu.
105
106config VIDEO_RENESAS_VSP1
107	tristate "Renesas VSP1 Video Processing Engine"
108	depends on V4L_MEM2MEM_DRIVERS
109	depends on VIDEO_DEV
110	depends on ARCH_RENESAS || COMPILE_TEST
111	depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
112	select MEDIA_CONTROLLER
113	select VIDEO_V4L2_SUBDEV_API
114	select VIDEOBUF2_DMA_CONTIG
115	select VIDEOBUF2_VMALLOC
116	help
117	  This is a V4L2 driver for the Renesas VSP1 video processing engine.
118
119	  To compile this driver as a module, choose M here: the module
120	  will be called vsp1.
121
122# SDR drivers
123
124config VIDEO_RCAR_DRIF
125	tristate "Renesas Digital Radio Interface (DRIF)"
126	depends on SDR_PLATFORM_DRIVERS
127	depends on VIDEO_DEV
128	depends on ARCH_RENESAS || COMPILE_TEST
129	select VIDEOBUF2_VMALLOC
130	select V4L2_ASYNC
131	help
132	  Say Y if you want to enable R-Car Gen3 DRIF support. DRIF is Digital
133	  Radio Interface that interfaces with an RF front end chip. It is a
134	  receiver of digital data which uses DMA to transfer received data to
135	  a configured location for an application to use.
136
137	  To compile this driver as a module, choose M here; the module
138	  will be called rcar_drif.
139