Message ID | 20181102214532.17661-1-bjorn.andersson@linaro.org |
---|---|
State | Accepted |
Commit | 5f8d3ab136d0ccb59c4d628d8f85e0d8f2761d07 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2566586ljp; Fri, 2 Nov 2018 14:42:03 -0700 (PDT) X-Google-Smtp-Source: AJdET5cTICDvEXYplGGxXQ0WclHArI4zbDwtft+mg5/XJsadlzqcuXPRP5H1yIFaplaoNfVup5DE X-Received: by 2002:a65:44c6:: with SMTP id g6-v6mr11996705pgs.350.1541194923327; Fri, 02 Nov 2018 14:42:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541194923; cv=none; d=google.com; s=arc-20160816; b=S6ys2UBsZdB53r3A7LRJN/rAueajBbPcJHEIaBOVW4HP89BSCHrbKy/bqngpQqtftK 7ZFz5gpLNaQ4P+B29RIr01eXXXmvhD1yT3qXRB7YBfkU9VSeKXbpDJ/d9iWBnap+KvM+ b6NcJAlXukeT54KFeRKleIirO8pmP8i4eg6wDeZbyVAQO9wi4jbkTXvcfVVogbZQjBCB p+jBovjpNOx6iArLppMR0CweOIu4XiHtnB87So5JiBQO11nrbyk0h0fZPJkJza4XrZSA dnJVc3hMryNEgTh4m0QYQfYTAcOy+l8wbhewzIWWIq9zgNVJKdY6KjpZoIDvVhB6XCeT /BSg== 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=sZCLfTgtZcJNkqilv33qyExYx/YciuwDbR6uIPzORe4=; b=Ki9f2Y+yVIL0IGZ9Kudfg/zazSy9pnuTlFnQg5nL/pebzx9/4cUNmiwH1zz7jH+pLI VP/+uOZcLHogcM4tZ//6P4KzcH+dqynXEeGL1Sxz8KVKzPgcSyCYYBtq6Xi0hxuc6eMV 1JGw9sU4DEBBhrCPMEA8upsdxyFNHZocG8Mcvf2l/c97Fl8gQWrIcmX/redgmneNsloP 3xB/qu3rvQneCOW7w7L1UhLnhNB0AqRXVMJRPhpnpv/KQ5R/FBgMppI+KciebIssTx/R y4rqA1i5Gd51VZLgmGQv01a49lJrIwQsinOwYuiFPZpu8jD7gKEkXEw3V6nhJeDy8pq+ dRqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Cyxa2HsY; 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: <devicetree-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 207-v6si35619711pgb.298.2018.11.02.14.42.03; Fri, 02 Nov 2018 14:42:03 -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=Cyxa2HsY; 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 S1726849AbeKCGut (ORCPT <rfc822;vincent.guittot@linaro.org> + 6 others); Sat, 3 Nov 2018 02:50:49 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:46695 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726100AbeKCGut (ORCPT <rfc822; devicetree@vger.kernel.org>); Sat, 3 Nov 2018 02:50:49 -0400 Received: by mail-pf1-f193.google.com with SMTP id r64-v6so1575448pfb.13 for <devicetree@vger.kernel.org>; Fri, 02 Nov 2018 14:42:00 -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=sZCLfTgtZcJNkqilv33qyExYx/YciuwDbR6uIPzORe4=; b=Cyxa2HsYDi0MFk4JjYxlu6bqWk2fJUcwhLOdFdLYCxcef2kBzSU1IWa6BicFhedmO4 ZGv4BmdRDGCwm3B1QGKADseUajaW0SaSTTDArdaDyLFRCVx4YFi9oLAolTWeKVeiF5kz OHbmWRKCCd5JK8t3Z4QJv1z13Pi/SjWnvH66s= 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=sZCLfTgtZcJNkqilv33qyExYx/YciuwDbR6uIPzORe4=; b=mD4hVTTdZcW6KLpl+KdD6Nt5uzrnI1kaYQ3AG1XP79pNwpKbvgAdkqCBPL4WSkIKG7 tA5YbbS10R9IPtbqbV87gyE7DoeZapnCuMfwEq1pU9y5HtOgbzsq8pfYqGfpqtFzqkYT Vkjmc95f+4DAXOMiaZRPZ9vszQC/F6hW2BT2ORHPWQnOhhYwPNwIh58wDDe7S/7b0CIz OdcYUfEDPs1pUZ+Wvk8BBDzwC1wbhumALx6k0hc7UwAyvAYF5ouQiBFRkO5/vJGLk5+a heCMvDY7tK2qo7pUeGwvr3pIB72CQCXMbYfKrtbCkN77dtdX9OVO5HmLgCrK9+mwpO6a yOlQ== X-Gm-Message-State: AGRZ1gIlmNis42BkuUHkXxrKJ6Z61x/a0ATx/kx/hyHtcuZE2kUnq0vw qoeGrTW004+Ln9tREcRZhzrFHg== X-Received: by 2002:a62:6b41:: with SMTP id g62-v6mr13266093pfc.106.1541194920227; Fri, 02 Nov 2018 14:42:00 -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 i88-v6sm18880123pfi.66.2018.11.02.14.41.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Nov 2018 14:41:59 -0700 (PDT) From: Bjorn Andersson <bjorn.andersson@linaro.org> To: Andy Gross <andy.gross@linaro.org>, David Brown <david.brown@linaro.org>, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com> Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Linus Walleij <linus.walleij@linaro.org>, Stephen Boyd <sboyd@codeaurora.org> Subject: [PATCH] arm64: dts: sdm845-mtp: Reserve reserved gpios Date: Fri, 2 Nov 2018 14:45:32 -0700 Message-Id: <20181102214532.17661-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: <devicetree.vger.kernel.org> X-Mailing-List: devicetree@vger.kernel.org |
Series |
arm64: dts: sdm845-mtp: Reserve reserved gpios
|
expand
|
diff --git a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts index eedfaf8922e2..d667eee4e6d0 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts @@ -352,6 +352,10 @@ status = "okay"; }; +&tlmm { + gpio-reserved-ranges = <0 4>, <81 4>; +}; + &uart9 { status = "okay"; };
With the introduction of commit 3edfb7bd76bd ("gpiolib: Show correct direction from the beginning") the gpiolib will attempt to read the direction of all pins, which triggers a read from protected register regions. The pins 0 through 3 and 81 through 84 are protected, so mark these as reserved. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> --- Given that mainline has not yet booted on the SDM845 MTP or MSM8998 MTP (which seems to be the affected platform), I think it's better to pick this change than to rework the offending commit. arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 4 ++++ 1 file changed, 4 insertions(+) -- 2.18.0