From patchwork Tue Oct 30 05:45:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 149695 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp5031055ljp; Mon, 29 Oct 2018 22:42:29 -0700 (PDT) X-Google-Smtp-Source: AJdET5etXlGuYiiYkH+2Wq1zvxeVzQAbNbvpksdau6NvGIpe5k5T3YfoZ8DiDvrPph7tDS5B1mbD X-Received: by 2002:a62:670f:: with SMTP id b15-v6mr1485230pfc.243.1540878149584; Mon, 29 Oct 2018 22:42:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540878149; cv=none; d=google.com; s=arc-20160816; b=y7WD94LiGsgO0HAzPT6U5de2Nv68iG5liuZpFa9hQaFDge2ZmLxNcleIZMxlVXWA1p /0u1ygZFW142dJJ6ZO0vyBO8ev0RUa4vViIAHlbDZ0f07J4rzMN9pbawH5oanIXW62Jz wdxV4bj1bIrpZHRqsSZbLfmgU09X22Hka29u+FfV1e447BoVIrS2XumNAm25vKT1O231 SdP6UZKLM9EhcR0FJB9EGQLwMj8QNx96AY7gtui60smERAS85fi9s6wgb3zBS0lP0R1H hn5X0SlFVGw6LHuWkyYQZ8euHHSmbEa/z87QepaLxbhw8h8en637L0BQI1+/esfM2Nx7 Rlgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=fSNG4Wf3QaLCMSJLJSn0A/ViIfSMoba8WJjS6lb9qEY=; b=FU7bRTQo7219oob8d3NgUwbKQzE+Sos1Nc0SBRNwinAWkL6oZUrhGsHiJpmlbMZ9Xe m7Ejc4ow5+9pT1eBwhTBGapCy51AEOCBJdBkJ1geK4v5t/YW6mt9unfwChcSoQ9M8Fnt ChbRPW3Lg4wYpcZqhWOEySKMrolV2jDAWAKSYRq0zkq9mUD/4kXhaqtVWbFD9wD6jupR x+iRVmiEu0bskDAC6byPttF6uDcnKIoeTW6294Vdvntdy7ajtfyHTV0BZwZYySG4UtNS OdGnE5GN1j7T3TZaAOyx6pUR+CEZtKT0U2UQRkn4V3jzc5qoE2BO/bjXFsXC0vudVATN uIqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ATd0BlS9; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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. [209.132.180.67]) by mx.google.com with ESMTP id s17-v6si21500471plq.339.2018.10.29.22.42.29; Mon, 29 Oct 2018 22:42:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ATd0BlS9; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1726105AbeJ3Oe3 (ORCPT + 6 others); Tue, 30 Oct 2018 10:34:29 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:37599 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726011AbeJ3Oe3 (ORCPT ); Tue, 30 Oct 2018 10:34:29 -0400 Received: by mail-pf1-f195.google.com with SMTP id j23-v6so5235499pfi.4 for ; Mon, 29 Oct 2018 22:42:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=fSNG4Wf3QaLCMSJLJSn0A/ViIfSMoba8WJjS6lb9qEY=; b=ATd0BlS9zl5B0TuMkJA6KBR/cuoI+pEDCLJHjeR62BB41qYIuSJkWaOlUYIySNBpA9 VuMACpBzsRB5yeKHMaiY7IsZrU2HcJSCJS8XPkZQ5nA2th8di27X1fWPnom96fp2NfRm HMMcM0ak1irXdDq0DsmuSSYM/MsZVox26Nv7Q= 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; bh=fSNG4Wf3QaLCMSJLJSn0A/ViIfSMoba8WJjS6lb9qEY=; b=mjwIlQjBB3ukZ9vmPVb9/VCM1qq5kWnrk2ihWfw4xuKnmjHc9Z5EF1VznmQd7c8QfR Xlq8SDMNA7sHoPdvhI+vMksZ9z3fc+vE+hUSCJLRMTkAPe494i7+HoZYcYa8Oq1IBOtS ZMAsjztQqzQee2u/qdBxXsy8FJFfMg/kE+8yo2vFP6RiparWsCFvYC6H/xXuTlP/e6SH 1E3mnNG6D31/Fq97cDP0L0VvjAvScPKUVm2KxTFZcrY2ciDL5+1kxuTDylAVA1mtk3xg G9qN+i9gH/FFq41uhBE01590EY2ardArXkT3HsiK8AmDo4mBojUn/piU7/SHFo/St/Xm n4CA== X-Gm-Message-State: AGRZ1gIhcqFlH8yYyBGz+lfypksbu4J6mS5OHxOieh83gAPbHyW6T7TI mnbgeD5yw6Rfhg94qr8fTjvc5A== X-Received: by 2002:a63:1d10:: with SMTP id d16-v6mr16119386pgd.228.1540878147405; Mon, 29 Oct 2018 22:42:27 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id g72-v6sm23577077pfd.181.2018.10.29.22.42.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 22:42:26 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: qcom: msm8998: Reserve gpio ranges on MTP Date: Mon, 29 Oct 2018 22:45:54 -0700 Message-Id: <20181030054554.1954-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org GPIOs 0 through 3 and 81 through 84 are configured to not be accessible from the application CPUs. Mark them as reserved to allow the MSM8998 MTP to boot after the introduction of 3edfb7bd76bd ("gpiolib: Show correct direction from the beginning"). Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi | 4 ++++ 1 file changed, 4 insertions(+) -- 2.18.0 Reviewed-by: Jeffrey Hugo diff --git a/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi b/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi index b4276da1fb0d..11fd1fe8bdb5 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi @@ -241,3 +241,7 @@ }; }; }; + +&tlmm { + gpio-reserved-ranges = <0 4>, <81 4>; +};