Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp735535pxa; Fri, 21 Aug 2020 21:04:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwybRWP11N4V2ijL4/oEl6wP0C9Ne1P5ibD/DcPCy5F5oUsCPdpGKLxcppoXypWh7RxMXf X-Received: by 2002:a17:906:8614:: with SMTP id o20mr5760086ejx.308.1598069064366; Fri, 21 Aug 2020 21:04:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598069064; cv=none; d=google.com; s=arc-20160816; b=m95w6S0A4mFppKIgcs8ecqbzI+Ou0iGOrUCn06MchFVjhx54F/NoLilUN1VeGEP9iY dd8YbWa9K/INKDDwEbh5Kz0+aOcwAPkw+Ova282KTlCZU9Bb/0KOENCwV+GI7mXbN8ez 5YfpDl+rfm0BCH8VbmPTtVYFcmFVU6OZ8S3V8kUeLQQqJzeL5VIa3sUnC6JcQuGK1PLa VPaPn3lI3aiz3ivLo2AD68Sryjomwqkn7XXscIndI9xmWTzuPnibM7ZxU8V1QYyl558L mNVc6pWWQhsHtRZZjkcIq28HWnK+ognKWd9HBMxhEBtcfAtMS9f/6/JheUOLwP+SU9x4 LbPQ== 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=fBSdN8qmHFCcDsZuyxRhS76aWurpJbmW21Vg2xlYVY8=; b=FRzuJIWtpQ4mVE582h2NJapsEJt1fOmi/qU/iVp0esJlcXVBkhwSk4zGW7BZzAZxnm OeXElQwrUKEUb4HIp2LhBips/VF5quAyKdnyNiGqpT4MP5+1HtolaFyykMZESIKl5Vcb n9JyB6oI0LGJ+qBZpvT+xXA0Epds1adF3R8Sou/kT/HXW/ODNhmx3/9O26/mDd1h5QDa qJHcVhLFB81zIsWCpE9c8AgyAOWXa5FDi75KMTwevBcy8DZgN0bG7CYdZ2AbyRZqNxvG 034Rtc1Bhik6BmgsmL/m9mgybZV1LKtbkSAD2hO+jetX1TjE3bEwzQpiXOaTwiVNfMB0 /+Rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HDVDl75f; 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 v6si2424532ejg.516.2020.08.21.21.03.59; Fri, 21 Aug 2020 21:04:24 -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; dkim=pass header.i=@kernel.org header.s=default header.b=HDVDl75f; 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 S1725924AbgHVECm (ORCPT + 99 others); Sat, 22 Aug 2020 00:02:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:34790 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725300AbgHVECl (ORCPT ); Sat, 22 Aug 2020 00:02:41 -0400 Received: from dragon (unknown [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9777A20732; Sat, 22 Aug 2020 04:02:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598068961; bh=YGZkhca07krEP+4IV4VOl3lqC5GOkhsPpelNi0so0aM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HDVDl75fUUNARBhzkj+IADwTQZ+5asmINBBM78lB1darERLgqTMT5vFkkp4H4QZU+ yMlY/CC8GVLuM4rRBiKQ+05U3ce7U3LWsElHlhutiCATbl3Z/ZBAAaOwr+VUFEKOuM r5c+gmBCoKHBo75uCJsGkDl8vvDS3KaBHvCWFKic= Date: Sat, 22 Aug 2020 12:02:24 +0800 From: Shawn Guo To: Matthias Schiffer Cc: Li Yang , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm: dts: ls1021a: fix QuadSPI-memory reg range Message-ID: <20200822040224.GC27575@dragon> References: <20200728105006.7952-1-matthias.schiffer@ew.tq-group.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200728105006.7952-1-matthias.schiffer@ew.tq-group.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 28, 2020 at 12:50:06PM +0200, Matthias Schiffer wrote: > According to the Reference Manual, the correct size is 512 MiB. > > Without this fix, probing the QSPI fails: > > fsl-quadspi 1550000.spi: ioremap failed for resource > [mem 0x40000000-0x7fffffff] > fsl-quadspi 1550000.spi: Freescale QuadSPI probe failed > fsl-quadspi: probe of 1550000.spi failed with error -12 > > Fixes: 85f8ee78ab72 ("ARM: dts: ls1021a: Add support for QSPI with ls1021a SoC") > Signed-off-by: Matthias Schiffer Idiomatically we use 'ARM: ...' for arm32 DTS patch prefix. I fixed it up and applied the patch. Shawn > --- > arch/arm/boot/dts/ls1021a.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi > index b2ff27af090e..9435ce527e85 100644 > --- a/arch/arm/boot/dts/ls1021a.dtsi > +++ b/arch/arm/boot/dts/ls1021a.dtsi > @@ -181,7 +181,7 @@ > #address-cells = <1>; > #size-cells = <0>; > reg = <0x0 0x1550000 0x0 0x10000>, > - <0x0 0x40000000 0x0 0x40000000>; > + <0x0 0x40000000 0x0 0x20000000>; > reg-names = "QuadSPI", "QuadSPI-memory"; > interrupts = ; > clock-names = "qspi_en", "qspi"; > -- > 2.17.1 >