Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1776850rdd; Thu, 11 Jan 2024 08:59:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IFY2RXDZaE4sQhl/8rwCtXDcSRGgLu4IBU2WcTd9BRHndDSo1gKSNqVu0djV5j4qqvY+p12 X-Received: by 2002:a17:906:94d:b0:a23:5f0c:864a with SMTP id j13-20020a170906094d00b00a235f0c864amr565415ejd.97.1704992353234; Thu, 11 Jan 2024 08:59:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704992353; cv=none; d=google.com; s=arc-20160816; b=JAqeTtpI4+lTfMUlLfBLPZuwWAJ3X14SMO/kS3piyCfZJFlHzfou5LBRZMmwjJNEYw F90fIbqogaWxVodlxdLu4F94YIW1U5lVp/N8IN/mM7ayEpW2o69OnCTZ8dwwXapy0h9L O8fr754lgd6wW5NN0sN4DcqcWJ4PIDRwI5e0D9aEkxSKH1Y6+/7/HThpwadpn+YdWcw7 OZuBHOpOhCbnvp6pbT5AAmLoQdBMg19xidn7pEM46xwAlZ5jxPZ42SLeZTJ1y4kmPbmd V0cOk/GWtwp6zF/HIrIS5dWTSlpwdE2cOeVOzUWL4UJdi4kW5Wj9iW0oLAtnxQT8/hPE yvgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=QpB6LSOwWInw7WKvFt3WMNIK3ZW3rfcyuckfXz6cQRQ=; fh=C0ApDXTR28mhDXvTYxUuiFgjWFtMtZCLiZJZOCVBexc=; b=AHhNJjIcwB8C//BlHWNVKF5vOHn7C9aTOcQV5r2l1nUHXitdLAfYb6MXccIWZ5a9RE CPL//3+pvvoQn5P/O4SxHljyVGYPkM4J44gAFPt7UvOxV/P2BAkuSxr51PfGkehkV9vP 4Gi9zgT1z24Froc4BPLGyESOFiPsgeiViYZdrDeF8f8Gsio4f4eug3UzLr9glzkot+hg za9xxv2DY6J8775+mW0baDkspWlwftS23hIboYngLNP0N2Xv4l/PXmlzTjrbC1MwxlNK 9Fx3W4KOzdV1ze5Q1TcOsUU0IuBTxrDHT27S/BQgfeQlpw26nJYE70fZX6E/i3FdcHnf 7nQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="plu9v4/7"; spf=pass (google.com: domain of linux-kernel+bounces-23902-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23902-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id j1-20020a1709066dc100b00a26b37a12fdsi639492ejt.77.2024.01.11.08.59.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 08:59:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23902-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="plu9v4/7"; spf=pass (google.com: domain of linux-kernel+bounces-23902-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23902-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 01B791F2163A for ; Thu, 11 Jan 2024 16:59:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 74E1A51C46; Thu, 11 Jan 2024 16:58:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="plu9v4/7" Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2D3F951004 for ; Thu, 11 Jan 2024 16:58:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-40e62e6e3b0so1769465e9.2 for ; Thu, 11 Jan 2024 08:58:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704992334; x=1705597134; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=QpB6LSOwWInw7WKvFt3WMNIK3ZW3rfcyuckfXz6cQRQ=; b=plu9v4/7Anr9URaVJXrJg3TULVmuVIpPf6D630eHNhk6A7M/RbHKPdg4auwG6JQtFd dqyLVwKZv+XZTQAd1geyeTQBE6RVckn87mJKyZx4CdjT7xC5nk00RaK7rhn0WGpz7w94 9xIhuhCffbt4iWDFJHDZ+9Jo56s7s/1EwyKUTZT+XsqIIkAnc1Aqw+FAidWj4QDR9HsJ eGB5Oa54NqVYgkwr17mfEmvHmV/zueimoSvt7hb4vJAyue6EVV7+LmsC/Jl8ssq/avSf viyJ213ZyeKN50L5bQgc3Ut8EpTWMySCwUXO3rAdKgRrz7Pk4h2aB36+0XINohcDHC2i hB3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704992334; x=1705597134; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QpB6LSOwWInw7WKvFt3WMNIK3ZW3rfcyuckfXz6cQRQ=; b=bC1DZdgPrZt7KQl91fje17Qm5odLMRevbmfQEGamrW0+bvclJN13sONoYiEYUdiWsc o1YQIkjPOUMz6b4nbggGtm9GB/E7ibRYEsx0dnzR5U6Gf1OM/F7SVWzKIncc4M0TyxC7 cIJWpKIP/qLxu27ipGVHjIZSNMFGHTKpfs7Odate7GAMhE179qTVHCN6lRVhbmR39Hph ABuw+mvzFxm/9/RzoYafrT+dEHGdjl+pLklXxdvEVBdEIhpHWmfh7jUwIFbZGig+RAL/ 7C+QIec7CHnYqSOkjyW4r3AIoMzueEc6G9Tz2TyHn6AqgrL+S167HiDLnp88niHjO+Zg RQqg== X-Gm-Message-State: AOJu0Yxgr831YgeFlz/UlvLk+gzsQQAu5JdotKjR7/IP9NhDEY00K7T1 0wdO/kIvjQGCf3a9F+sty9u4n6uGclrVUw== X-Received: by 2002:a05:600c:4e15:b0:40e:52d2:ef23 with SMTP id b21-20020a05600c4e1500b0040e52d2ef23mr56768wmq.17.1704992334363; Thu, 11 Jan 2024 08:58:54 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id iv17-20020a05600c549100b0040e5034d8e0sm6501354wmb.43.2024.01.11.08.58.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 08:58:53 -0800 (PST) From: Neil Armstrong Date: Thu, 11 Jan 2024 17:58:49 +0100 Subject: [PATCH 1/2] arm64: dts: qcom: sm8650-qrd: add gpio74 as reserved gpio Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240111-topic-sm8650-upstream-qrd-fix-gpio-reserved-v1-1-fad39b4c5def@linaro.org> References: <20240111-topic-sm8650-upstream-qrd-fix-gpio-reserved-v1-0-fad39b4c5def@linaro.org> In-Reply-To: <20240111-topic-sm8650-upstream-qrd-fix-gpio-reserved-v1-0-fad39b4c5def@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Neil Armstrong , Georgi Djakov X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1107; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=Ld7ubk2A1iIOznHh2Zvoty4uvkikoaHqPcyq6CJCAKI=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBloB5L0Z35o6Eulbs8a34zu6lP0svEinf4Gl7P6wyO N6uFHe+JAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZaAeSwAKCRB33NvayMhJ0RE5D/ 48yvbQvibhYdFKg/IC1LJ5SEjjVa7BVM8+sceE8DCK2b+DINrY45sCb/QHcN1ii29UCu8R69ycjD2g /vCw3RFqZXnpRbZfWHMtt+051vu+L6QlsaaEZfb5HCuK2YpsYsAVN/yOmlg9bXFmzJNVX6IqSbiEDp GHR5JSFg4kWIgtsWZLS+kHf1WG4VynAsyaJQt64eAV+JC5by3VVyayiCWdQsoljrADZqgpGE2p8ATb Nm32/6ocDjkGPpC/XUj21X2Mh3ZyKmfrwQIUFPdHhgW19P59lZHj8fRrThPM7nauRXFrgUlyjelIgo tv+g5DgvZQx1V9rQxy6V+otIu9EHYC072+2NKD79JUcAiTlBE77JDxx73pOjUqOjlaiSOeZgfjwf7t X2LEpp1mdefz1eDsUqXswF2hECOUk3Z/GlFJ2x0UYMP2n5T7PzP+i1a/mpUWab1MhcOBLuQhLBBMxn 6m2CSlH16gDSwmqJRqJ6JwQoebjduLyZ1kcjpTQG2nBaouJsL3QgAcUnHQn4N9OOOg2pKHFjiPYoHo r0+FUxgWAlWVYg9iR0HZ56mLlRKnOfVUE6WfqVE7tWExtwi0aEmtW0kyGs/FnKGw2QL6nBJ9LcaUpb 3GRbns3PGry9CHpWRmUNzxDP9XhphNWeCLJmpNxiEO4FZCa/qvD16ETrLjeA== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE The TLMM gpio74 is also used to communicate with the secure NFC on-board module, some variants of the SM8650-QRD board requires this GPIO to be dedicated to the secure firmware and set reserved in order to successfully initialize the TLMM GPIOs from HLOS (Linux). On the other boards this GPIO is unused so it's still safe to mark the GPIO as reserved. Fixes: a834911d50c1 ("arm64: dts: qcom: sm8650: add initial SM8650 QRD dts") Reported-by: Georgi Djakov Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/qcom/sm8650-qrd.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8650-qrd.dts b/arch/arm64/boot/dts/qcom/sm8650-qrd.dts index 592a67a47c78..b9151c2ddf2e 100644 --- a/arch/arm64/boot/dts/qcom/sm8650-qrd.dts +++ b/arch/arm64/boot/dts/qcom/sm8650-qrd.dts @@ -659,7 +659,7 @@ touchscreen@0 { &tlmm { /* Reserved I/Os for NFC */ - gpio-reserved-ranges = <32 8>; + gpio-reserved-ranges = <32 8>, <74 1>; bt_default: bt-default-state { bt-en-pins { -- 2.34.1