Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3985952pxu; Tue, 20 Oct 2020 05:53:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxV1ksznBZKfA67ZLaBvbxXCP439qtVChI1s3SH+QC9qhH5q4v+i/8XhUueCHDlz5SmiHji X-Received: by 2002:a05:6402:74f:: with SMTP id p15mr2689553edy.69.1603198421671; Tue, 20 Oct 2020 05:53:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603198421; cv=none; d=google.com; s=arc-20160816; b=BVBnUt87XM/PDlcsQpgjxIWZNEa/5+X+tiAAmYHCHdUQyX4Kbnsyno1Q5C+H0jFD2B sgStBDMBlP8YfI8OlYcmQKR19hp0HzR7Q1McVUeYeeg85bTuH7lcl30U6VI5NWRQwpZO 51J6eTaulonZ3jdeBEqpVov8ZiTu0wBXE0X4yB7kbeFMlARsKA7yYLphlBUOv1IFJP8m 34/qZWpFW255IXGOyBpSjuhsPrJ0W+zwec0x4J5wWhemu1LC87pu7H+PdGVaoiSE50Vf 6+xqQhw1m2sRdaMyIbODpZyZmOvmf0E7OwSWUlco4uHvGOAY8mdBnJvpnEIyFIBA+gbN ff/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=uvXkZzhDIWaeyOY5Wq7DwNAeRge4SJxxq8RyqoqCd3M=; b=ueFFTSFu2e4jWAezdDGZYJ9pavMJBON2A15qQPuSSBMxuAOjzot4kXh8NecKJTFwfW 4xvXILvAGFks1dQNLtu0g4by72N0XrKUETXtIP2e0eNutJyXdjhaYBZeifglP4H4NoT2 cu5NBjjaFz7V3pUN5nV5MQkkOuCcmqSzvk4tMdDAs80aZQtmseE1/hBPwoLtzEiNROlr jcCOHn5DLVSVmnMJ8dgSnetSv73kCaBExBmYKFRDL6OjWro1rb/uaYeD1f1hOpHAzmc1 qHEncB2OL7n2M//7QwdH5o7fyxXO16KznhZbNq2ZyfHV+ev3lHzHp3ph4+SBjGY69hM4 ad8Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a4si1164705ejc.628.2020.10.20.05.53.16; Tue, 20 Oct 2020 05:53:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406707AbgJTMwM (ORCPT + 99 others); Tue, 20 Oct 2020 08:52:12 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:6503 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2406027AbgJTMwL (ORCPT ); Tue, 20 Oct 2020 08:52:11 -0400 X-IronPort-AV: E=Sophos;i="5.77,397,1596466800"; d="scan'208";a="60080892" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 20 Oct 2020 21:52:10 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 859EA421A443; Tue, 20 Oct 2020 21:52:08 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Magnus Damm , Rob Herring , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Prabhakar , Lad Prabhakar , Biju Das Subject: [PATCH v2 1/4] arm64: dts: renesas: aistarvision-mipi-adapter-2.1: Add parent macro for each sensor Date: Tue, 20 Oct 2020 13:51:31 +0100 Message-Id: <20201020125134.22625-2-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201020125134.22625-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20201020125134.22625-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org For HiHope RZ/G2H the OV5645 sensor is populated on i2c2 whereas the imx219 sensor is populated on i2c3 so add support for handling such cases by adding a parent macro for each sensor. Also update r8a774c0-ek874-mipi-2.1.dts to incorporate the changes. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- v1->v2 - No change --- .../arm64/boot/dts/renesas/aistarvision-mipi-adapter-2.1.dtsi | 4 +++- arch/arm64/boot/dts/renesas/r8a774c0-ek874-mipi-2.1.dts | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/aistarvision-mipi-adapter-2.1.dtsi b/arch/arm64/boot/dts/renesas/aistarvision-mipi-adapter-2.1.dtsi index dac6ff49020f..7ce986f0a06f 100644 --- a/arch/arm64/boot/dts/renesas/aistarvision-mipi-adapter-2.1.dtsi +++ b/arch/arm64/boot/dts/renesas/aistarvision-mipi-adapter-2.1.dtsi @@ -61,7 +61,7 @@ }; }; -&MIPI_PARENT_I2C { +&MIPI_OV5645_PARENT_I2C { ov5645: ov5645@3c { compatible = "ovti,ov5645"; reg = <0x3c>; @@ -77,7 +77,9 @@ }; }; }; +}; +&MIPI_IMX219_PARENT_I2C { imx219: imx219@10 { compatible = "sony,imx219"; reg = <0x10>; diff --git a/arch/arm64/boot/dts/renesas/r8a774c0-ek874-mipi-2.1.dts b/arch/arm64/boot/dts/renesas/r8a774c0-ek874-mipi-2.1.dts index f0829e905506..e7b4a929bb17 100644 --- a/arch/arm64/boot/dts/renesas/r8a774c0-ek874-mipi-2.1.dts +++ b/arch/arm64/boot/dts/renesas/r8a774c0-ek874-mipi-2.1.dts @@ -8,7 +8,8 @@ /dts-v1/; #include "r8a774c0-ek874.dts" -#define MIPI_PARENT_I2C i2c3 +#define MIPI_OV5645_PARENT_I2C i2c3 +#define MIPI_IMX219_PARENT_I2C i2c3 #include "aistarvision-mipi-adapter-2.1.dtsi" / { -- 2.17.1