Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp416787ybh; Sun, 12 Jul 2020 10:25:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwaI1KKKtWZKY7Gz4/GsdVSw/JCyyE2YLwc4eRu0uM4sJbfDkLrR1ChmpTZqkyUSC56lNGz X-Received: by 2002:a17:906:7f90:: with SMTP id f16mr69369091ejr.507.1594574706061; Sun, 12 Jul 2020 10:25:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594574706; cv=none; d=google.com; s=arc-20160816; b=s6aiEHOCzuxzWtwDiWab+PQd2SKU00J5p9OaE2UbN3z93JjnFZuhZltAGvgZJ8hc81 0usuXeC/Rm4ozabf8qExp823sguajyi9uQYIGDMLPQhRZFHi4ozQPWzoAOYxr6HhQcLA UMf0paTg8A+2ujKJ5CY71UFCRHMKXSChxcSF3oOxznOjOcMTyRgn/rGgncrFXqhM1vXj EfKGAAf3kQaEPU0sVP232mEwfMJstSbqX0VVmjCGiYyaWd0gn8JK+WDF06EQKcLacCR7 D0+4V4+fkkW3tcVS4dUvJDhyY4C4/oL7wzlbyMKy8c8AphvPwx+wVqVWu1ti0FUPY2h6 sRSw== 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=GeTQs3D/cNDA8Tjxq+vMi2V5s57uFOOQMK3sBvWwCGo=; b=o0KA0AY9L6rif/FogXSTy3uQGL+gruDlzI8UwWZsKFtVEZDnumHMMy3lkdRi39pXgm ok24TA/eMoroIH48TySs9vCsdxCW136j/8uaLs0cToOGU4J1qC+dNmGgY1akZGP/3Dv/ ucyfujDi7lW+hKdttcNPHj4NYb58jIXVMEKmKN8nwSCkVggfJovz5eF4Vf5tdlrdTSy0 Uotk+Dg1yLZw5EcIuEjRsGpvtrXuOsKlBlQuer/oTyhOSb8A3PAdlrzjxSKsuSf2Nw48 ZhQWpklexfKT69gq9B0h79euYZk1tQjGGE6OT8q6QOnsi7yrvCl/eWxY879rLO9fuKHh 4ESQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HcFvntn9; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h5si7934724ejy.226.2020.07.12.10.24.43; Sun, 12 Jul 2020 10:25:06 -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=@linaro.org header.s=google header.b=HcFvntn9; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729104AbgGLRXx (ORCPT + 99 others); Sun, 12 Jul 2020 13:23:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728844AbgGLRXw (ORCPT ); Sun, 12 Jul 2020 13:23:52 -0400 Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78F03C061794 for ; Sun, 12 Jul 2020 10:23:52 -0700 (PDT) Received: by mail-pf1-x442.google.com with SMTP id a14so4945715pfi.2 for ; Sun, 12 Jul 2020 10:23:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=GeTQs3D/cNDA8Tjxq+vMi2V5s57uFOOQMK3sBvWwCGo=; b=HcFvntn9K8RL/4KQJnsNN0lUyOiIxmOGZ3+b6yblZ0WAzTC4kXwSTreT6G/ov52i+t cJQQjGyMX2By4td5snDYhmXclRR0UkC/v3q5y4udnzSs8fTiCJ2QFmHmJiRUy1A6ZYMe +ifiA5NNhUD1qMv9pwDYq7n3Wqkr8qXgMkhBLfaG/FAKwk1e14qcpOpYgkY4jhhzG71F +FGgPf07nGy8E/oVrTl3NGsfi+5jFVcJ2BkIBKEipIhckqmlUJVeQ/iKv5m9wgI2wmWD QJ5DZx5Qf7IW59TU3z3w8sj3korbYLQ5vUvzdx4hTVvcI6oPbxKTdTv6AHfhAg5a8pCN GOeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=GeTQs3D/cNDA8Tjxq+vMi2V5s57uFOOQMK3sBvWwCGo=; b=Iyy35f3HqJBzT75lWoBWmiGKiq1HVGhUahH8yC8ycPuTFSK816kxmSD5E34ZpZMv/w 6Z5QWi6UTClu9Phlepe3hgpkExkwmMYQjI8iehcRwXd0DOEyOtfzml150wuqA91Wtr/Y LDuoLHptCia0so5Zr6UhtzTfB6uoS4wrJbV2/O3/47gsWdyMOGxtFx/BsTtZXu0aKCVA sa78nCBp1JlFmsEtlZrHdC8yutBHdI1eEnuIW95DhTrAPXuDkinNTVX4ysrZ+elmod0H +8trCLRg3QPv2m9TwhusPI2zOC5EE0/BAqpClAlrrjcvjg9hjHIXSNBvINch7k9n9krd 8GMw== X-Gm-Message-State: AOAM533Bb2F39hqk6VQ/rD8fR2lwxesVxfiZqImgy+EJMHQJEmbVWNPP +SSmtjMofHX5bpmON5yK8Z3G X-Received: by 2002:a63:3151:: with SMTP id x78mr67693505pgx.210.1594574631814; Sun, 12 Jul 2020 10:23:51 -0700 (PDT) Received: from Mani-XPS-13-9360 ([2409:4072:6c81:c187:70f5:3123:b5de:e77f]) by smtp.gmail.com with ESMTPSA id nl5sm12783337pjb.36.2020.07.12.10.23.47 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 12 Jul 2020 10:23:51 -0700 (PDT) Date: Sun, 12 Jul 2020 22:53:45 +0530 From: Manivannan Sadhasivam To: Amit Singh Tomar Cc: andre.przywara@arm.com, afaerber@suse.de, robh+dt@kernel.org, cristian.ciocaltea@gmail.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-actions@lists.infradead.org, devicetree@vger.kernel.org Subject: Re: [PATCH v5 05/10] arm64: dts: actions: limit address range for pinctrl node Message-ID: <20200712172345.GG6110@Mani-XPS-13-9360> References: <1593701576-28580-1-git-send-email-amittomer25@gmail.com> <1593701576-28580-6-git-send-email-amittomer25@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1593701576-28580-6-git-send-email-amittomer25@gmail.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 Thu, Jul 02, 2020 at 08:22:51PM +0530, Amit Singh Tomar wrote: > After commit 7cdf8446ed1d ("arm64: dts: actions: Add pinctrl node for > Actions Semi S700") following error has been observed while booting > Linux on Cubieboard7-lite(based on S700 SoC). > > [ 0.257415] pinctrl-s700 e01b0000.pinctrl: can't request region for > resource [mem 0xe01b0000-0xe01b0fff] > [ 0.266902] pinctrl-s700: probe of e01b0000.pinctrl failed with error -16 > > This is due to the fact that memory range for "sps" power domain controller > clashes with pinctrl. > > One way to fix it, is to limit pinctrl address range which is safe > to do as current pinctrl driver uses address range only up to 0x100. > > This commit limits the pinctrl address range to 0x100 so that it doesn't > conflict with sps range. > > Fixes: 7cdf8446ed1d ("arm64: dts: actions: Add pinctrl node for Actions > Semi S700") > > Suggested-by: Andre Przywara > Signed-off-by: Amit Singh Tomar Reviewed-by: Manivannan Sadhasivam Thanks, Mani > --- > Changes since v4: > * Reordered it from 04/10 to 05/10. > Changes since v3: > * No change. > Changes since v2: > * this is no more don't merge and fixed > the broken S700 boot by limiting pinctrl > address range. > * Modified the subject to reflect the changes. > Changes since v1: > * No change. > Changes since RFC: > * kept as do not merge. > --- > arch/arm64/boot/dts/actions/s700.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/actions/s700.dtsi b/arch/arm64/boot/dts/actions/s700.dtsi > index 2006ad5424fa..f8eb72bb4125 100644 > --- a/arch/arm64/boot/dts/actions/s700.dtsi > +++ b/arch/arm64/boot/dts/actions/s700.dtsi > @@ -231,7 +231,7 @@ > > pinctrl: pinctrl@e01b0000 { > compatible = "actions,s700-pinctrl"; > - reg = <0x0 0xe01b0000 0x0 0x1000>; > + reg = <0x0 0xe01b0000 0x0 0x100>; > clocks = <&cmu CLK_GPIO>; > gpio-controller; > gpio-ranges = <&pinctrl 0 0 136>; > -- > 2.7.4 >