Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4811264pxu; Tue, 22 Dec 2020 01:07:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJxUMzsSEBlPECIFqpZBF6Qpd2zJEzkuKsCu0WTdJiedONb3UilvZIReb5t/Xd14fZNeT/MH X-Received: by 2002:a17:906:2f07:: with SMTP id v7mr13302008eji.343.1608628069131; Tue, 22 Dec 2020 01:07:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608628069; cv=none; d=google.com; s=arc-20160816; b=HSFZ0rtzXgjS1BBVqdvUPQxo5V6UdcxD+3OnH0WaaTu2XnPa71uZH4fgsAlkJkB2Jp VyD+6Mfbu3K5lkljUuDdHfT2UiI4BoBuC+L5bMn9udj3OEOhK3jJnjy9likQ3znPUl1i YRFnyeicag5RvGqKiX/nnkZH14X/HxL+RL1lPQZ/haUuF1ouKWKhDYSykliXUmQkOo9L tmql8vfD7zFA+gRq0/nxEGt6SWbFQoRZlQRxPUuiJ+I/JK/XJeGhgHh1MpfAjBELi+VE +3w6xs3xJF3G4dxv/no19hAivMjFcLAFrVozMp2/n9NWi9tEKAZzMhOiRPOfCDcyLuri nZ+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=lgx83uVJqkXmZuiDqOI5l+kZEmkb6zRi1iu5164ju14=; b=a2pmgvDRFm5O9wovZZtocaZz60Ua+zf6uUBmEROt/fiXVvOfIWwuJAG7Go5b5lQeSC eBASTxPH6gzdnJLZ8vGw/q2cKSomyj2jIy1Y0HY14oH8dLcQG8D1Idz8Kq9sfH7vaGEs im7Kc/0qqouoYQXPgkaZ+ZRptZDsiq6w2EoBL2WOn8ov1bOn/i/luI2UH3w5Ole2RsMN QnxR5Q5ldqw8naKeLssGLHTu2MFnkE1qSkgn0xihkde2z6vaX1VPdQdQLfyh1XwmvW3s soLTO/KpRAercfO4TUkM/UGXgfdKY3reTN0xLiUYmugJc+ogE52leuAzvlR3QZwWOiz7 u4tQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=CKVpzcpU; 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 c23si12054101edj.524.2020.12.22.01.07.25; Tue, 22 Dec 2020 01:07:49 -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; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=CKVpzcpU; 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 S1725841AbgLVJGt (ORCPT + 99 others); Tue, 22 Dec 2020 04:06:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725782AbgLVJGs (ORCPT ); Tue, 22 Dec 2020 04:06:48 -0500 Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81C68C0613D6 for ; Tue, 22 Dec 2020 01:06:08 -0800 (PST) Received: by mail-qk1-x72e.google.com with SMTP id c7so11327736qke.1 for ; Tue, 22 Dec 2020 01:06:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lgx83uVJqkXmZuiDqOI5l+kZEmkb6zRi1iu5164ju14=; b=CKVpzcpUybVMsFH6eSmwQC/xxiyR8nqWd+k7AUcJ7gR0iG9ijioV4iNDPqBlLhfXAI jgMNVSYfvnn/uZcgrOYaSSfO8qPFgv31476MEAJ/3pyGbEsO0MFEv7xraojmln1S6Cuv pbP6nMBi6JCLwMLfA1MREQ41MQE95WkjVnmDQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lgx83uVJqkXmZuiDqOI5l+kZEmkb6zRi1iu5164ju14=; b=BkdwlrrJkOLV+xwPIxzxMy0oc/dHcL/uwcBeQMtzABBT9JasxMCSkEjT6PgB8bXEbo hhY0t4/uynziVGuJY3SOAqZjmyl19FOwOAzLmOfArg95t0yDpYO9frBI4PufiJsJq+ki tx4Wj0lIU616xogKYUkAI/A6BLwaZD51LZ6x/jmTU1UPTTUjcAFPOEGfbhOMVnpWAbyf ZXruxCb5XJs1v7V02C8CT2IveO8nnkmhuDJqQVLZJKAGCEA1k9hz1zpP7M0Twjuaso7W tsu/ViqeQs+33D5qSvDR9FownfNg4dyvIZzR7zVjGEIaazkXIjXvOAwAPT/rQpkYUos/ oMeg== X-Gm-Message-State: AOAM532oiIS7x1+IINP1JLYxn4tnkeaydWraka9XjqgLlwN9Z7JR7bVJ hgNMBWEYoAHBbfHePM6hCyHgajQEmyDiV77m5TMIuA== X-Received: by 2002:a37:6845:: with SMTP id d66mr18542948qkc.463.1608627967036; Tue, 22 Dec 2020 01:06:07 -0800 (PST) MIME-Version: 1.0 References: <20201221113151.94515-1-jagan@amarulasolutions.com> <20201221113151.94515-7-jagan@amarulasolutions.com> <20201221140642.GF31176@kozik-lap> <20201221210601.GB2504@kozik-lap> <20201222085330.GA15568@kozik-lap> In-Reply-To: <20201222085330.GA15568@kozik-lap> From: Jagan Teki Date: Tue, 22 Dec 2020 14:35:55 +0530 Message-ID: Subject: Re: [PATCH v2 6/6] arm64: dts: imx8mm: Add Engicam i.Core MX8M Mini EDIMM2.2 Starter Kit To: Krzysztof Kozlowski 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 22, 2020 at 2:23 PM Krzysztof Kozlowski wrote: > > On Tue, Dec 22, 2020 at 02:20:55PM +0530, Jagan Teki wrote: > > On Tue, Dec 22, 2020 at 2:36 AM Krzysztof Kozlowski wrote: > > > > > > 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? > > > > imx8mm-engicam-edimm2.2.dtsi for EDIMM2.2 Carrier > > imx8mm-engicam-ctouch2.dtsi for C.TOUCH2 Carrier > > imx8mm-engicam-common.dtsi for common nodes for above 2 carrier boards. > > > > Yes, imx8mm-engicam-edimm2.2.dtsi is empty now > > Then that's the answer. We do not create empty files. > > > but nodes like PCIe, > > CSI, DSI will support once the respective drivers are part of Mainline > > but those are not supported in C.TOUCH2 carrier board dtsi. There are > > some GPIO pins differences between EDIMM2.2 and C.TOUCH2 carriers on > > WiFi/BT so those will be part of the respective carrier dtsi. > > It's the same clear as before. Don't create empty files. Once you decide > to bring new features, you create a new file. Okay, then will add w/o common file in next version. Jagan.