Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp288640pxx; Wed, 28 Oct 2020 05:06:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylWYnectbvPDDqPcoK340O+0wk7WkUNg21gw45u5Nees3f6nCGyCjGbt+pTJtlYWymUWGU X-Received: by 2002:a05:6402:1482:: with SMTP id e2mr7594444edv.36.1603886781090; Wed, 28 Oct 2020 05:06:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603886781; cv=none; d=google.com; s=arc-20160816; b=CfyN9IYBz/DZmZZR9hFSYfR1cMaa82/i5z8b39OZ7Yle/H5xjYhBl85aeX5k1bwXEC OiNjiiWYtlhs7zth8s64o1fv93AFDLctNSdijh3wD8Av/eewJUomUpq7d4r7ltpYFcbX TbCVzASelVIACOeJ3abd2orVw1CMgPfX8UG7A6bUXFL188g6MaK2jvuCj+7+vVdVE9DL zs+fI7fa7IIAjNDamaTojp9TBBLtO0KXRp6iE6Y/laR6zezlT7nnyzqrwkyXiu9b76qe e3DiViCaeyOaStSEzcVUt2obtuax/ajeKp5PY9Q+SNZRYGhGduuYQzSWmQOzQFyB1KCk 5Gnw== 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=uCOps9dsEaQIMdoCXK3L4ozxNCxCe9uxkVNnxNjkGjVaYfo4mxVWyQGR131n1xDW+V fzPFjZz/sZPFM27B9+a9srGtsVT9MoY+x36+eGWs+hnO5Ei7Q/SEuNGt4sexTtdzZfhF hsP67280FCX7i+9D5/G7qj+B/9+sWUY4ATu+q9DM7oSV42J8vAZXYnQMtB+LroIxbMML fEEyp7NZ6FmA58BkuGYB8ox1G9xr/7kRufR/KYkJBw9R1PTq/sbwYiHd/F/zFeuK/TsJ 1oemBv4T0OOeR1OJOBrwtaBSChDzFmi9/BcjjMEV4IndnTBj62uobR3WBM8mrjaOPM05 XA/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bWhzecGS; 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 z8si2802677eju.267.2020.10.28.05.05.57; Wed, 28 Oct 2020 05:06:21 -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=bWhzecGS; 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 S1795421AbgJ0PPN (ORCPT + 99 others); Tue, 27 Oct 2020 11:15:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:46906 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1794312AbgJ0PLJ (ORCPT ); Tue, 27 Oct 2020 11:11:09 -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 3DD8C20657; Tue, 27 Oct 2020 15:11:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603811467; bh=Gkf0mJ3r7spa1QV4ABLuN60Go8LUNy1D5m08OzBbltA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bWhzecGScF/tFefn7dgWgcUyVX00Ia390Br2FlKkw7B6LAB3wfZ+3ldaalPRvUPC2 bvEh4XCQpjpghHf+vIEdfxmvnUjdpqS2OmGSao2kFrgtG25IbrK3+jOUJkxtvBPzAD 3oeNULj1SiFsCh1Ev9X2BEfgIRrlmFFVImK0r9qE= 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.8 503/633] arm64: dts: actions: limit address range for pinctrl node Date: Tue, 27 Oct 2020 14:54:06 +0100 Message-Id: <20201027135546.324310991@linuxfoundation.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201027135522.655719020@linuxfoundation.org> References: <20201027135522.655719020@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