Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp947448ybg; Wed, 29 Jul 2020 01:42:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0JhRq2yQ/RZtPsbq2Z6DPzvP68+pIor3PtyQQEmOYRjzX+izUrhRF4vQ3Atk3CPmE4cin X-Received: by 2002:a17:906:1a0a:: with SMTP id i10mr5123654ejf.204.1596012133011; Wed, 29 Jul 2020 01:42:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596012133; cv=none; d=google.com; s=arc-20160816; b=O99FUyLqJ9FgmCsemiJ7hxsG3wIjmdPQ1fkKqrm9dcoW0FCjpQRIOvrnQ8nqahSTVi Ex30po6N8MElBR4uwzHU77l/bmcMnR6lvB+RLsDvuvAAHo+qq/3Mys4ZRgK6r4HgB2PS xQOkeYv8hQ7aZCgPCs2Qv5TpBLLe/0IMNSLiu2JnCKD4oMTpqo/0/8UudDdXKIE0CcyW QprKEpciUAMZIWPeYARXeSVEV86q3PKOyWJLPhzF27WqVppQQPje7e3knjpGwdeH4oS0 jmm4Yp/TdWfFcZXXM7qnR4FM+p45kgoKf8m87hh2ayBBNLuZrecIB6MKXqcjO2MN/9LB 5U8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=zVjXFNaCwXjpzY11TOh0b3hYuLsomm7yAenjpZv8Kxc=; b=qWcgin/pi9cpJ6rR1pPGe/mIKoxU8nT2pDI+RoPL9pkuaG62ywPlfzirVv7/p9betN At1q+fNJuEM2s//+jbZV1/egeGEIky/qmpv+0giMSKgIrjAjchbvQepOQrPpF9xCP9sI RnMLjvQ8OnNmMAGyW3o3EsR21JcgPBMkEZDVJEyy7yUO4AZAMj5zznXqN36MP2dxXXLL ydfQ9ftLFRyQ9Dy9LZJRlxSLLjn3nueCKuQuEwFnwH0sVFPqZswcRbdmoaxALubEBY8/ nzox8pmNkgGrt2e3vbfrpnkGexCxxYA5PvArUGaYdYfq833y6XtpIKBMv1fMobPgyyl2 wHEA== 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 s24si705600ejd.575.2020.07.29.01.41.50; Wed, 29 Jul 2020 01:42:12 -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 S1727923AbgG2Ijl (ORCPT + 99 others); Wed, 29 Jul 2020 04:39:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726710AbgG2Ijk (ORCPT ); Wed, 29 Jul 2020 04:39:40 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 966DCC061794 for ; Wed, 29 Jul 2020 01:39:40 -0700 (PDT) Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k0hcg-0004vI-85; Wed, 29 Jul 2020 10:39:38 +0200 Received: from mfe by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1k0hce-0006kb-TI; Wed, 29 Jul 2020 10:39:36 +0200 Date: Wed, 29 Jul 2020 10:39:36 +0200 From: Marco Felsch To: robh+dt@kernel.org, frowand.list@gmail.com Cc: Matthias Schiffer , Fabio Estevam , Sascha Hauer , linux-kernel@vger.kernel.org, NXP Linux Team , Pengutronix Kernel Team , Shawn Guo , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2] arm: dts: imx7: add QSPI Message-ID: <20200729083936.p5t66bf5envimgur@pengutronix.de> References: <20200729071106.8213-1-matthias.schiffer@ew.tq-group.com> <33fbac338c9d9accda37837eb1338003b28cafee.camel@ew.tq-group.com> <20200729075841.2fiudq2ypcbvlymx@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200729075841.2fiudq2ypcbvlymx@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 10:37:01 up 256 days, 23:55, 239 users, load average: 0.07, 0.09, 0.09 User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Added Rob and Frank. Maybe they can explain us this behaviour. On 20-07-29 09:58, Marco Felsch wrote: > Hi Matthias, > > On 20-07-29 09:14, Matthias Schiffer wrote: > > On Wed, 2020-07-29 at 09:11 +0200, Matthias Schiffer wrote: > > > In preparation for an update of the TQ-Systems TQMa7x/MBa7x DTS, add > > > the > > > QSPI controller to imx7s.dtsi. > > > > > > Based-on-patch-by: Han Xu > > > Signed-off-by: Matthias Schiffer > > > --- > > > > > > v2: > > > - renamed node and label > > > - reordered properties > > > (as suggested by Marco Felsch) > > > > Ugh, I neglected to check for compile warnings after adjusting the node > > name. This now gives the following warning: > > > > arch/arm/boot/dts/imx7s.dtsi:1165.24-1176.6: Warning (spi_bus_bridge): > > /soc/bus@30800000/qspi@30bb0000: node name for SPI buses should be > > 'spi' > > > > So I guess this should be called spi@ after all? > > Unfortunately yes, this would cause a longer discussion but it still > seems wrong to me. > > Regards, > Marco > > > > > > > > > > arch/arm/boot/dts/imx7s.dtsi | 13 +++++++++++++ > > > 1 file changed, 13 insertions(+) > > > > > > diff --git a/arch/arm/boot/dts/imx7s.dtsi > > > b/arch/arm/boot/dts/imx7s.dtsi > > > index 1cfaf410aa43..22e4c38223bd 100644 > > > --- a/arch/arm/boot/dts/imx7s.dtsi > > > +++ b/arch/arm/boot/dts/imx7s.dtsi > > > @@ -1162,6 +1162,19 @@ > > > status = "disabled"; > > > }; > > > > > > + qspi: qspi@30bb0000 { > > > + compatible = "fsl,imx7d-qspi"; > > > + reg = <0x30bb0000 0x10000>, <0x60000000 > > > 0x10000000>; > > > + reg-names = "QuadSPI", "QuadSPI- > > > memory"; > > > + #address-cells = <1>; > > > + #size-cells = <0>; > > > + interrupts = > > IRQ_TYPE_LEVEL_HIGH>; > > > + clocks = <&clks IMX7D_QSPI_ROOT_CLK>, > > > + <&clks IMX7D_QSPI_ROOT_CLK>; > > > + clock-names = "qspi_en", "qspi"; > > > + status = "disabled"; > > > + }; > > > + > > > sdma: sdma@30bd0000 { > > > compatible = "fsl,imx7d-sdma", > > > "fsl,imx35-sdma"; > > > reg = <0x30bd0000 0x10000>; > > > > > > -- > Pengutronix e.K. | | > Steuerwalder Str. 21 | http://www.pengutronix.de/ | > 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |