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