media: platform: place Renesas drivers on a separate dir
authorMauro Carvalho Chehab <mchehab@kernel.org>
Thu, 10 Mar 2022 15:33:16 +0000 (16:33 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 14 Mar 2022 08:43:00 +0000 (09:43 +0100)
In order to cleanup the main platform media directory, move Renesas
driver to its own directory.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
59 files changed:
MAINTAINERS
drivers/media/platform/Kconfig
drivers/media/platform/Makefile
drivers/media/platform/renesas/Kconfig [new file with mode: 0644]
drivers/media/platform/renesas/Makefile [new file with mode: 0644]
drivers/media/platform/renesas/rcar-fcp.c [moved from drivers/media/platform/rcar-fcp.c with 100% similarity]
drivers/media/platform/renesas/rcar-isp.c [moved from drivers/media/platform/rcar-isp.c with 100% similarity]
drivers/media/platform/renesas/rcar-vin/Kconfig [moved from drivers/media/platform/rcar-vin/Kconfig with 100% similarity]
drivers/media/platform/renesas/rcar-vin/Makefile [moved from drivers/media/platform/rcar-vin/Makefile with 100% similarity]
drivers/media/platform/renesas/rcar-vin/rcar-core.c [moved from drivers/media/platform/rcar-vin/rcar-core.c with 100% similarity]
drivers/media/platform/renesas/rcar-vin/rcar-csi2.c [moved from drivers/media/platform/rcar-vin/rcar-csi2.c with 100% similarity]
drivers/media/platform/renesas/rcar-vin/rcar-dma.c [moved from drivers/media/platform/rcar-vin/rcar-dma.c with 100% similarity]
drivers/media/platform/renesas/rcar-vin/rcar-v4l2.c [moved from drivers/media/platform/rcar-vin/rcar-v4l2.c with 100% similarity]
drivers/media/platform/renesas/rcar-vin/rcar-vin.h [moved from drivers/media/platform/rcar-vin/rcar-vin.h with 100% similarity]
drivers/media/platform/renesas/rcar_drif.c [moved from drivers/media/platform/rcar_drif.c with 100% similarity]
drivers/media/platform/renesas/rcar_fdp1.c [moved from drivers/media/platform/rcar_fdp1.c with 100% similarity]
drivers/media/platform/renesas/rcar_jpu.c [moved from drivers/media/platform/rcar_jpu.c with 100% similarity]
drivers/media/platform/renesas/renesas-ceu.c [moved from drivers/media/platform/renesas-ceu.c with 100% similarity]
drivers/media/platform/renesas/sh_vou.c [moved from drivers/media/platform/sh_vou.c with 100% similarity]
drivers/media/platform/renesas/vsp1/Makefile [moved from drivers/media/platform/vsp1/Makefile with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1.h [moved from drivers/media/platform/vsp1/vsp1.h with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_brx.c [moved from drivers/media/platform/vsp1/vsp1_brx.c with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_brx.h [moved from drivers/media/platform/vsp1/vsp1_brx.h with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_clu.c [moved from drivers/media/platform/vsp1/vsp1_clu.c with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_clu.h [moved from drivers/media/platform/vsp1/vsp1_clu.h with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_dl.c [moved from drivers/media/platform/vsp1/vsp1_dl.c with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_dl.h [moved from drivers/media/platform/vsp1/vsp1_dl.h with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_drm.c [moved from drivers/media/platform/vsp1/vsp1_drm.c with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_drm.h [moved from drivers/media/platform/vsp1/vsp1_drm.h with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_drv.c [moved from drivers/media/platform/vsp1/vsp1_drv.c with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_entity.c [moved from drivers/media/platform/vsp1/vsp1_entity.c with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_entity.h [moved from drivers/media/platform/vsp1/vsp1_entity.h with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_hgo.c [moved from drivers/media/platform/vsp1/vsp1_hgo.c with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_hgo.h [moved from drivers/media/platform/vsp1/vsp1_hgo.h with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_hgt.c [moved from drivers/media/platform/vsp1/vsp1_hgt.c with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_hgt.h [moved from drivers/media/platform/vsp1/vsp1_hgt.h with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_histo.c [moved from drivers/media/platform/vsp1/vsp1_histo.c with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_histo.h [moved from drivers/media/platform/vsp1/vsp1_histo.h with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_hsit.c [moved from drivers/media/platform/vsp1/vsp1_hsit.c with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_hsit.h [moved from drivers/media/platform/vsp1/vsp1_hsit.h with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_lif.c [moved from drivers/media/platform/vsp1/vsp1_lif.c with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_lif.h [moved from drivers/media/platform/vsp1/vsp1_lif.h with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_lut.c [moved from drivers/media/platform/vsp1/vsp1_lut.c with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_lut.h [moved from drivers/media/platform/vsp1/vsp1_lut.h with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_pipe.c [moved from drivers/media/platform/vsp1/vsp1_pipe.c with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_pipe.h [moved from drivers/media/platform/vsp1/vsp1_pipe.h with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_regs.h [moved from drivers/media/platform/vsp1/vsp1_regs.h with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_rpf.c [moved from drivers/media/platform/vsp1/vsp1_rpf.c with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_rwpf.c [moved from drivers/media/platform/vsp1/vsp1_rwpf.c with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_rwpf.h [moved from drivers/media/platform/vsp1/vsp1_rwpf.h with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_sru.c [moved from drivers/media/platform/vsp1/vsp1_sru.c with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_sru.h [moved from drivers/media/platform/vsp1/vsp1_sru.h with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_uds.c [moved from drivers/media/platform/vsp1/vsp1_uds.c with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_uds.h [moved from drivers/media/platform/vsp1/vsp1_uds.h with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_uif.c [moved from drivers/media/platform/vsp1/vsp1_uif.c with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_uif.h [moved from drivers/media/platform/vsp1/vsp1_uif.h with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_video.c [moved from drivers/media/platform/vsp1/vsp1_video.c with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_video.h [moved from drivers/media/platform/vsp1/vsp1_video.h with 100% similarity]
drivers/media/platform/renesas/vsp1/vsp1_wpf.c [moved from drivers/media/platform/vsp1/vsp1_wpf.c with 100% similarity]

index 780ef2ef3362b5a42debeff6ae0e4723632a2011..8486405463985cdd34f3c1141e2c0860cb8dd4f4 100644 (file)
@@ -10322,7 +10322,7 @@ M:      Mikhail Ulyanov <mikhail.ulyanov@cogentembedded.com>
 L:     linux-media@vger.kernel.org
 L:     linux-renesas-soc@vger.kernel.org
 S:     Maintained
-F:     drivers/media/platform/rcar_jpu.c
+F:     drivers/media/platform/renesas/rcar_jpu.c
 
 JSM Neo PCI based serial card
 L:     linux-serial@vger.kernel.org
@@ -11973,7 +11973,7 @@ L:      linux-renesas-soc@vger.kernel.org
 S:     Supported
 T:     git git://linuxtv.org/media_tree.git
 F:     Documentation/devicetree/bindings/media/renesas,ceu.yaml
-F:     drivers/media/platform/renesas-ceu.c
+F:     drivers/media/platform/renesas/renesas-ceu.c
 F:     include/media/drv-intf/renesas-ceu.h
 
 MEDIA DRIVERS FOR RENESAS - DRIF
@@ -11983,7 +11983,7 @@ L:      linux-renesas-soc@vger.kernel.org
 S:     Supported
 T:     git git://linuxtv.org/media_tree.git
 F:     Documentation/devicetree/bindings/media/renesas,drif.yaml
-F:     drivers/media/platform/rcar_drif.c
+F:     drivers/media/platform/renesas/rcar_drif.c
 
 MEDIA DRIVERS FOR RENESAS - FCP
 M:     Laurent Pinchart <laurent.pinchart@ideasonboard.com>
@@ -11992,7 +11992,7 @@ L:      linux-renesas-soc@vger.kernel.org
 S:     Supported
 T:     git git://linuxtv.org/media_tree.git
 F:     Documentation/devicetree/bindings/media/renesas,fcp.yaml
-F:     drivers/media/platform/rcar-fcp.c
+F:     drivers/media/platform/renesas/rcar-fcp.c
 F:     include/media/rcar-fcp.h
 
 MEDIA DRIVERS FOR RENESAS - FDP1
@@ -12002,7 +12002,7 @@ L:      linux-renesas-soc@vger.kernel.org
 S:     Supported
 T:     git git://linuxtv.org/media_tree.git
 F:     Documentation/devicetree/bindings/media/renesas,fdp1.yaml
-F:     drivers/media/platform/rcar_fdp1.c
+F:     drivers/media/platform/renesas/rcar_fdp1.c
 
 MEDIA DRIVERS FOR RENESAS - VIN
 M:     Niklas Söderlund <niklas.soderlund@ragnatech.se>
@@ -12013,8 +12013,8 @@ T:      git git://linuxtv.org/media_tree.git
 F:     Documentation/devicetree/bindings/media/renesas,csi2.yaml
 F:     Documentation/devicetree/bindings/media/renesas,isp.yaml
 F:     Documentation/devicetree/bindings/media/renesas,vin.yaml
-F:     drivers/media/platform/rcar-isp.c
-F:     drivers/media/platform/rcar-vin/
+F:     drivers/media/platform/renesas/rcar-isp.c
+F:     drivers/media/platform/renesas/rcar-vin/
 
 MEDIA DRIVERS FOR RENESAS - VSP1
 M:     Laurent Pinchart <laurent.pinchart@ideasonboard.com>
@@ -12024,7 +12024,7 @@ L:      linux-renesas-soc@vger.kernel.org
 S:     Supported
 T:     git git://linuxtv.org/media_tree.git
 F:     Documentation/devicetree/bindings/media/renesas,vsp1.yaml
-F:     drivers/media/platform/vsp1/
+F:     drivers/media/platform/renesas/vsp1/
 
 MEDIA DRIVERS FOR ST STV0910 DEMODULATOR ICs
 L:     linux-media@vger.kernel.org
@@ -17536,7 +17536,7 @@ F:      include/media/i2c/rj54n1cb0c.h
 SH_VOU V4L2 OUTPUT DRIVER
 L:     linux-media@vger.kernel.org
 S:     Orphan
-F:     drivers/media/platform/sh_vou.c
+F:     drivers/media/platform/renesas/sh_vou.c
 F:     include/media/drv-intf/sh_vou.h
 
 SI2157 MEDIA DRIVER
index 83a4963273256e279bbaca910afcab81b2a5692b..b6650caecf45f16bd124b12502a6b6dd9cfd4ae6 100644 (file)
@@ -31,6 +31,8 @@ config V4L_MEM2MEM_DRIVERS
 
 source "drivers/media/platform/nxp/Kconfig"
 
+source "drivers/media/platform/renesas/Kconfig"
+
 # V4L platform drivers
 
 source "drivers/media/platform/marvell-ccic/Kconfig"
@@ -45,15 +47,6 @@ source "drivers/media/platform/omap/Kconfig"
 
 source "drivers/media/platform/aspeed/Kconfig"
 
-config VIDEO_SH_VOU
-       tristate "SuperH VOU video output driver"
-       depends on V4L_PLATFORM_DRIVERS
-       depends on VIDEO_DEV && I2C
-       depends on ARCH_SHMOBILE || COMPILE_TEST
-       select VIDEOBUF2_DMA_CONTIG
-       help
-         Support for the Video Output Unit (VOU) on SuperH SoCs.
-
 config VIDEO_MUX
        tristate "Video Multiplexer"
        depends on V4L_PLATFORM_DRIVERS
@@ -129,16 +122,6 @@ config VIDEO_STM32_DCMI
          To compile this driver as a module, choose M here: the module
          will be called stm32-dcmi.
 
-config VIDEO_RENESAS_CEU
-       tristate "Renesas Capture Engine Unit (CEU) driver"
-       depends on V4L_PLATFORM_DRIVERS
-       depends on VIDEO_DEV && VIDEO_V4L2
-       depends on ARCH_SHMOBILE || ARCH_R7S72100 || COMPILE_TEST
-       select VIDEOBUF2_DMA_CONTIG
-       select V4L2_FWNODE
-       help
-         This is a v4l2 driver for the Renesas CEU Interface
-
 config VIDEO_ROCKCHIP_ISP1
        tristate "Rockchip Image Signal Processing v1 Unit driver"
        depends on V4L_PLATFORM_DRIVERS
@@ -161,7 +144,6 @@ config VIDEO_ROCKCHIP_ISP1
 source "drivers/media/platform/exynos4-is/Kconfig"
 source "drivers/media/platform/am437x/Kconfig"
 source "drivers/media/platform/xilinx/Kconfig"
-source "drivers/media/platform/rcar-vin/Kconfig"
 source "drivers/media/platform/atmel/Kconfig"
 source "drivers/media/platform/sunxi/Kconfig"
 
@@ -191,22 +173,6 @@ config VIDEO_TI_CAL_MC
          default. Note that this behavior can be overridden via
          module parameter 'mc_api'.
 
-config VIDEO_RCAR_ISP
-       tristate "R-Car Image Signal Processor (ISP)"
-       depends on V4L_PLATFORM_DRIVERS
-       depends on VIDEO_V4L2 && OF
-       depends on ARCH_RENESAS || COMPILE_TEST
-       select MEDIA_CONTROLLER
-       select VIDEO_V4L2_SUBDEV_API
-       select RESET_CONTROLLER
-       select V4L2_FWNODE
-       help
-         Support for Renesas R-Car Image Signal Processor (ISP).
-         Enable this to support the Renesas R-Car Image Signal
-         Processor (ISP).
-
-         To compile this driver as a module, choose M here: the
-         module will be called rcar-isp.
 
 # Mem2mem drivers
 
@@ -477,64 +443,6 @@ config VIDEO_STM32_DMA2D
          The STM32 DMA2D is a memory-to-memory engine for pixel conversion
          and specialized DMA dedicated to image manipulation.
 
-config VIDEO_RENESAS_FDP1
-       tristate "Renesas Fine Display Processor"
-       depends on V4L_MEM2MEM_DRIVERS
-       depends on VIDEO_DEV && VIDEO_V4L2
-       depends on ARCH_RENESAS || COMPILE_TEST
-       depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
-       select VIDEOBUF2_DMA_CONTIG
-       select V4L2_MEM2MEM_DEV
-       help
-         This is a V4L2 driver for the Renesas Fine Display Processor
-         providing colour space conversion, and de-interlacing features.
-
-         To compile this driver as a module, choose M here: the module
-         will be called rcar_fdp1.
-
-config VIDEO_RENESAS_JPU
-       tristate "Renesas JPEG Processing Unit"
-       depends on V4L_MEM2MEM_DRIVERS
-       depends on VIDEO_DEV && VIDEO_V4L2
-       depends on ARCH_RENESAS || COMPILE_TEST
-       select VIDEOBUF2_DMA_CONTIG
-       select V4L2_MEM2MEM_DEV
-       help
-         This is a V4L2 driver for the Renesas JPEG Processing Unit.
-
-         To compile this driver as a module, choose M here: the module
-         will be called rcar_jpu.
-
-config VIDEO_RENESAS_FCP
-       tristate "Renesas Frame Compression Processor"
-       depends on V4L_MEM2MEM_DRIVERS
-       depends on ARCH_RENESAS || COMPILE_TEST
-       depends on OF
-       help
-         This is a driver for the Renesas Frame Compression Processor (FCP).
-         The FCP is a companion module of video processing modules in the
-         Renesas R-Car Gen3 and RZ/G2 SoCs. It handles memory access for
-         the codec, VSP and FDP modules.
-
-         To compile this driver as a module, choose M here: the module
-         will be called rcar-fcp.
-
-config VIDEO_RENESAS_VSP1
-       tristate "Renesas VSP1 Video Processing Engine"
-       depends on V4L_MEM2MEM_DRIVERS
-       depends on VIDEO_V4L2
-       depends on ARCH_RENESAS || COMPILE_TEST
-       depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
-       select MEDIA_CONTROLLER
-       select VIDEO_V4L2_SUBDEV_API
-       select VIDEOBUF2_DMA_CONTIG
-       select VIDEOBUF2_VMALLOC
-       help
-         This is a V4L2 driver for the Renesas VSP1 video processing engine.
-
-         To compile this driver as a module, choose M here: the module
-         will be called vsp1.
-
 config VIDEO_ROCKCHIP_RGA
        tristate "Rockchip Raster 2d Graphic Acceleration Unit"
        depends on V4L_MEM2MEM_DRIVERS
@@ -664,20 +572,3 @@ config VIDEO_TI_CSC
 
 # DVB platform drivers
 source "drivers/media/platform/sti/c8sectpfe/Kconfig"
-
-# SDR platform drivers
-config VIDEO_RCAR_DRIF
-       tristate "Renesas Digital Radio Interface (DRIF)"
-       depends on SDR_PLATFORM_DRIVERS
-       depends on VIDEO_V4L2
-       depends on ARCH_RENESAS || COMPILE_TEST
-       select VIDEOBUF2_VMALLOC
-       select V4L2_ASYNC
-       help
-         Say Y if you want to enable R-Car Gen3 DRIF support. DRIF is Digital
-         Radio Interface that interfaces with an RF front end chip. It is a
-         receiver of digital data which uses DMA to transfer received data to
-         a configured location for an application to use.
-
-         To compile this driver as a module, choose M here; the module
-         will be called rcar_drif.
index 4742b18fd8d87ca1b034b13966e8b5b28de6fc8f..20b07ae3ebf14750b431d8da3d613b4350bb4f60 100644 (file)
@@ -27,7 +27,7 @@ obj-y += omap/
 obj-y += omap3isp/
 obj-y += qcom/camss/
 obj-y += qcom/venus/
-obj-y += rcar-vin/
+obj-y += renesas/
 obj-y += rockchip/rga/
 obj-y += rockchip/rkisp1/
 obj-y += s3c-camif/
@@ -43,7 +43,6 @@ obj-y += sunxi/
 obj-y += tegra/vde/
 obj-y += ti-vpe/
 obj-y += via/
-obj-y += vsp1/
 obj-y += xilinx/
 
 # Please place here only ancillary drivers that aren't SoC-specific
@@ -51,10 +50,3 @@ obj-y += xilinx/
 # (e. g. LC_ALL=C sort Makefile)
 obj-$(CONFIG_VIDEO_MEM2MEM_DEINTERLACE)        += m2m-deinterlace.o
 obj-$(CONFIG_VIDEO_MUX)                        += video-mux.o
-obj-$(CONFIG_VIDEO_RCAR_DRIF)          += rcar_drif.o
-obj-$(CONFIG_VIDEO_RCAR_ISP)           += rcar-isp.o
-obj-$(CONFIG_VIDEO_RENESAS_CEU)                += renesas-ceu.o
-obj-$(CONFIG_VIDEO_RENESAS_FCP)                += rcar-fcp.o
-obj-$(CONFIG_VIDEO_RENESAS_FDP1)       += rcar_fdp1.o
-obj-$(CONFIG_VIDEO_RENESAS_JPU)                += rcar_jpu.o
-obj-$(CONFIG_VIDEO_SH_VOU)             += sh_vou.o
diff --git a/drivers/media/platform/renesas/Kconfig b/drivers/media/platform/renesas/Kconfig
new file mode 100644 (file)
index 0000000..3f35f1b
--- /dev/null
@@ -0,0 +1,119 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+# V4L drivers
+
+config VIDEO_RCAR_ISP
+       tristate "R-Car Image Signal Processor (ISP)"
+       depends on V4L_PLATFORM_DRIVERS
+       depends on VIDEO_V4L2 && OF
+       depends on ARCH_RENESAS || COMPILE_TEST
+       select MEDIA_CONTROLLER
+       select VIDEO_V4L2_SUBDEV_API
+       select RESET_CONTROLLER
+       select V4L2_FWNODE
+       help
+         Support for Renesas R-Car Image Signal Processor (ISP).
+         Enable this to support the Renesas R-Car Image Signal
+         Processor (ISP).
+
+         To compile this driver as a module, choose M here: the
+         module will be called rcar-isp.
+
+config VIDEO_RENESAS_CEU
+       tristate "Renesas Capture Engine Unit (CEU) driver"
+       depends on V4L_PLATFORM_DRIVERS
+       depends on VIDEO_DEV && VIDEO_V4L2
+       depends on ARCH_SHMOBILE || ARCH_R7S72100 || COMPILE_TEST
+       select VIDEOBUF2_DMA_CONTIG
+       select V4L2_FWNODE
+       help
+         This is a v4l2 driver for the Renesas CEU Interface
+
+config VIDEO_SH_VOU
+       tristate "SuperH VOU video output driver"
+       depends on V4L_PLATFORM_DRIVERS
+       depends on VIDEO_DEV && I2C
+       depends on ARCH_SHMOBILE || COMPILE_TEST
+       select VIDEOBUF2_DMA_CONTIG
+       help
+         Support for the Video Output Unit (VOU) on SuperH SoCs.
+
+source "drivers/media/platform/renesas/rcar-vin/Kconfig"
+
+# Mem2mem drivers
+
+config VIDEO_RENESAS_FCP
+       tristate "Renesas Frame Compression Processor"
+       depends on V4L_MEM2MEM_DRIVERS
+       depends on ARCH_RENESAS || COMPILE_TEST
+       depends on OF
+       help
+         This is a driver for the Renesas Frame Compression Processor (FCP).
+         The FCP is a companion module of video processing modules in the
+         Renesas R-Car Gen3 and RZ/G2 SoCs. It handles memory access for
+         the codec, VSP and FDP modules.
+
+         To compile this driver as a module, choose M here: the module
+         will be called rcar-fcp.
+
+config VIDEO_RENESAS_FDP1
+       tristate "Renesas Fine Display Processor"
+       depends on V4L_MEM2MEM_DRIVERS
+       depends on VIDEO_DEV && VIDEO_V4L2
+       depends on ARCH_RENESAS || COMPILE_TEST
+       depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
+       select VIDEOBUF2_DMA_CONTIG
+       select V4L2_MEM2MEM_DEV
+       help
+         This is a V4L2 driver for the Renesas Fine Display Processor
+         providing colour space conversion, and de-interlacing features.
+
+         To compile this driver as a module, choose M here: the module
+         will be called rcar_fdp1.
+
+config VIDEO_RENESAS_JPU
+       tristate "Renesas JPEG Processing Unit"
+       depends on V4L_MEM2MEM_DRIVERS
+       depends on VIDEO_DEV && VIDEO_V4L2
+       depends on ARCH_RENESAS || COMPILE_TEST
+       select VIDEOBUF2_DMA_CONTIG
+       select V4L2_MEM2MEM_DEV
+       help
+         This is a V4L2 driver for the Renesas JPEG Processing Unit.
+
+         To compile this driver as a module, choose M here: the module
+         will be called rcar_jpu.
+
+config VIDEO_RENESAS_VSP1
+       tristate "Renesas VSP1 Video Processing Engine"
+       depends on V4L_MEM2MEM_DRIVERS
+       depends on VIDEO_V4L2
+       depends on ARCH_RENESAS || COMPILE_TEST
+       depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
+       select MEDIA_CONTROLLER
+       select VIDEO_V4L2_SUBDEV_API
+       select VIDEOBUF2_DMA_CONTIG
+       select VIDEOBUF2_VMALLOC
+       help
+         This is a V4L2 driver for the Renesas VSP1 video processing engine.
+
+         To compile this driver as a module, choose M here: the module
+         will be called vsp1.
+
+# SDR drivers
+
+config VIDEO_RCAR_DRIF
+       tristate "Renesas Digital Radio Interface (DRIF)"
+       depends on SDR_PLATFORM_DRIVERS
+       depends on VIDEO_V4L2
+       depends on ARCH_RENESAS || COMPILE_TEST
+       select VIDEOBUF2_VMALLOC
+       select V4L2_ASYNC
+       help
+         Say Y if you want to enable R-Car Gen3 DRIF support. DRIF is Digital
+         Radio Interface that interfaces with an RF front end chip. It is a
+         receiver of digital data which uses DMA to transfer received data to
+         a configured location for an application to use.
+
+         To compile this driver as a module, choose M here; the module
+         will be called rcar_drif.
diff --git a/drivers/media/platform/renesas/Makefile b/drivers/media/platform/renesas/Makefile
new file mode 100644 (file)
index 0000000..3ec226e
--- /dev/null
@@ -0,0 +1,15 @@
+# SPDX-License-Identifier: GPL-2.0-only
+#
+# Makefile for the Renesas capture/playback device drivers.
+#
+
+obj-y += rcar-vin/
+obj-y += vsp1/
+
+obj-$(CONFIG_VIDEO_RCAR_DRIF) += rcar_drif.o
+obj-$(CONFIG_VIDEO_RCAR_ISP) += rcar-isp.o
+obj-$(CONFIG_VIDEO_RENESAS_CEU) += renesas-ceu.o
+obj-$(CONFIG_VIDEO_RENESAS_FCP) += rcar-fcp.o
+obj-$(CONFIG_VIDEO_RENESAS_FDP1) += rcar_fdp1.o
+obj-$(CONFIG_VIDEO_RENESAS_JPU) += rcar_jpu.o
+obj-$(CONFIG_VIDEO_SH_VOU) += sh_vou.o