Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4505623pxu; Tue, 20 Oct 2020 20:31:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyC5yFFxUVqKJHXXrgOqwZp83qenB/sx/neOu73hVgkluJ+BVRNAcDBkYXoOjn3JcUCE1u9 X-Received: by 2002:a17:906:3c03:: with SMTP id h3mr1281861ejg.78.1603251108296; Tue, 20 Oct 2020 20:31:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603251108; cv=none; d=google.com; s=arc-20160816; b=w7xOIEiiWiydf6PxxvcEtyRVn2FpqXv6tzOZxpgE0BHd92xwZ18gsLsvLaeBsXOlDd 2O8aOUqHRc76CJfMIJMs1e46ncnOU216r43BbXj4zeBJYZ/OD25q9NfWZs30HcykDvWZ eJcvCY2HChjnjwybtQiDLmv2yq9VsJ1vqzH+qsUfOHK2NkEbbw+Q0kX4AUapISuFibZ8 CIC7hGMIXH2+qVJZi7RIK9BRG32UwNxpJ4CM/9t+bAsHGvn9qlouGn62eOH7NeyMHALK hiVII4EjOH6Dbjq0dN81Ke7TycuUwlAxN/aB75Vz73w3JthLINFx3T8ittJvL+ZsrGPr cp1A== 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=LcEBiVr0QngDYlbuXTFgbG9hqJhwQBVzeXpS7seP7Hk=; b=MJa7FAnOUKqPj5JN5Gs1cUqX6pGard4nXUEXVB50b7UXPz6yVloNaz9KI1YjCWH10Y uZt8kZ680r7ldc+ZkFSQqyZA0ovvQw4Yr58TpuA4Ye8TbcUaSQq69Q0krv7kOqk30zz6 NUC0yO5OSNuVfR7eCNzQ0CDIgNRFe7hmFk7DmFKI/G86k0gLHf+rwt4uGy4uBAFV5b9P h0RpQQ50uMf7p+2owyLMNczSLoo15mdGXhgx/OjtvnhVU3c7MmM22ZHWb1FnLykCMIkE P9GnG68P6j6sxFPDQv68e3DV91qQlHgvv42w1+AbHGHfs9RUs+COkY5oDKZOrz3Hyk38 w0wg== 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 c12si460070ejb.751.2020.10.20.20.31.25; Tue, 20 Oct 2020 20:31:48 -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 S2406735AbgJTMwS (ORCPT + 99 others); Tue, 20 Oct 2020 08:52:18 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:50352 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2406715AbgJTMwP (ORCPT ); Tue, 20 Oct 2020 08:52:15 -0400 X-IronPort-AV: E=Sophos;i="5.77,397,1596466800"; d="scan'208";a="60296200" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 20 Oct 2020 21:52:14 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 149AD421A443; Tue, 20 Oct 2020 21:52:12 +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 3/4] arm64: dts: renesas: Add support for MIPI Adapter V2.1 connected to HiHope RZ/G2M Date: Tue, 20 Oct 2020 13:51:33 +0100 Message-Id: <20201020125134.22625-4-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 Add support for AISTARVISION MIPI Adapter V2.1 board connected to HiHope RZ/G2M board. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das --- v1->v2 * Disabled CSI40 amd imx219 nodes * Added a comment wrt CSI40 as it supports only 4 lane mode --- arch/arm64/boot/dts/renesas/Makefile | 1 + .../r8a774a1-hihope-rzg2m-ex-mipi-2.1.dts | 29 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-ex-mipi-2.1.dts diff --git a/arch/arm64/boot/dts/renesas/Makefile b/arch/arm64/boot/dts/renesas/Makefile index f98e9e2e520d..6581d19a3217 100644 --- a/arch/arm64/boot/dts/renesas/Makefile +++ b/arch/arm64/boot/dts/renesas/Makefile @@ -6,6 +6,7 @@ dtb-$(CONFIG_ARCH_R8A774A1) += r8a774a1-hihope-rzg2m-ex-idk-1110wr.dtb dtb-$(CONFIG_ARCH_R8A774A1) += r8a774a1-hihope-rzg2m-rev2.dtb dtb-$(CONFIG_ARCH_R8A774A1) += r8a774a1-hihope-rzg2m-rev2-ex.dtb dtb-$(CONFIG_ARCH_R8A774A1) += r8a774a1-hihope-rzg2m-rev2-ex-idk-1110wr.dtb +dtb-$(CONFIG_ARCH_R8A774A1) += r8a774a1-hihope-rzg2m-ex-mipi-2.1.dtb dtb-$(CONFIG_ARCH_R8A774B1) += r8a774b1-hihope-rzg2n.dtb dtb-$(CONFIG_ARCH_R8A774B1) += r8a774b1-hihope-rzg2n-ex.dtb diff --git a/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-ex-mipi-2.1.dts b/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-ex-mipi-2.1.dts new file mode 100644 index 000000000000..5c91e0d7e67b --- /dev/null +++ b/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-ex-mipi-2.1.dts @@ -0,0 +1,29 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the HiHope RZ/G2M board + * connected with aistarvision-mipi-v2-adapter board + * + * Copyright (C) 2020 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r8a774a1-hihope-rzg2m-ex.dts" +#include "hihope-rzg2-ex-aistarvision-mipi-adapter-2.1.dtsi" + +/ { + model = "HopeRun HiHope RZ/G2M with sub board connected with aistarvision-mipi-v2-adapter board"; + compatible = "hoperun,hihope-rzg2m", "renesas,r8a774a1"; +}; + +/* + * On RZ/G2M SoC LSI V1.3 CSI40 supports only 4 lane mode. + * HiHope RZ/G2M Rev.4.0 board is based on LSI V1.3 so disable csi40 and + * imx219 as the imx219 endpoint driver supports only 2 lane mode. + */ +&csi40 { + status = "disabled"; +}; + +&imx219 { + status = "disabled"; +}; -- 2.17.1