From patchwork Thu Jul 2 14:52:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Tomer X-Patchwork-Id: 11639245 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 71B6F6C1 for ; Thu, 2 Jul 2020 15:04:40 +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 4827F20737 for ; Thu, 2 Jul 2020 15:04:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="20iwUMsS"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fp72dDXS" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4827F20737 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.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:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=96HStqlJ5BR84gXGWEMKpDv9DCJtnDIAyBEyzOGMdZA=; b=20iwUMsSddaNpE8RpAON7QdUds KvT2EWFt6Yj7frNFPcc4Z8Ef2vqqUnSPPaYf4vL0f64otOyUtgTsx6PIi81u6bPYRdC0jW+Y7jkbu I/+7d6FEe+ZlLxH5Eb4unWTiasgwEcN7cq2J9Wx5AIy27hO9dSVRHHch6f62zNXjcwYZO8+33DkMW jFSX+9WPk/UlPXvirBw3vI2gR2dDuWFTdw0X+Cl9swGtKIGLKodLQkD9mYgr5tsziozP4p/dPHCtk CP2Ny6bYjsmhr96/OPvIusFtC0Oc7EINKUcqyRA+q+WLBXO7dazxKwut4WoZTPHB2hd6YGDT2CjjR FsZQgcSg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jr0jA-0005ah-0g; Thu, 02 Jul 2020 15:02:16 +0000 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jr0at-00016V-Vf; Thu, 02 Jul 2020 14:53:58 +0000 Received: by mail-pl1-x644.google.com with SMTP id f2so11404450plr.8; Thu, 02 Jul 2020 07:53:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3Ynzzwh0ep2RlxJN0DnaTzqUk//cwR0h7tefX5O2u2o=; b=fp72dDXSfvCEMxTpNw3En2AC02y0KK5weQjL4qAM6d27+hJjzH/NK8z1m9L9zgdjNA 7NCL1iwPKNaHrSaypZ5n71IdtCeIOC09VcTcn6FzDXVHb+MZkv1ozL8hE/S5TtKAV5sL 6quNwUoanoDHwTgRa2PdzkUFaGXMZ2FMGxme80H4dBRQQNGQxRYs95MuTSU/scGmMv7S 32IoZvHJJdkLoJIENvw5pt8XKfxDOGh+RlAeJJjuCOZOSHKoCBec1OndXG+IC+EKynuG ZfX/7LyTFwQCSBwm5dEQ2k30ln9afvxUG2zunkEQr4bkHdbYPuDHi6WvB9iUtVnyDwql mxdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=3Ynzzwh0ep2RlxJN0DnaTzqUk//cwR0h7tefX5O2u2o=; b=snT3F+oehPiIkdIUasIJscqQ8t5Ci4HHfxmqi7fhLXLKUS+sAjCtL96FfdDcuIj+58 VQMm9GXOvXksnCqeKqkvCB0PZL4TCYBz97Bw4gQlg9gpHc8BIxBouTCSRLv8Pz37f0b1 n6vmNLh+z0mRhK7XX6rhgHrANrt27UIb0DZWTVJDSZe6sal60IwskEd5C0N74E253pHL xPeVMCheJZt0/x/G/eZO4wh37+3R5XrLcQqzdURE2FSe88nurPJWHiJvo2WDAXhhD6Ee M1EZdwimzxNiFf/98j+aGw/EgPgUcH8C4WRPRz4nKDR5pTFbdZRPs9hYIr9nCVZ1AkDq oFLQ== X-Gm-Message-State: AOAM530IQ5CY+7cYVapfLvnB/0+EIwxUy6AAiShBMSV/jRiT3Qj49Gjp Ex6k8m80EohwnCU28LzuUNo= X-Google-Smtp-Source: ABdhPJyretCP/qZUG8JG0H+goPz5I9Erp8NO7mNSD7j0qgjVdLDoymPB2eMol1AzXwtomr4SK25eOw== X-Received: by 2002:a17:902:6bc1:: with SMTP id m1mr27572008plt.158.1593701620165; Thu, 02 Jul 2020 07:53:40 -0700 (PDT) Received: from localhost.localdomain ([223.190.0.253]) by smtp.gmail.com with ESMTPSA id 204sm9487891pfc.18.2020.07.02.07.53.36 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Jul 2020 07:53:39 -0700 (PDT) From: Amit Singh Tomar To: andre.przywara@arm.com, afaerber@suse.de, manivannan.sadhasivam@linaro.org, robh+dt@kernel.org Subject: [PATCH v5 05/10] arm64: dts: actions: limit address range for pinctrl node Date: Thu, 2 Jul 2020 20:22:51 +0530 Message-Id: <1593701576-28580-6-git-send-email-amittomer25@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1593701576-28580-1-git-send-email-amittomer25@gmail.com> References: <1593701576-28580-1-git-send-email-amittomer25@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200702_105346_770078_F035B588 X-CRM114-Status: GOOD ( 16.61 ) X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:644 listed in] [list.dnswl.org] 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [amittomer25[at]gmail.com] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [amittomer25[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 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, linux-actions@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, cristian.ciocaltea@gmail.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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 --- 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>;