Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4460982pxu; Mon, 21 Dec 2020 13:07:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJwQ0GdUggolMrpU/xrQ4vsSWgaIiLB/iLcvwcVxRbfEuq/exbssypgWLM/K22LjMdfeJaKn X-Received: by 2002:a17:906:8151:: with SMTP id z17mr17360576ejw.48.1608584870635; Mon, 21 Dec 2020 13:07:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608584870; cv=none; d=google.com; s=arc-20160816; b=ND6TRv54aQL9WL7KB0CS8KhociUaeSAEgMVXfIjhILjP9BuaP70d/Alsj31ZWl2Cuh fEC5umwuOvbtyX8lsSspa7g2Br460Zju52TNlUhAo57Ng7qlQ5EXNMu0g1aBw5BPuW9a adxUxde/KSjiqBST9xpXqpGQx0l83QWLj8m3+cMh8lUsz3zrROpBhwq1D4Rclxtla/Fi zYJBPyXEDmTXcjAwRiB1Qe65xTD3Ms6856Z2z1n9b0crAoMhSZorwN31iILsx/j+Lb0Q NAGaUwD7cYU9I+xSuIgccIIEiswCq9dwEiWRWOOAeYfQcHmyPhqRzmi5hwoTV8hNXhw0 ZaKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=V2+oO6hKZD9nwHnMJXdudXSQ6XwAnQ27uNwEQEnrKo8=; b=fD910641nsJUFcWotcGQpugjApT2XACIUePZirUheCpRJClyTFiUPPd/lCaAf6Qqqi tStzHZaq5XD007o1fN/cTIjyeI6YZbxFOgj+bUK4wVR4Oou4uTAEaqr6k86y7EERSU/0 zTFXrJjjflaprqAw3pewHnJChQeRyQ7YlUWMemiyCBc//nJpAVRheUiyFhlYxIoICKaN eORFn6vdDQBEwxQBQeqZ9ti7OE0E8amI8XhifjgLNbchOMJlOMJCa3u/Fkn1wQhW3ehI C6gPmexzmqUayDaHIZSTDUMl8Ta96lQ76FQf7zW1GoOf+O5ESwtL14pSV5Df9BOepDcQ qJHg== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k10si9512351eji.9.2020.12.21.13.07.28; Mon, 21 Dec 2020 13:07:50 -0800 (PST) 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726302AbgLUVGq (ORCPT + 99 others); Mon, 21 Dec 2020 16:06:46 -0500 Received: from mail-wm1-f54.google.com ([209.85.128.54]:55862 "EHLO mail-wm1-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726282AbgLUVGq (ORCPT ); Mon, 21 Dec 2020 16:06:46 -0500 Received: by mail-wm1-f54.google.com with SMTP id x22so191446wmc.5; Mon, 21 Dec 2020 13:06:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=V2+oO6hKZD9nwHnMJXdudXSQ6XwAnQ27uNwEQEnrKo8=; b=ciK6FTfheTfNFmvO8aMaJ8maMvZMWxXKSseg1N9hnNILkgyluLjIpETn/843WCvHAu NpvaLavbde558bhNBGZnG/xD8MYsET9oFvy9848WtMzAXk34QGkTLmgILnJTBwqWGJj2 ba2aARa5E52z1vfcMQq/hXJBWrQKk3/zIjX+s09tuHyK7rYpd6Zrb7Fb8GLTKPIi/Wml mMajeW83VDC2mpqf2D/8eur1LqgK/N0+iNaPwxfbFMoUfzOZFeQu4Y53CitnRHXYNiVH DiMUumICzcKufLDj1vXJXHjKX1g6RZ0G7rXYNwmpQJjXoIxoy3LihgyWVIHBROuNihQ+ Pvyw== X-Gm-Message-State: AOAM533jJGUSLxj1hLGyVs8OLctWN0YiZDI+GMNJIBMjTnpdjMWgNlqw 3YzM+BB5CSrCogCh+ZY2csg= X-Received: by 2002:a1c:c204:: with SMTP id s4mr18116946wmf.73.1608584764047; Mon, 21 Dec 2020 13:06:04 -0800 (PST) Received: from kozik-lap (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.googlemail.com with ESMTPSA id r7sm20000885wmh.2.2020.12.21.13.06.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Dec 2020 13:06:03 -0800 (PST) Date: Mon, 21 Dec 2020 22:06:01 +0100 From: Krzysztof Kozlowski To: Jagan Teki Cc: Rob Herring , Shawn Guo , Li Yang , Fabio Estevam , devicetree , linux-kernel , linux-arm-kernel , NXP Linux Team , linux-amarula , Catalin Marinas , Will Deacon , Matteo Lisi Subject: Re: [PATCH v2 6/6] arm64: dts: imx8mm: Add Engicam i.Core MX8M Mini EDIMM2.2 Starter Kit Message-ID: <20201221210601.GB2504@kozik-lap> References: <20201221113151.94515-1-jagan@amarulasolutions.com> <20201221113151.94515-7-jagan@amarulasolutions.com> <20201221140642.GF31176@kozik-lap> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 22, 2020 at 01:03:07AM +0530, Jagan Teki wrote: > On Mon, Dec 21, 2020 at 7:36 PM Krzysztof Kozlowski wrote: > > > > On Mon, Dec 21, 2020 at 05:01:51PM +0530, Jagan Teki wrote: > > > Engicam EDIMM2.2 Starter Kit is an EDIMM 2.2 Form Factor Capacitive > > > Evaluation Board. > > > > > > Genaral features: > > > - LCD 7" C.Touch > > > - microSD slot > > > - Ethernet 1Gb > > > - Wifi/BT > > > - 2x LVDS Full HD interfaces > > > - 3x USB 2.0 > > > - 1x USB 3.0 > > > - HDMI Out > > > - Mini PCIe > > > - MIPI CSI > > > - 2x CAN > > > - Audio Out > > > > > > i.Core MX8M Mini is an EDIMM SoM based on NXP i.MX8M Mini from Engicam. > > > > > > i.Core MX8M Mini needs to mount on top of this Evaluation board for > > > creating complete i.Core MX8M Mini EDIMM2.2 Starter Kit. > > > > > > PCIe, DSI, CSI nodes will add it into imx8mm-engicam-edimm2.2.dtsi once > > > Mainline Linux supported. > > > > > > Add support for it. > > > > > > Signed-off-by: Matteo Lisi > > > Signed-off-by: Jagan Teki > > > --- > > > Changes for v2: > > > - updated commit message > > > - dropped engicam from filename since it aligned with imx6 engicam > > > dts files naming conventions. > > > > > > arch/arm64/boot/dts/freescale/Makefile | 1 + > > > .../freescale/imx8mm-engicam-edimm2.2.dtsi | 7 +++++++ > > > .../freescale/imx8mm-icore-mx8mm-edimm2.2.dts | 21 +++++++++++++++++++ > > > 3 files changed, 29 insertions(+) > > > create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-engicam-edimm2.2.dtsi > > > create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm-edimm2.2.dts > > > > > > diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile > > > index 8d49a2c74604..43783076f856 100644 > > > --- a/arch/arm64/boot/dts/freescale/Makefile > > > +++ b/arch/arm64/boot/dts/freescale/Makefile > > > @@ -33,6 +33,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mm-beacon-kit.dtb > > > dtb-$(CONFIG_ARCH_MXC) += imx8mm-evk.dtb > > > dtb-$(CONFIG_ARCH_MXC) += imx8mm-ddr4-evk.dtb > > > dtb-$(CONFIG_ARCH_MXC) += imx8mm-icore-mx8mm-ctouch2.dtb > > > +dtb-$(CONFIG_ARCH_MXC) += imx8mm-icore-mx8mm-edimm2.2.dtb > > > dtb-$(CONFIG_ARCH_MXC) += imx8mm-kontron-n801x-s.dtb > > > dtb-$(CONFIG_ARCH_MXC) += imx8mm-var-som-symphony.dtb > > > dtb-$(CONFIG_ARCH_MXC) += imx8mn-evk.dtb > > > diff --git a/arch/arm64/boot/dts/freescale/imx8mm-engicam-edimm2.2.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-engicam-edimm2.2.dtsi > > > new file mode 100644 > > > index 000000000000..294df07289a2 > > > --- /dev/null > > > +++ b/arch/arm64/boot/dts/freescale/imx8mm-engicam-edimm2.2.dtsi > > > @@ -0,0 +1,7 @@ > > > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > > > +/* > > > + * Copyright (c) 2020 Engicam srl > > > + * Copyright (c) 2020 Amarula Solutions(India) > > > + */ > > > + > > > +#include "imx8mm-engicam-common.dtsi" > > > > It seems you ignored my comments from previous email. That's not how we > > go with the process. > > > > Don't create confusing or overcomplicated hierarchy of includes. Don't > > create files which do nothing. > > Idea is to move common nodes in separate dtsi instead of adding > redundant nodes into respective areas. let me know if it still > confusing. A file which *only* includes another file does not fulfill this idea of moving common nodes to a separate DTSI file. Or if I still miss something, please point me, what common nodes are stored in imx8mm-engicam-edimm2.2.dtsi? Best regards, Krzysztof