Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2767701ybp; Sat, 5 Oct 2019 20:21:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqxPTKzn3e25oKMxLkTyc1AjlzvpLOaru/7uZL1qLYJZnfXkNbRUuMBPpclHdmOtkiBgFgh7 X-Received: by 2002:a50:be87:: with SMTP id b7mr23207982edk.37.1570332083703; Sat, 05 Oct 2019 20:21:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570332083; cv=none; d=google.com; s=arc-20160816; b=wNxUmvDspPfZ6roGGix6G5mqmzzCF24LM7eXOtWH3mBKu0gVBgvoZ6j2Ay738pXiz1 o8bGhMuAe8uh/jmGW1ZVN5RXVVWkhVnAjp9rXuYU60K8m1KrUGhZQ/88T1+2QKU5oIhT lCll040uB19UpCubL5mKv+wOl1Kx8O0TAjTbQtZQM65KVVEguomsvR15ZmNoX1SUAkph NsUU5Qj9mvmLVY8xCXIRiXyMYdVZ3mJr1H1liiM17O6IsLfu2KH6JDAGILuzIdKlfp29 Y9q9TSvyECrGN3t/gDdG+JwPqCPW1oQfHeJxRS5V6VvZL4bf1wW9FnMiU164bo2UsV5x CokA== 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:dkim-signature; bh=IVPgOmVkL6VdFBWQoMFK2ehqM4DADcVBa+5durBjRIA=; b=jeEuDB3dG0zttL0fqYhbtqAfqLZsP087uh4rC4dHjTCotLgRku89lkXjaUqlsyKMQL a2fW6CLfc4uzAFxFrwVaMUB9j11CHRChWf7+VQpcZnEtRLZxxSb7O30cK1rmQwl09VO2 zxGrEzWBhVtPk5VtC/Efl6aeYui47TtefK1WaBnKX7Hkq30R4oNoaVGS4K970bLEe/pJ PMnfVf/MP09GVDomophdtli4bymK49IKnVLEo9EaK9IZt4sOtGjizrySjvb3V6C0gUnk MkF4nW5ToU03E/9+khyRO0fZKDrPbkUGsxQv7opJgwoaN+AlZ/36Ui2MXLamPTG9h34t 4Reg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vkYxZqhw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id s6si6535830edi.154.2019.10.05.20.20.46; Sat, 05 Oct 2019 20:21:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vkYxZqhw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726096AbfJFDUj (ORCPT + 99 others); Sat, 5 Oct 2019 23:20:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:53102 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725958AbfJFDUj (ORCPT ); Sat, 5 Oct 2019 23:20:39 -0400 Received: from dragon (li937-157.members.linode.com [45.56.119.157]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 48DE6222C0; Sun, 6 Oct 2019 03:20:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570332038; bh=dzBdTkEiVVG6N8ABBCkJr3jDV3ZGX6Z7RHeYhfxkK2I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vkYxZqhwCqTCMuy2dDzBQ8HTOiYLjcaQfEfB7SalRfLDFNVFVUjTsGhYnT1ZDx1Z0 uVstFhOZmUPpYBwCa8XqVUPdtonvkQoOUIKAN73TSe8ptn6stNY4OBYgI3tG/NcCQB gKyDtyvkZgAxz3XEFTwqyg1bZ9/VhErEven15gN4= Date: Sun, 6 Oct 2019 11:20:21 +0800 From: Shawn Guo To: Ashish Kumar Cc: devicetree@vger.kernel.org, robh@kernel.org, mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Xiaowei Bao Subject: Re: [PATCH] arm64: dts: ls1028a: Add FlexSPI support for NXP LS1028 Message-ID: <20191006032019.GP7150@dragon> References: <1568118055-9740-1-git-send-email-Ashish.Kumar@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1568118055-9740-1-git-send-email-Ashish.Kumar@nxp.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 10, 2019 at 05:50:51PM +0530, Ashish Kumar wrote: > Add fspi node property for LS1028A SoC for FlexSPI driver. > Property added for FlexSPI controller and for the connected > slave device for the LS1028ARDB and LS1028AQDS target. > RDB and QDS is having one SPI-NOR flash device, mt35xu02g > connected at CS0. > This flash device "mt35xu02g" is tested for octal read > > Signed-off-by: Xiaowei Bao > Signed-off-by: Ashish Kumar When you send a patch series, the patches should be numbered properly and preferably with a cover-letter. > --- > 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 | 13 +++++++++++++ > 3 files changed, 43 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts > index 5e14e5a..5d46993 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts > @@ -103,6 +103,21 @@ > status = "okay"; > }; > > +&fspi { > + status = "okay"; Have a newline between properties and child node.. > + flash0: mt35xu02g@0 { Use a generic node name and specific label name. > + compatible = "micron,mt35xu02g", "jedec,spi-nor"; "micron,mt35xu02g" is undocumented. Shawn > + #address-cells = <1>; > + #size-cells = <1>; > + m25p,fast-read; > + spi-max-frequency = <50000000>; > + 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 */ > + }; > +}; > + > &i2c0 { > 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 1a69221..f33cb2e 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts > @@ -96,6 +96,21 @@ > status = "okay"; > }; > > +&fspi { > + status = "okay"; > + flash0: mt35xu02g@0 { > + compatible = "micron,mt35xu02g", "jedec,spi-nor"; > + #address-cells = <1>; > + #size-cells = <1>; > + m25p,fast-read; > + spi-max-frequency = <50000000>; > + 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 */ > + }; > +}; > + > &i2c0 { > status = "okay"; > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > index b139b29..4aa1825 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > @@ -174,6 +174,19 @@ > clocks = <&sysclk>; > }; > > + fspi: spi@20c0000 { > + compatible = "nxp,lx2160a-fspi"; > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x0 0x20c0000 0x0 0x10000>, > + <0x0 0x20000000 0x0 0x10000000>; > + reg-names = "fspi_base", "fspi_mmap"; > + interrupts = ; > + clocks = <&clockgen 4 3>, <&clockgen 4 3>; > + clock-names = "fspi_en", "fspi"; > + status = "disabled"; > + }; > + > i2c0: i2c@2000000 { > compatible = "fsl,vf610-i2c"; > #address-cells = <1>; > -- > 2.7.4 >