From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, T_DKIMWL_WL_HIGH,USER_AGENT_MUTT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 98B2FC04AAC for ; Thu, 23 May 2019 08:01:58 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6A11420863 for ; Thu, 23 May 2019 08:01:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="t7HIFXiw"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="lTaV/UQz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6A11420863 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=HTYxuzIwVU1AIv/yg7aZ7rtZNbCn8eSkOtbnlxHhvf8=; b=t7HIFXiwXCIGk0 rR8rkkzOPWlp9I+gyttRxR+qlPl/HyQGLaTUxmd4DGLUqvc4eNeIGHGxxTd5Gyv0jPF4sc1M0H5o7 Sw/gUR1WIC5bRARxsbq4G2PuFOIIc0g/tVnnY3TZh9Oz/U0Ncs9of9I4dF4XOnDhisZpnSrEai+iw pkps7CZper0TB+DwqOIgSCMnbcKfYpW/1BBmxS9VhsVCPvNyOylOfe/f5kNgtU5fLZZmC1oW4r0GE GUTCkKTEsSCA5UCR2c0ArbIGBzX+FJp1Pc9Vyy1l6TAMn14q+omhvJx3T/F1qOfMgYX4GqmLUHM/2 FV+zPw6qrkwTltBz1ToA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hTifj-0001oa-0X; Thu, 23 May 2019 08:01:55 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hTiff-0001oF-Kb for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2019 08:01:53 +0000 Received: from dragon (98.142.130.235.16clouds.com [98.142.130.235]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E46FD20862; Thu, 23 May 2019 08:01:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558598511; bh=iGHQJBYwVcFjE73/eLXU8i02Shdf1r/OQvonS87T6bI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lTaV/UQzvpTJ37ykpnlv2M57xZAIk4HIfVuw5Oh0W9cJK5eLkjrfRjjjLLaBWYkPj tP/A1I5UZte6ioC9PcP0TsabyKeOpt7PeABtvwHQahS62rNv73Ln9OP2R/spIOSkyF OlIUOqPpW/HgVyGawc5xkZ7k34yEDpugSW6hQ/AI= Date: Thu, 23 May 2019 16:00:51 +0800 From: Shawn Guo To: Xiaowei Bao Subject: Re: [PATCHv2] arm64: dts: ls1028a: add flexspi nodes Message-ID: <20190523080049.GI9261@dragon> References: <20190515110924.13726-1-xiaowei.bao@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190515110924.13726-1-xiaowei.bao@nxp.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190523_010151_705094_05CDF90A X-CRM114-Status: GOOD ( 16.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "mark.rutland@arm.com" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Leo Li , "robh+dt@kernel.org" , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, May 15, 2019 at 11:09:25AM +0000, Xiaowei Bao wrote: > From: Xiaowei Bao > > Add fspi node property for LS1028A SoC for FlexSPI driver. > Property added for the FlexSPI controller and for the connected > slave device for the LS1028ARDB and LS1028AQDS target. > This is having one SPI-NOR flash device, mt35xu02g connected at > CS0. > > Signed-off-by: Xiaowei Bao > --- > v2: > - modify the commit message and the dts format. > > arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts | 15 +++++++++++++++ > arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | 15 +++++++++++++++ > arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 12 ++++++++++++ > 3 files changed, 42 insertions(+), 0 deletions(-) > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts > index 5bcd491..6e12806 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts > @@ -158,6 +158,21 @@ > }; > }; > > +&fspi { Keep the labeling node sort alphabetically. That said, &fspi should be added before &i2c0. > + status = "okay"; Please have newline between property and child node. > + mt35xu02g: flash@0 { > + #address-cells = <1>; > + #size-cells = <1>; > + compatible = "spansion,m25p80"; Please start properties with compatible. > + m25p,fast-read; > + spi-max-frequency = <20000000>; > + reg = <0>; > + /* The following setting enables 1-1-8 (CMD-ADDR-DATA) mode */ > + spi-rx-bus-width = <8>; /* 8 SPI Rx lines */ > + spi-tx-bus-width = <1>; /* 1 SPI Tx line */ > + }; > +}; > + > &sai1 { > status = "okay"; > }; > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts > index 25d2370..5d39616 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts > @@ -136,6 +136,21 @@ > }; > }; > > +&fspi { > + status = "okay"; > + mt35xu02g: flash@0 { > + #address-cells = <1>; > + #size-cells = <1>; > + compatible = "spansion,m25p80"; > + m25p,fast-read; > + spi-max-frequency = <20000000>; > + reg = <0>; > + /* The following setting enables 1-1-8 (CMD-ADDR-DATA) mode */ > + spi-rx-bus-width = <8>; /* 8 SPI Rx lines */ > + spi-tx-bus-width = <1>; /* 1 SPI Tx line */ > + }; > +}; > + > &duart0 { > status = "okay"; > }; > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > index ba71a33..a27cd60 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > @@ -109,6 +109,18 @@ > }; > }; > > + fspi: spi@20c0000 { Are you sure you want to add this device node outside of 'soc' node? > + compatible = "nxp,lx2160a-fspi", "simple-bus"; > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x0 0x20c0000 0x0 0x10000>, > + <0x0 0x20000000 0x0 0x10000000>; Fix the indentation to git it aligned with above '<'. > + reg-names = "FSPI", "FSPI-memory"; > + interrupts = <0 25 0x4>; /* Level high type */ interrupts = ; Shawn > + clocks = <&clockgen 4 3>, <&clockgen 4 3>; > + clock-names = "fspi_en", "fspi"; > + }; > + > soc: soc { > compatible = "simple-bus"; > #address-cells = <2>; > -- > 1.7.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel