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"
44source "drivers/media/platform/renesas/rzg2l-cru/Kconfig"
45
46# Mem2mem drivers
47
48config VIDEO_RENESAS_FCP
49	tristate "Renesas Frame Compression Processor"
50	depends on V4L_MEM2MEM_DRIVERS
51	depends on ARCH_RENESAS || COMPILE_TEST
52	depends on OF
53	help
54	  This is a driver for the Renesas Frame Compression Processor (FCP).
55	  The FCP is a companion module of video processing modules in the
56	  Renesas R-Car Gen3 and RZ/G2 SoCs. It handles memory access for
57	  the codec, VSP and FDP modules.
58
59	  To compile this driver as a module, choose M here: the module
60	  will be called rcar-fcp.
61
62config VIDEO_RENESAS_FDP1
63	tristate "Renesas Fine Display Processor"
64	depends on V4L_MEM2MEM_DRIVERS
65	depends on VIDEO_DEV
66	depends on ARCH_RENESAS || COMPILE_TEST
67	depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
68	select VIDEOBUF2_DMA_CONTIG
69	select V4L2_MEM2MEM_DEV
70	help
71	  This is a V4L2 driver for the Renesas Fine Display Processor
72	  providing colour space conversion, and de-interlacing features.
73
74	  To compile this driver as a module, choose M here: the module
75	  will be called rcar_fdp1.
76
77config VIDEO_RENESAS_JPU
78	tristate "Renesas JPEG Processing Unit"
79	depends on V4L_MEM2MEM_DRIVERS
80	depends on VIDEO_DEV
81	depends on ARCH_RENESAS || COMPILE_TEST
82	select VIDEOBUF2_DMA_CONTIG
83	select V4L2_MEM2MEM_DEV
84	help
85	  This is a V4L2 driver for the Renesas JPEG Processing Unit.
86
87	  To compile this driver as a module, choose M here: the module
88	  will be called rcar_jpu.
89
90config VIDEO_RENESAS_VSP1
91	tristate "Renesas VSP1 Video Processing Engine"
92	depends on V4L_MEM2MEM_DRIVERS
93	depends on VIDEO_DEV
94	depends on ARCH_RENESAS || COMPILE_TEST
95	depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
96	select MEDIA_CONTROLLER
97	select VIDEO_V4L2_SUBDEV_API
98	select VIDEOBUF2_DMA_CONTIG
99	select VIDEOBUF2_VMALLOC
100	help
101	  This is a V4L2 driver for the Renesas VSP1 video processing engine.
102
103	  To compile this driver as a module, choose M here: the module
104	  will be called vsp1.
105
106# SDR drivers
107
108config VIDEO_RCAR_DRIF
109	tristate "Renesas Digital Radio Interface (DRIF)"
110	depends on SDR_PLATFORM_DRIVERS
111	depends on VIDEO_DEV
112	depends on ARCH_RENESAS || COMPILE_TEST
113	select VIDEOBUF2_VMALLOC
114	select V4L2_ASYNC
115	help
116	  Say Y if you want to enable R-Car Gen3 DRIF support. DRIF is Digital
117	  Radio Interface that interfaces with an RF front end chip. It is a
118	  receiver of digital data which uses DMA to transfer received data to
119	  a configured location for an application to use.
120
121	  To compile this driver as a module, choose M here; the module
122	  will be called rcar_drif.
123