Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1839426rdd; Thu, 11 Jan 2024 10:40:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IGYav2ikbQypwZvDk7flDIuPDUykF3jW+X2UgSa72fT1zovLhuVDE+QGmVIAYygU5qTxQkS X-Received: by 2002:a05:6a00:2195:b0:6d9:b85e:9314 with SMTP id h21-20020a056a00219500b006d9b85e9314mr177002pfi.62.1704998420273; Thu, 11 Jan 2024 10:40:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704998420; cv=none; d=google.com; s=arc-20160816; b=RdIvvGhM+rQ4SpIbJuZAn8Eev1aB9XwL3wblrjhzCx8nOIXy1rd+Hm2xYbJ3T+3Vyg AApMJw5eD2tT8+VNCi+CGMyWbRxDoawK/lRj+zQBSutcmTzduuBFJn7atJ4TLsA9yOzj wqDmZYNJlCYkETho0JJ4L7iWROr82JcxQBVAGfFJwJxUH1DJziSmq6iWQClA54WQ/kWD arPJSWfULYc1gpvxYD/c9H6296hlJbSE96mPy4j9RBePvsLlG1lzP6iJxCnD4ZoQdUdi XxYCZ6gSEds+tap0yQo7EfpIVQ3KPcE2zkDEWbh8IvP8Y5LFW6KsLpcDhQBmPdOXe/HL BgiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=M6dSsxI5b1GoasriyNGDw+EBcG03gCHOu1sd3MerZdU=; fh=/GF8wRWeyMVm269VjGiZPC2EpGmcojG80wknim0NMJo=; b=Vn10ZmJUxGlQur8n3i6uAi24iqygeDz2rTUWnXDxouwgBU4dYp/AUIWn8PliL3S+BY O9pEOsXi6W4ACKKDWI1K82D9A3frgUCXsqQoVBqtD6ZKmdXx/PCU0esPkdWsJ5JGC/U3 SnWXBLMGJttmW/CMuCS0BeVo9m+Lyv+iltIWvMizmstawkiX0YVbqJkOHFvuWvf0g0k3 FHCEixlQWELnyEo932pyyu3WbFq3F1WzZuNH/KxlMVRl5ntl20Vd1SnDevpmbMTq6w2w Fkkc8aNvxzWxF3RiFF7yxeUFux6sueMg6UR0iFl8gNqNpay1Ui0LLa5SIzaHZhpG1gDb LX7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=HMR9BZAA; spf=pass (google.com: domain of linux-kernel+bounces-23990-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23990-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id i129-20020a625487000000b006d9e4753610si1515701pfb.388.2024.01.11.10.40.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 10:40:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23990-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=HMR9BZAA; spf=pass (google.com: domain of linux-kernel+bounces-23990-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23990-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 13776282B79 for ; Thu, 11 Jan 2024 18:40:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 14E6D53E3C; Thu, 11 Jan 2024 18:40:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="HMR9BZAA" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E8AA615E9B; Thu, 11 Jan 2024 18:40:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40BCjVc0024397; Thu, 11 Jan 2024 18:40:02 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=M6dSsxI5b1GoasriyNGDw+EBcG03gCHOu1sd3MerZdU=; b=HM R9BZAAd2mLb1SZIWc0OIkn+JHEi6mdgCJKbxHJS05rsG3bMMx7amF2RXT4wMeTSJ Uq2zI6UDReXBhsDHPqMXGfp4YkogCfdF1eKde2kzUjo60L3S5TFmpEUOvk8iks88 fP6d1Wvo+skXyADrriExpdqKviiGNV3R/mHOVVijrXhDf8PnwKICKzD2ct33iMQn qXENHR1sA+ILpeyO15OBLp6GK0Oz1PlbomrNgZoRBsQUVJjjP8EBmQ5RSfxxksQz Eh54AO3sspgIoVVEk5JMbmEJ7JKd8y+EES0SWxtrHjkTnuWiUYY/YjA4s85QR3OK 6b85JEbvtiZqmLuotr7w== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vjckh9e3t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Jan 2024 18:40:01 +0000 (GMT) Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 40BIe0cH031515 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Jan 2024 18:40:00 GMT Received: from [10.251.44.162] (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Thu, 11 Jan 2024 10:39:58 -0800 Message-ID: <7079629a-0226-4bf8-87b9-721bb46439b2@quicinc.com> Date: Thu, 11 Jan 2024 20:39:55 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/2] arm64: dts: qcom: sm8650-mtp: add gpio74 as reserved gpio Content-Language: en-US To: Neil Armstrong , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , Georgi Djakov References: <20240111-topic-sm8650-upstream-qrd-fix-gpio-reserved-v1-0-fad39b4c5def@linaro.org> <20240111-topic-sm8650-upstream-qrd-fix-gpio-reserved-v1-2-fad39b4c5def@linaro.org> From: Georgi Djakov In-Reply-To: <20240111-topic-sm8650-upstream-qrd-fix-gpio-reserved-v1-2-fad39b4c5def@linaro.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: Ki6ShOKvoRNMszexSP4W1pmn6Z04h_pZ X-Proofpoint-GUID: Ki6ShOKvoRNMszexSP4W1pmn6Z04h_pZ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 priorityscore=1501 bulkscore=0 mlxlogscore=771 phishscore=0 mlxscore=0 adultscore=0 spamscore=0 impostorscore=0 lowpriorityscore=0 clxscore=1011 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401110146 On 1/11/2024 6:58 PM, Neil Armstrong wrote: > 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 The SM8650-MTP board boots successfully with this patch. Thanks Neil! Tested-by: Georgi Djakov > --- > 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"; >