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=-11.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 D223CC433E1 for ; Sun, 12 Jul 2020 17:25:13 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 A517520702 for ; Sun, 12 Jul 2020 17:25:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="JpDgxDUv"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="HcFvntn9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A517520702 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+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=merlin.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=qxtgGCHbX6zcAGdNOqeV4lX/gvFKCG4QdTXqix40n1A=; b=JpDgxDUv1USn7lI1ZSKj4s0Kt ErI/uApqIqIqn4nRbjSN0suTm+Mo7in3jAjYyLblXcHTTN4oTxEwQEiR8GJOCBL03ZcQlYvYQhwWj rIpCJuxRlDVQ3ee+R6kehOQaYBFyp4gu/sPP9/CHAsg/H/k8WN2BOVrTOvflTIR6l9wlKZtKwgtR5 lgAsHjusm9zMR5wT7AuqA+DTIejD5Wm265sKvBWOleBkhwZpMfMtTUqQ//ikI1Nh2HZeHxovW2HtA GhixIqAJ1MvX668/kCEerk42BGOivBc073RN4wmIrfCTDgDhuDCol6Ny1Noc5fVnTvWV42UYa2aWW LqrzTLrwQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jufhl-0007Bq-1n; Sun, 12 Jul 2020 17:23:57 +0000 Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jufhh-0007AG-Ra for linux-arm-kernel@lists.infradead.org; Sun, 12 Jul 2020 17:23:54 +0000 Received: by mail-pf1-x443.google.com with SMTP id s26so4938760pfm.4 for ; Sun, 12 Jul 2020 10:23:53 -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=UWIRxjR+AVs8fzONZlNdP9JzXiP577B12w0/4g9WTpKJC2kYih/IEU337o4iolsvkF T6SZfg41dKg2qP1AceE0LDdt/AhuplUHTsTMs2j2/odSYXfkBgkER9iRkSyBcDMB8Y5G AmbCMKn/K5T2tq/HEBYb/LZkIrhyQPfcZWZK80Eh+7DOWcXJflxMpgr0TXJYdVYssVI1 xWaZbaGZKr1ohA+fAm3UAjxahHn2MQLU4cL+ocxDGfXqDUVDxIr6HcAkbHeigNUM11/s aVlgbAXB52gwjeFGR3/E4CF206xAzjJUGmVm1Ei/TOlZZt0+35n+CEDEZMSWtKj42Sln SR+w== X-Gm-Message-State: AOAM532kyYUeaaBmr44hMjRh28QTvoUYxkj4zzBQTFFLJJLWPnZGvS0d TQ+tP/uJiAitLgfRtmsllV9u X-Google-Smtp-Source: ABdhPJxBQq7Z3Qlu5syHfuA7EwuKPGBT75/5pfn81Icpk5sqlbaVJtGGFEZOnhbdOGJRNL3AKlFiWA== 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 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-Disposition: inline In-Reply-To: <1593701576-28580-6-git-send-email-amittomer25@gmail.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200712_132353_961014_6D3BADA7 X-CRM114-Status: GOOD ( 23.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, andre.przywara@arm.com, linux-actions@lists.infradead.org, linux-kernel@vger.kernel.org, cristian.ciocaltea@gmail.com, robh+dt@kernel.org, afaerber@suse.de, 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+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel