Skip to content

Commit

Permalink
media: platform: Add Renesas RZ/G2L MIPI CSI-2 receiver driver
Browse files Browse the repository at this point in the history
Add MIPI CSI-2 receiver driver for Renesas RZ/G2L. The MIPI
CSI-2 is part of the CRU module found on RZ/G2L family.

Based on a patch in the BSP by Hien Huynh
<hien.huynh.px@renesas.com>

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
  • Loading branch information
Lad Prabhakar authored and Mauro Carvalho Chehab committed Nov 25, 2022
1 parent a180041 commit 51e8415
Show file tree
Hide file tree
Showing 5 changed files with 899 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/media/platform/renesas/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ config VIDEO_SH_VOU
Support for the Video Output Unit (VOU) on SuperH SoCs.

source "drivers/media/platform/renesas/rcar-vin/Kconfig"
source "drivers/media/platform/renesas/rzg2l-cru/Kconfig"

# Mem2mem drivers

Expand Down
1 change: 1 addition & 0 deletions drivers/media/platform/renesas/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#

obj-y += rcar-vin/
obj-y += rzg2l-cru/
obj-y += vsp1/

obj-$(CONFIG_VIDEO_RCAR_DRIF) += rcar_drif.o
Expand Down
17 changes: 17 additions & 0 deletions drivers/media/platform/renesas/rzg2l-cru/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# SPDX-License-Identifier: GPL-2.0

config VIDEO_RZG2L_CSI2
tristate "RZ/G2L MIPI CSI-2 Receiver"
depends on ARCH_RENESAS || COMPILE_TEST
depends on V4L_PLATFORM_DRIVERS
depends on VIDEO_DEV && OF
select MEDIA_CONTROLLER
select RESET_CONTROLLER
select V4L2_FWNODE
select VIDEO_V4L2_SUBDEV_API
help
Support for Renesas RZ/G2L (and alike SoC's) MIPI CSI-2
Receiver driver.

To compile this driver as a module, choose M here: the
module will be called rzg2l-csi2.
3 changes: 3 additions & 0 deletions drivers/media/platform/renesas/rzg2l-cru/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# SPDX-License-Identifier: GPL-2.0

obj-$(CONFIG_VIDEO_RZG2L_CSI2) += rzg2l-csi2.o
Loading

0 comments on commit 51e8415

Please sign in to comment.