Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp412967ima; Thu, 31 Jan 2019 19:34:14 -0800 (PST) X-Google-Smtp-Source: ALg8bN6IqMbGN8PR5X85fTZyAvXqdDZ5OMY3YWDireFdcA7Ft/MKIbOMaSDEEWG+lGRneqXIKfx9 X-Received: by 2002:a62:b2c3:: with SMTP id z64mr37134540pfl.120.1548992054745; Thu, 31 Jan 2019 19:34:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548992054; cv=none; d=google.com; s=arc-20160816; b=UwmblupbfuONnPc9JZ5nRu8kNJs2AepgV6RSwY/mlxCUqRaVv8Oik87uy0ZWq+EOyN 7dSqsk0KdBJ2yS+4OMO0mSZfQBSiMN2Qse97UyNbkVCddqEg06W8AimFk7Jwb5IXyIhe 6E0Hw1em8yz8w5H7e+jJTG1bUhzaiyti5u4ROZOIFzGg0rzWVCLTRpeHtWpMp9sQufgx P0SJg3kcIJJcw4/x1Vkg2J0dyZYekJ+jCHtrbKCkb+KYJyNgMBtb5ValV2gZQr0XNfzF DfNbs6sPfgGr6mEqKZ6am42PinuMwW/aRmF+QJ/3voDGVMw9fpK4w9TqdqMCwRrWDl6G Vqvw== 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=UJcJW5XMnyT74E3iSih2/nJZHu5NkhRQtJ6V31oPA6A=; b=m5p/2d2AVIXH8bCYBdWjQXwv4e4Gj99Ch1Li07Sagg1itbeZYZTrb/AACOYAc8OoK2 /55W/sTvLGKvPavncMOKKyOHfc9Zl/oJmY/fTh2+550MPr3SBZreeAwkPabmAxTOBjZj NaIRMPeK4P95qZolsxR63dUjGKnNy9TqC4qOmvjeffDQErUO9rXtHKwFF1QwF8mf9qmN 1FNZ3z3qEBjO9RU3jTESktmFX+RJkkQFBXarQ2A71k2rFQr9nIKqZibfYNRx5mRH9mbr wVKXaCEhIjaecEuqngjULZ03cQ9ZRgTqLvfeGP3nwDVQeuIs1IpTwd8835XjjEKLZXjP octw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=p7BWOEbn; 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 y6si6225424pll.384.2019.01.31.19.33.59; Thu, 31 Jan 2019 19:34:14 -0800 (PST) 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=p7BWOEbn; 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 S1728345AbfBACyV (ORCPT + 99 others); Thu, 31 Jan 2019 21:54:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:34346 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726446AbfBACyV (ORCPT ); Thu, 31 Jan 2019 21:54:21 -0500 Received: from dragon (61-216-91-114.HINET-IP.hinet.net [61.216.91.114]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6EB6720863; Fri, 1 Feb 2019 02:54:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548989659; bh=8RCVc/UR6RQLUvQQQztdVUBfDTbSQz/Ra9DMj49JNqU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=p7BWOEbn/9OIQs+CILDKvZ8zwagUsVRXIQWJ/Q06cwIG+Ggq95/AExJS/4GLxw5Th NEenY/+eKCv73QR11RpDeI3goTknhZo5yphL90+/05TgFjLoFN2tPkKeWfVRdduUaW PpdtofQUD6W53M35qG+VpOcyh3zlRG//VnAPhvac= Date: Fri, 1 Feb 2019 10:54:07 +0800 From: Shawn Guo To: Yogesh Narayan Gaur Cc: "linux-mtd@lists.infradead.org" , "bbrezillon@kernel.org" , "marek.vasut@gmail.com" , "broonie@kernel.org" , "linux-spi@vger.kernel.org" , "devicetree@vger.kernel.org" , "mark.rutland@arm.com" , "robh@kernel.org" , "linux-kernel@vger.kernel.org" , "frieder.schrempf@kontron.de" , "computersforpeace@gmail.com" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH v8 3/5] arm64: dts: lx2160a: add FlexSPI node property Message-ID: <20190201025405.GA19882@dragon> References: <1547553487-9936-1-git-send-email-yogeshnarayan.gaur@nxp.com> <1547553487-9936-4-git-send-email-yogeshnarayan.gaur@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1547553487-9936-4-git-send-email-yogeshnarayan.gaur@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, Jan 15, 2019 at 12:00:26PM +0000, Yogesh Narayan Gaur wrote: > Add fspi node property for LX2160A SoC for FlexSPI driver. > Property added for the FlexSPI controller and for the connected > slave device for the LX2160ARDB target. > This is having two SPI-NOR flash device, mt35xu512aba, connected > at CS0 and CS1. > > Signed-off-by: Yogesh Narayan Gaur > --- > Changes for v8: > - None > Changes for v7: > - None > Changes for v6: > - None > Changes for v5: > - None > Changes for v4: > - Incorporated Rob review comments. > Changes for v3: > - None. > Changes for v2: > - Incorporated Shawn review comments. > > .../boot/dts/freescale/fsl-lx2160a-rdb.dts | 22 +++++++++++++++++++ > .../arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 13 +++++++++++ > 2 files changed, 35 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts > index 6481e5f20e69..70658946fbbe 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts > @@ -50,6 +50,28 @@ > status = "okay"; > }; > > +&fspi { > + status = "okay"; > + > + mt35xu512aba0: flash@0 { > + #address-cells = <1>; > + #size-cells = <1>; > + compatible = "spansion,m25p80"; > + m25p,fast-read; > + spi-max-frequency = <50000000>; > + reg = <0>; > + }; > + > + mt35xu512aba1: flash@1 { > + #address-cells = <1>; > + #size-cells = <1>; > + compatible = "spansion,m25p80"; > + m25p,fast-read; > + spi-max-frequency = <50000000>; > + reg = <1>; > + }; > +}; > + > &i2c0 { > status = "okay"; > > diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi > index a79f5c1ea56d..e3ff86201f73 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi > @@ -762,5 +762,18 @@ > ; > dma-coherent; > }; > + > + fspi: spi@20c0000 { To keep the nodes sorted in unit-address, it should go after i2c@2070000. > + compatible = "nxp,lx2160a-fspi"; > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x0 0x20c0000 0x0 0x10000>, > + <0x0 0x20000000 0x0 0x10000000>; I would align the indentation with the above. > + reg-names = "fspi_base", "fspi_mmap"; > + interrupts = <0 25 0x4>; /* Level high type */ interrupts = ; so that we can save the comment there. I fixed up all these small things and applied the patch. Shawn > + clocks = <&clockgen 4 3>, <&clockgen 4 3>; > + clock-names = "fspi_en", "fspi"; > + status = "disabled"; > + }; > }; > }; > -- > 2.17.1 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel