Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1776932rdd; Thu, 11 Jan 2024 08:59:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IHm8m/HXn7ucecwSpfvDyNp+gJBGn5quREmkut6GmY7/fnGPekB/5yedGhLieQPmjsQ3DcX X-Received: by 2002:a05:6214:2aad:b0:680:feef:7f with SMTP id js13-20020a0562142aad00b00680feef007fmr1646163qvb.125.1704992365141; Thu, 11 Jan 2024 08:59:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704992365; cv=none; d=google.com; s=arc-20160816; b=daDGwjf0pBwXSfjxyGd5uN870N9vd7aWpEu2EDEhdCgGT2sRb/5aVjYu+uMvo+iHHL 5q99+ELjAFN0KfEcpFYLFcPdJx9l/vGRGvB05BC88Z/lYiVz4dvqoaOs1S7w0P3GOPJ9 0nXIXuWfdoMLTi7cBjCfHXLxEQ8ghuxPndVgaUUdaiw/NJNRgDyeb8Da5LhZFyrIB4JG 8MpdtoPeZ/VthBF5jVNMWBR191W+A/IZDATZEEpSAYwiw7gWPCYGhrSYHCNCPLbt0kW3 0MK5837OWjtUXiwVL9UqMGRcXY9Xq1I6keUpdM9oPCky59I6dAFWZn1Vsx/yP2LJCrL8 A2ZQ== 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=yZlzI3ACs2ov6qeeNpcgEJ9I9uvuej4mLyFQ8uCjxoI=; fh=C0ApDXTR28mhDXvTYxUuiFgjWFtMtZCLiZJZOCVBexc=; b=o+3eEFGZJhYmu5Zl312oGUMXw+loD2XbwY32DcY14H208zaG21FcuXQMansttBzZRK op4ePiPvk++Dk+Mk3AWi3Y7a188l6hVRZl38S2KN/Wz631fVNheMPBoqBobKBJ73EerM HtVk6JoJocB8eT1rvIqzhtP0RsXpqHL0Rf9CW8i1H7MBANqg1NUJF1/3wgkHB7WYhGQY 5ZE2MVs+OwOHrRiQETt6wmNNRZHp3pQ7VKDpt+obHrEI2tT2a9d6kj1LMs8ESSS6hx1N 93RnX8a6y04JclIuUyngnIgMrhC2Je04eBb8xWHtzlMAZ9I/+2TtVHgowC8HapMvKke1 j9ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DMeq0Be5; spf=pass (google.com: domain of linux-kernel+bounces-23904-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23904-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id x6-20020a0cb206000000b006807fab8d4esi1198737qvd.74.2024.01.11.08.59.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 08:59:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23904-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DMeq0Be5; spf=pass (google.com: domain of linux-kernel+bounces-23904-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23904-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id DEC9E1C21265 for ; Thu, 11 Jan 2024 16:59:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3B051524BC; Thu, 11 Jan 2024 16:58:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="DMeq0Be5" Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (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 DBB355100C for ; Thu, 11 Jan 2024 16:58:56 +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-f52.google.com with SMTP id 5b1f17b1804b1-40e60e1373bso7760425e9.1 for ; Thu, 11 Jan 2024 08:58:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704992335; x=1705597135; 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=yZlzI3ACs2ov6qeeNpcgEJ9I9uvuej4mLyFQ8uCjxoI=; b=DMeq0Be55dsovRrBqZDRDmqBKExR0fp2DZ7yDClDY8YhFoLfchl4hbFdwgEc2CiJ2g icb+dbcy4Anm1sYxpcnRaCkweoeyev/AuTIkwCtp6P8noGvFPYwaNCF+4qpipWzXeucP yC65eghFepqjEtBkDKfrq2UsnWgmkhSTyapjFkVnugldF5y/JUuhvW6QZb4zQzbz6NAL visL3GB7mS1bQZXwyFMeGQEo4dwyZbPqSV6FF0PCZ5Q34O89ICxtoLjiKsaWGJ1FT2YG OC0zR9ptgo+zdU5bVZjfBiBDKSkKcndXaHMozdG91Tmhs35M4l9yB1/5aem/hsAzTxJd WH9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704992335; x=1705597135; 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=yZlzI3ACs2ov6qeeNpcgEJ9I9uvuej4mLyFQ8uCjxoI=; b=hzusGn0/Xvvu9KE3PAhK98U9q+0r/+4A1KP8/CccJmHVHrXE+qFby61V99PBi4/R/X xfbPmBzNYI71bMJ13sbNA6OqVuFKU9bB3SfO7tfwzNNZJrV2ZQ2ODsObPFi/985TOE2N XmL6g4+luECZ1a+THOgPADmIYORz4rT2fRtdu4WFFfhuJqAQeNo9ZgX6eOImlHR4eshf Wj6J2W/Hs+EB7BxwgV6Q5JrQk6U9nVVXIFOSGahQc4lmDQxvmd1UnIrokFM/KTKwGnfK FFl0wVEiAF12dsr0ooYySeXCavqdvYYJ874u86TdZh/plfU0SE7D1PlkOqhdne2c/nd0 rGjA== X-Gm-Message-State: AOJu0YwBSE258D7vYbmavGwCIplz3SfJpj+Ych6gM0iryAWE0ODKVAEk 2/OJxICYUnEgaqiu1xwatXeN6b4TmbatDw== X-Received: by 2002:a05:600c:4a15:b0:40e:5f64:a6a3 with SMTP id c21-20020a05600c4a1500b0040e5f64a6a3mr55165wmp.173.1704992335215; Thu, 11 Jan 2024 08:58:55 -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.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 08:58:54 -0800 (PST) From: Neil Armstrong Date: Thu, 11 Jan 2024 17:58:50 +0100 Subject: [PATCH 2/2] arm64: dts: qcom: sm8650-mtp: 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-2-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=1142; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=IpHVsSLrzrFlQj9WcvV66G0BAS5oNYDE30snnElffk8=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBloB5MW98u6vRkxaZLZQz5AAcrNMzWEDZW7c79gdjA wTFDLvuJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZaAeTAAKCRB33NvayMhJ0XgFD/ 0TFA2QMS+7gPlp+tw6YTcWTxd1fzEFUJ6GDws3ScuCm0WkAnkSoSxCLFO14nPO6eclE+ENltpLk4yW 4NBMzYz6YWS8KZ5GS3+O+daaxH6iD9iCl9RnimiAPTgGEY8GfzmYY6WjT64nwkFszFNjMIG2hDiqBu 7AihSYs1BxPtA/Mt9yCA+k1NwpBIkZikD5kJ8KZVa1wByeWcLSr/QAZLttXYqsA2atw4n+C7gLhcE8 gPtBusiXa1Ab48oeXXF4dKoU6/wO2HD+Pn98xZ4H3y8Lu+xvcVpo0Rrlc0sX+FSkO108nx3by7fHpd J405JM9gMuRBCWffyqPcIk/6z3EFqJXVwkqSoBUXSUC/ubJeOFJ9dh0HEFEOLcoEphQIGBijJNWLlp XJ+RpH5r7LBwv8lOKHHba/gvqhQtuLNV7xSNUWsUaakRJzB/Po8sFF7oQidXf1Ke5cL1+zLtz66mRB N4J7uLTkqlsvw3KDYdL6AHxOiLYSxwgJQ+LNzfm2iv6+GSLLGzPJkU0G504q04UNlil6OjDgulbCr/ SztmioN1GRD4lMy+PJU0mhBPvCphENGsaA/ckpRGFfofVh6fsQo9qzCtuCkNjrDbPEHmbfwDXebRqc sbKCoqWBoT9dWWPyqNU3d0Xb9+RfwerU057du5JBDqZY6i3KBJKLubIsvlow== 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-MTP 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: 6fbdb3c1fac7 ("arm64: dts: qcom: sm8650: add initial SM8650 MTP dts") Reported-by: Georgi Djakov Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/qcom/sm8650-mtp.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8650-mtp.dts b/arch/arm64/boot/dts/qcom/sm8650-mtp.dts index 9d916edb1c73..be133a3d5cbe 100644 --- a/arch/arm64/boot/dts/qcom/sm8650-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8650-mtp.dts @@ -622,7 +622,7 @@ right_spkr: speaker@0,1 { &tlmm { /* Reserved I/Os for NFC */ - gpio-reserved-ranges = <32 8>; + gpio-reserved-ranges = <32 8>, <74 1>; disp0_reset_n_active: disp0-reset-n-active-state { pins = "gpio133"; -- 2.34.1