Skip to content

Commit

Permalink
media: rcar-csi2: add Renesas R-Car MIPI CSI-2 receiver driver
Browse files Browse the repository at this point in the history
A V4L2 driver for Renesas R-Car MIPI CSI-2 receiver. The driver
supports the R-Car Gen3 SoCs where separate CSI-2 hardware blocks are
connected between the video sources and the video grabbers (VIN).

Driver is based on a prototype by Koji Matsuoka in the Renesas BSP.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Niklas Söderlund authored and Mauro Carvalho Chehab committed May 28, 2018
1 parent 385c83e commit 769afd2
Showing 3 changed files with 1,097 additions and 0 deletions.
12 changes: 12 additions & 0 deletions drivers/media/platform/rcar-vin/Kconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
config VIDEO_RCAR_CSI2
tristate "R-Car MIPI CSI-2 Receiver"
depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && OF
depends on ARCH_RENESAS || COMPILE_TEST
select V4L2_FWNODE
help
Support for Renesas R-Car MIPI CSI-2 receiver.
Supports R-Car Gen3 SoCs.

To compile this driver as a module, choose M here: the
module will be called rcar-csi2.

config VIDEO_RCAR_VIN
tristate "R-Car Video Input (VIN) Driver"
depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && OF && HAS_DMA && MEDIA_CONTROLLER
1 change: 1 addition & 0 deletions drivers/media/platform/rcar-vin/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
rcar-vin-objs = rcar-core.o rcar-dma.o rcar-v4l2.o

obj-$(CONFIG_VIDEO_RCAR_CSI2) += rcar-csi2.o
obj-$(CONFIG_VIDEO_RCAR_VIN) += rcar-vin.o
1,084 changes: 1,084 additions & 0 deletions drivers/media/platform/rcar-vin/rcar-csi2.c

Large diffs are not rendered by default.

0 comments on commit 769afd2

Please sign in to comment.