[cip-dev] [PATCH 4.19.y 09/29] media: rcar-csi2: Add R8A77990 support

Fabrizio Castro fabrizio.castro at bp.renesas.com
Wed May 1 10:22:03 UTC 2019


From: Jacopo Mondi <jacopo+renesas at jmondi.org>

commit 6511459d2a233f3cfe405af219b3de5b62ca31f6 upstream.

Add support for R-Car E3 R8A77965 to R-Car CSI-2 driver.
Based on the experimental patch from Magnus Damm.

Signed-off-by: Jacopo Mondi <jacopo+renesas at jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Acked-by: Niklas Söderlund <niklas.soderlund+renesas at ragnatech.se>
Signed-off-by: Hans Verkuil <hansverk at cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung at kernel.org>
[fab: removed "renesas,r8a77990-csi2"]
Signed-off-by: Fabrizio Castro <fabrizio.castro at bp.renesas.com>
---
 drivers/media/platform/rcar-vin/rcar-csi2.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/media/platform/rcar-vin/rcar-csi2.c b/drivers/media/platform/rcar-vin/rcar-csi2.c
index dc5ae80..499730f 100644
--- a/drivers/media/platform/rcar-vin/rcar-csi2.c
+++ b/drivers/media/platform/rcar-vin/rcar-csi2.c
@@ -959,6 +959,11 @@ static const struct rcar_csi2_info rcar_csi2_info_r8a77970 = {
 	.confirm_start = rcsi2_confirm_start_v3m_e3,
 };
 
+static const struct rcar_csi2_info rcar_csi2_info_r8a77990 = {
+	.init_phtw = rcsi2_init_phtw_v3m_e3,
+	.confirm_start = rcsi2_confirm_start_v3m_e3,
+};
+
 static const struct of_device_id rcar_csi2_of_table[] = {
 	{
 		.compatible = "renesas,r8a7795-csi2",
-- 
2.7.4



More information about the cip-dev mailing list