162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci
362306a36Sopenharmony_cicomment "Renesas media platform drivers"
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci# V4L drivers
662306a36Sopenharmony_ci
762306a36Sopenharmony_ciconfig VIDEO_RENESAS_CEU
862306a36Sopenharmony_ci	tristate "Renesas Capture Engine Unit (CEU) driver"
962306a36Sopenharmony_ci	depends on V4L_PLATFORM_DRIVERS
1062306a36Sopenharmony_ci	depends on VIDEO_DEV
1162306a36Sopenharmony_ci	depends on ARCH_SHMOBILE || ARCH_R7S72100 || COMPILE_TEST
1262306a36Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
1362306a36Sopenharmony_ci	select V4L2_FWNODE
1462306a36Sopenharmony_ci	help
1562306a36Sopenharmony_ci	  This is a v4l2 driver for the Renesas CEU Interface
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ciconfig VIDEO_RCAR_ISP
1862306a36Sopenharmony_ci	tristate "R-Car Image Signal Processor (ISP)"
1962306a36Sopenharmony_ci	depends on V4L_PLATFORM_DRIVERS
2062306a36Sopenharmony_ci	depends on VIDEO_DEV && OF
2162306a36Sopenharmony_ci	depends on ARCH_RENESAS || COMPILE_TEST
2262306a36Sopenharmony_ci	select MEDIA_CONTROLLER
2362306a36Sopenharmony_ci	select VIDEO_V4L2_SUBDEV_API
2462306a36Sopenharmony_ci	select RESET_CONTROLLER
2562306a36Sopenharmony_ci	select V4L2_FWNODE
2662306a36Sopenharmony_ci	help
2762306a36Sopenharmony_ci	  Support for Renesas R-Car Image Signal Processor (ISP).
2862306a36Sopenharmony_ci	  Enable this to support the Renesas R-Car Image Signal
2962306a36Sopenharmony_ci	  Processor (ISP).
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the
3262306a36Sopenharmony_ci	  module will be called rcar-isp.
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ciconfig VIDEO_SH_VOU
3562306a36Sopenharmony_ci	tristate "SuperH VOU video output driver"
3662306a36Sopenharmony_ci	depends on V4L_PLATFORM_DRIVERS
3762306a36Sopenharmony_ci	depends on VIDEO_DEV && I2C
3862306a36Sopenharmony_ci	depends on ARCH_SHMOBILE || COMPILE_TEST
3962306a36Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
4062306a36Sopenharmony_ci	help
4162306a36Sopenharmony_ci	  Support for the Video Output Unit (VOU) on SuperH SoCs.
4262306a36Sopenharmony_ci
4362306a36Sopenharmony_cisource "drivers/media/platform/renesas/rcar-vin/Kconfig"
4462306a36Sopenharmony_cisource "drivers/media/platform/renesas/rzg2l-cru/Kconfig"
4562306a36Sopenharmony_ci
4662306a36Sopenharmony_ci# Mem2mem drivers
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ciconfig VIDEO_RENESAS_FCP
4962306a36Sopenharmony_ci	tristate "Renesas Frame Compression Processor"
5062306a36Sopenharmony_ci	depends on V4L_MEM2MEM_DRIVERS
5162306a36Sopenharmony_ci	depends on ARCH_RENESAS || COMPILE_TEST
5262306a36Sopenharmony_ci	depends on OF
5362306a36Sopenharmony_ci	help
5462306a36Sopenharmony_ci	  This is a driver for the Renesas Frame Compression Processor (FCP).
5562306a36Sopenharmony_ci	  The FCP is a companion module of video processing modules in the
5662306a36Sopenharmony_ci	  Renesas R-Car Gen3 and RZ/G2 SoCs. It handles memory access for
5762306a36Sopenharmony_ci	  the codec, VSP and FDP modules.
5862306a36Sopenharmony_ci
5962306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the module
6062306a36Sopenharmony_ci	  will be called rcar-fcp.
6162306a36Sopenharmony_ci
6262306a36Sopenharmony_ciconfig VIDEO_RENESAS_FDP1
6362306a36Sopenharmony_ci	tristate "Renesas Fine Display Processor"
6462306a36Sopenharmony_ci	depends on V4L_MEM2MEM_DRIVERS
6562306a36Sopenharmony_ci	depends on VIDEO_DEV
6662306a36Sopenharmony_ci	depends on ARCH_RENESAS || COMPILE_TEST
6762306a36Sopenharmony_ci	depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
6862306a36Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
6962306a36Sopenharmony_ci	select V4L2_MEM2MEM_DEV
7062306a36Sopenharmony_ci	help
7162306a36Sopenharmony_ci	  This is a V4L2 driver for the Renesas Fine Display Processor
7262306a36Sopenharmony_ci	  providing colour space conversion, and de-interlacing features.
7362306a36Sopenharmony_ci
7462306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the module
7562306a36Sopenharmony_ci	  will be called rcar_fdp1.
7662306a36Sopenharmony_ci
7762306a36Sopenharmony_ciconfig VIDEO_RENESAS_JPU
7862306a36Sopenharmony_ci	tristate "Renesas JPEG Processing Unit"
7962306a36Sopenharmony_ci	depends on V4L_MEM2MEM_DRIVERS
8062306a36Sopenharmony_ci	depends on VIDEO_DEV
8162306a36Sopenharmony_ci	depends on ARCH_RENESAS || COMPILE_TEST
8262306a36Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
8362306a36Sopenharmony_ci	select V4L2_MEM2MEM_DEV
8462306a36Sopenharmony_ci	help
8562306a36Sopenharmony_ci	  This is a V4L2 driver for the Renesas JPEG Processing Unit.
8662306a36Sopenharmony_ci
8762306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the module
8862306a36Sopenharmony_ci	  will be called rcar_jpu.
8962306a36Sopenharmony_ci
9062306a36Sopenharmony_ciconfig VIDEO_RENESAS_VSP1
9162306a36Sopenharmony_ci	tristate "Renesas VSP1 Video Processing Engine"
9262306a36Sopenharmony_ci	depends on V4L_MEM2MEM_DRIVERS
9362306a36Sopenharmony_ci	depends on VIDEO_DEV
9462306a36Sopenharmony_ci	depends on ARCH_RENESAS || COMPILE_TEST
9562306a36Sopenharmony_ci	depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
9662306a36Sopenharmony_ci	select MEDIA_CONTROLLER
9762306a36Sopenharmony_ci	select VIDEO_V4L2_SUBDEV_API
9862306a36Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
9962306a36Sopenharmony_ci	select VIDEOBUF2_VMALLOC
10062306a36Sopenharmony_ci	help
10162306a36Sopenharmony_ci	  This is a V4L2 driver for the Renesas VSP1 video processing engine.
10262306a36Sopenharmony_ci
10362306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the module
10462306a36Sopenharmony_ci	  will be called vsp1.
10562306a36Sopenharmony_ci
10662306a36Sopenharmony_ci# SDR drivers
10762306a36Sopenharmony_ci
10862306a36Sopenharmony_ciconfig VIDEO_RCAR_DRIF
10962306a36Sopenharmony_ci	tristate "Renesas Digital Radio Interface (DRIF)"
11062306a36Sopenharmony_ci	depends on SDR_PLATFORM_DRIVERS
11162306a36Sopenharmony_ci	depends on VIDEO_DEV
11262306a36Sopenharmony_ci	depends on ARCH_RENESAS || COMPILE_TEST
11362306a36Sopenharmony_ci	select VIDEOBUF2_VMALLOC
11462306a36Sopenharmony_ci	select V4L2_ASYNC
11562306a36Sopenharmony_ci	help
11662306a36Sopenharmony_ci	  Say Y if you want to enable R-Car Gen3 DRIF support. DRIF is Digital
11762306a36Sopenharmony_ci	  Radio Interface that interfaces with an RF front end chip. It is a
11862306a36Sopenharmony_ci	  receiver of digital data which uses DMA to transfer received data to
11962306a36Sopenharmony_ci	  a configured location for an application to use.
12062306a36Sopenharmony_ci
12162306a36Sopenharmony_ci	  To compile this driver as a module, choose M here; the module
12262306a36Sopenharmony_ci	  will be called rcar_drif.
123