Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1286363imu; Thu, 13 Dec 2018 12:26:13 -0800 (PST) X-Google-Smtp-Source: AFSGD/XmgDYFwjvDbfmtozUU+Qp1PvynrsGEO017P3vwqaGoy43zeDzj7Ev1MNbKPB+Q76ET05ro X-Received: by 2002:a62:11c7:: with SMTP id 68mr223120pfr.21.1544732773855; Thu, 13 Dec 2018 12:26:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544732773; cv=none; d=google.com; s=arc-20160816; b=UMw0De2NXso9bjVCUz4NGzPF78uBrFwlKN/tISM27qBGPOX09VG/RBI6ic5KnAwP8z A6zoPML4rpvNLsr53c6+NnhzM9Lh5mhkOx9G5A3pcmY5N7GO+2HDzMBiUzEGkLYxIjKu 7a7jMBhRA3QKcPa7nseWqKIx6mjGxUFDPhLLaPOJzNYOCZmW0Olv1p+ikEROoYF4o0eI Eno9iQkRIRlJ3UFfasMvNli1TBJPcz9ps1OVKigLAlbLid+dShYgHf2a8yf74UKdAID5 l1Vp4kxkCQtftXquGXFDbMhx4u8E0KkJ81Q/8Z6e13NfF7uaxS8mQusvI1HmTYKYvmIk 5yKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=sZSMU6jgnjcs7ym+D1vVxEfuAaWer4uwf6XPVBtcVts=; b=Sbr7oFL4gGiXF0x2t4o/OgOYch+hDm3xcooyc+/985MigOo1NtmP3NlJtsXFyd3YuM vPfCQU1pIkX2LPEm4wk7jj410CWevG4G8BWYSerhJCgPyOPDw9u+ECtXKcRRIIjNZgpz DuwtbDmnzIEcWBj3zr66MJAg13zEJCx9E2sKAJ6FDYKT4wxLXhL1S0KzZATf27Oq5nIh 8aKg1nO8POHzGqZn7D0mCnT2ePTHISXFgyDWd5IbdVepib0EE11hoWrdRZTA01ohIJrv u3OamRRgknE+oDRNtZ8nHV0wov+57TwLIF+DV2lWRWDsXJJwba69wcI6mkdPrsb+ym9L 1+2A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k62si2298119pfc.208.2018.12.13.12.25.59; Thu, 13 Dec 2018 12:26:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728421AbeLMUYT (ORCPT + 99 others); Thu, 13 Dec 2018 15:24:19 -0500 Received: from relmlor2.renesas.com ([210.160.252.172]:42431 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726435AbeLMUYT (ORCPT ); Thu, 13 Dec 2018 15:24:19 -0500 X-IronPort-AV: E=Sophos;i="5.56,349,1539615600"; d="scan'208";a="2555846" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 14 Dec 2018 05:24:17 +0900 Received: from fabrizio-dev.ree.adwin.renesas.com (unknown [10.226.37.69]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id F13664072C4F; Fri, 14 Dec 2018 05:24:14 +0900 (JST) From: Fabrizio Castro To: Mauro Carvalho Chehab Cc: Fabrizio Castro , =?UTF-8?q?Niklas=20S=C3=B6derlund?= , linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Simon Horman , Geert Uytterhoeven , Chris Paterson , Biju Das Subject: [PATCH] media: rcar-csi2: Add support for RZ/G2E Date: Thu, 13 Dec 2018 20:24:12 +0000 Message-Id: <1544732652-7459-1-git-send-email-fabrizio.castro@bp.renesas.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org According to the RZ/G2 User's manual, RZ/G2E and R-Car E3 CSI-2 blocks are identical, therefore use R-Car E3 definitions to add RZ/G2E support. Signed-off-by: Fabrizio Castro --- drivers/media/platform/rcar-vin/rcar-csi2.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/media/platform/rcar-vin/rcar-csi2.c b/drivers/media/platform/rcar-vin/rcar-csi2.c index 80ad906..be7508b 100644 --- a/drivers/media/platform/rcar-vin/rcar-csi2.c +++ b/drivers/media/platform/rcar-vin/rcar-csi2.c @@ -979,6 +979,10 @@ static const struct rcar_csi2_info rcar_csi2_info_r8a77990 = { static const struct of_device_id rcar_csi2_of_table[] = { { + .compatible = "renesas,r8a774c0-csi2", + .data = &rcar_csi2_info_r8a77990, + }, + { .compatible = "renesas,r8a7795-csi2", .data = &rcar_csi2_info_r8a7795, }, -- 2.7.4