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