Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp513744pxx; Wed, 28 Oct 2020 10:02:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzIu0MktnmtT4zt3TOuVo4Tlkv6bQqfVu1ik9ku08tykEdS2mhZ3Vpw3o4orWdOJMCNw/xl X-Received: by 2002:aa7:dcc7:: with SMTP id w7mr9023537edu.54.1603904574346; Wed, 28 Oct 2020 10:02:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603904574; cv=none; d=google.com; s=arc-20160816; b=sVxBvlAedooyJKRRTXeLzc8Gf0I9t+RcPDEzN4GmcPikyzwisAI96+VAWQRQ5NDn4Z zxTZORt4HCZqc3VRmNCAn1Uew8HxhMTYI0Un9oDCuMhPaVEY8HXeupzv5FTe0K7/8Bbl dV2/T+sRwxGa3pERXqR2O0FXr8UuKkLlgDxn7kbTe1XDf6VsSGGuJ0edHy1/3hTalY8V Kq+lklZPtBn/dHHm+9stiBkH7UAT35tvvyCD6h5N2PzigIAUqiJxJN3e3TjoffbThu62 EabwfAEAHuBKrjpyuKgn6pahYxu2Gus8Wgj98IxR2zQIlXfyOPKHn0PoyLje4P+V90sC esFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=rKlriUUhj+GGHp1hXQ6l9htnRhKCKcF3Y2Myf2TMXj0=; b=C78vgjhFrDOjveMEaZSQ4ahyA5Hg0IB+HUFoZsVrk2l5UaFDxnItYzGq6f8dg3U72B glZpCPDWz1ZRYWoAa8dj4t0ay7zV3kV8J/50F5bl2yCYm4NX4T6PMY1XAAH2iBO7MFwP kl66KxmF/me/9UvA9qshoZjgjb+n+CCF30e5YByT726kwVuYZMlGL+pAA1T9VgA4XIME YBUvxtQQ7ElqPYo3Oy5lja0NygnurXQTdiwYgS9yhp46yvnjQssAryXyCTGMD6VWIDOb VNqfnOc4Gr2Ha7fHsOO19dT5RrWUDeOsk6nBxXB70MKC/9sVfEtX+JtHzHqPBehw/a1h Pw1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=u04c7TA0; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d23si10484edy.397.2020.10.28.10.02.29; Wed, 28 Oct 2020 10:02:54 -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=u04c7TA0; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1819258AbgJ0R27 (ORCPT + 99 others); Tue, 27 Oct 2020 13:28:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:42446 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762427AbgJ0Omr (ORCPT ); Tue, 27 Oct 2020 10:42:47 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (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 6E305206B2; Tue, 27 Oct 2020 14:42:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603809765; bh=Gkf0mJ3r7spa1QV4ABLuN60Go8LUNy1D5m08OzBbltA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=u04c7TA0tfURsOVdIqxeFPi5IhNN1nzz2zSbregcN76z7O/Iokf4LeXbZf8L2PJ/W T/PNJxaf/ZQtpcunuajBNtWNrryA+uDefmt3AwjDLl53DNuG/DzqFZB9WLjDVzrEBj vmnPPXLx3zYqI6JktAYG9g5uTVrFDaahYa2a1/ys= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Manivannan Sadhasivam , Andre Przywara , Amit Singh Tomar , Sasha Levin Subject: [PATCH 5.4 310/408] arm64: dts: actions: limit address range for pinctrl node Date: Tue, 27 Oct 2020 14:54:08 +0100 Message-Id: <20201027135509.411828320@linuxfoundation.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201027135455.027547757@linuxfoundation.org> References: <20201027135455.027547757@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Amit Singh Tomar [ Upstream commit 4bb1eb3cd4bd6241d5e5f99bbfd801ea5a007b6c ] 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") Reviewed-by: Manivannan Sadhasivam Suggested-by: Andre Przywara Signed-off-by: Amit Singh Tomar Signed-off-by: Manivannan Sadhasivam Signed-off-by: Sasha Levin --- 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 2006ad5424fa6..f8eb72bb41254 100644 --- a/arch/arm64/boot/dts/actions/s700.dtsi +++ b/arch/arm64/boot/dts/actions/s700.dtsi @@ -231,7 +231,7 @@ timer: timer@e024c000 { 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.25.1