Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1053379pxu; Wed, 2 Dec 2020 09:50:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJxCiPTQLuzr0jJskvV3qUNsY0onqZJkiszzkOjLtEt+sw5t8/XsCLbGDMhrb/sXCrziU5MG X-Received: by 2002:a50:f61b:: with SMTP id c27mr838057edn.61.1606931441888; Wed, 02 Dec 2020 09:50:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606931441; cv=none; d=google.com; s=arc-20160816; b=yxzFf/TC92sEbsha4iBWUiRsevPd7gGeoj9YqiJ8+jKaiQHHRAeK5qAoUG9IhqMrZ4 Rgf+wLkGHkGzIvBPOUB2okhqkY20LO+HCf0NWbdoo4He4pbyTYyKWFtg32EqAqIPkkpJ qoZFz5y7CgAvV4ji6jUl5ForYvE5WE+vUM3Xp6yDNXAEP6pUfbT1IgDQx066A75fKBLm /m70WSgVEQpNh/zNu4xji8780FZidvwqXdmLyx7MAblxNyr76blTqrg445oBt11SobOJ p00aslOGdhGrI+dHPn6VBjBLdf4Y3tBPFUdRnphA49bhpUZ2vDlcfCAzNPcNm8llrfaa Ooxw== 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=KQujH+DgczKfL4cTVLHPoonrrbdR99NcEgX+XcWOKS8=; b=fxzjXl+0I/4xZKNrxi4wxVw25+imu/x6oMad80XZJdYXM8V2gDnGZpOkcqzHRzEpSC Iict6DdVqoIqJzXB5mKNnWSOavynAeR84Y56u0UK953NkCfUON5nLnrclLvW3vt4VXVQ Bxii8owl6foMIhwiOyThWhfPuXF1WLjgXRn/6sWHJpQM+k32jAiBa6rJhZTkDF9Jl0Cw 7NHLObTi3bBAyd36uEc7qamQcg2H2jU09Euqq+SAEzmFuENvDmuUTh0mkpN/v5Rh65jf ghm6/uZfuOhsBsMAQYcXyO4SYWg9Ym2XU7sFdYnsrCVPNk0TGB7+WaIuV/HnYG2xWtbm aNGQ== 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 j12si390807edq.584.2020.12.02.09.50.18; Wed, 02 Dec 2020 09:50:41 -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 S2389270AbgLBRqX (ORCPT + 99 others); Wed, 2 Dec 2020 12:46:23 -0500 Received: from mail-ed1-f66.google.com ([209.85.208.66]:41693 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389271AbgLBRqW (ORCPT ); Wed, 2 Dec 2020 12:46:22 -0500 Received: by mail-ed1-f66.google.com with SMTP id ck29so4883755edb.8; Wed, 02 Dec 2020 09:46:06 -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=KQujH+DgczKfL4cTVLHPoonrrbdR99NcEgX+XcWOKS8=; b=oEfAKc4sEd4XoC0wT1yGTmRrfDBDArXHl/DHml4RS550EFLpZHQgNFZxRI44aIQGwY Ut/07ReyOi9Z1G22r3Q+8hBhWRoYsIi5PpL/Dat3Cp68b25PKKwD9AJ6JMwHxWGA+7fa HvyfUf6+u07qzmQ+cAaclcpwvm0ucagbWivRuzrch6G/zyPOhMXlXih2KSpLaEe5i6Iu VD2aMd5DrH7puiRmEmMgaTK41RCbM1SsL6GVR1IQyic8Jyw20V0OKw6M3yUmYDN9ydV5 WqSngjT+fD++wKT/sPm1e5pRSUEAiXeOGcjAv96YLmEoWHk1UWnUCbg0BdrOCr/rgdYQ r4bg== X-Gm-Message-State: AOAM533tacxtMqPYKnPnOGAbu1BNqI88EfWsiOwor+L1VVXW7rMgBFnF FrqOkTw3fFj68bdrJvLac44= X-Received: by 2002:a50:e18c:: with SMTP id k12mr1090339edl.58.1606931140639; Wed, 02 Dec 2020 09:45:40 -0800 (PST) Received: from kozik-lap (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.googlemail.com with ESMTPSA id be6sm471571edb.29.2020.12.02.09.45.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2020 09:45:39 -0800 (PST) Date: Wed, 2 Dec 2020 19:45:38 +0200 From: Krzysztof Kozlowski To: Jagan Teki Cc: Rob Herring , Shawn Guo , Li Yang , Fabio Estevam , Matteo Lisi , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, NXP Linux Team , linux-amarula@amarulasolutions.com Subject: Re: [PATCH 08/10] arm64: dts: imx8mm: Add Engicam i.Core MX8M Mini C.TOUCH 2.0 Message-ID: <20201202174538.GH3490@kozik-lap> References: <20201202121241.109952-1-jagan@amarulasolutions.com> <20201202121241.109952-9-jagan@amarulasolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20201202121241.109952-9-jagan@amarulasolutions.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 02, 2020 at 05:42:39PM +0530, Jagan Teki wrote: > i.Core MX8M Mini is an EDIMM SOM based on NXP i.MX8MM from Engicam. > > C.TOUCH 2.0 is a general purpose carrier board with capacitive > touch interface support. > > i.Core MX8M Mini needs to mount on top of this Carrier board for > creating complete i.Core MX8M Mini C.TOUCH 2.0 board. > > Add support for it. > > Signed-off-by: Matteo Lisi > Signed-off-by: Jagan Teki > --- > arch/arm64/boot/dts/freescale/Makefile | 1 + > .../imx8mm-engicam-icore-mx8mm-ctouch2.dts | 21 +++++++++++++++++++ > 2 files changed, 22 insertions(+) > create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-engicam-icore-mx8mm-ctouch2.dts > > diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile > index 4369d783dade..8191db4c64fa 100644 > --- a/arch/arm64/boot/dts/freescale/Makefile > +++ b/arch/arm64/boot/dts/freescale/Makefile > @@ -30,6 +30,7 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-rdb.dtb > dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2162a-qds.dtb > > dtb-$(CONFIG_ARCH_MXC) += imx8mm-beacon-kit.dtb > +dtb-$(CONFIG_ARCH_MXC) += imx8mm-engicam-icore-mx8mm-ctouch2.dtb > dtb-$(CONFIG_ARCH_MXC) += imx8mm-engicam-icore-mx8mm-edimm2.2.dtb > dtb-$(CONFIG_ARCH_MXC) += imx8mm-evk.dtb > dtb-$(CONFIG_ARCH_MXC) += imx8mm-ddr4-evk.dtb > diff --git a/arch/arm64/boot/dts/freescale/imx8mm-engicam-icore-mx8mm-ctouch2.dts b/arch/arm64/boot/dts/freescale/imx8mm-engicam-icore-mx8mm-ctouch2.dts > new file mode 100644 > index 000000000000..aa3c03ad3109 > --- /dev/null > +++ b/arch/arm64/boot/dts/freescale/imx8mm-engicam-icore-mx8mm-ctouch2.dts > @@ -0,0 +1,21 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * Copyright (c) 2019 NXP > + * Copyright (c) 2019 Engicam srl > + * Copyright (c) 2020 Amarula Solutions(India) > + */ > + > +/dts-v1/; > +#include "imx8mm.dtsi" You have multiple DTSI files to only include one DTSI. I was trying to follow the logic here but I failed... This is ctouch, so it should include SoM, which you call icore. But it also includes ctouch2 which *only* includes common DTSI. It's then exactly the same as starter kit which includes edimm (which includes common) and icore. Best regards, Krzysztof > +#include "imx8mm-engicam-ctouch2.dtsi" > +#include "imx8mm-engicam-icore-mx8mm.dtsi" > + > +/ {