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