From mboxrd@z Thu Jan 1 00:00:00 1970 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 429E1434E50 for ; Tue, 7 Jul 2026 16:36:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783442176; cv=none; b=Bqhr8QKmR/m8Ih8fb7LqoHVYMp5cs6fPxczW4t6cjz6FBkaoS1knT4HUebr9ZnwwocaFIAN7CtOjkW3pi88ID/dJGmpZ3XiP90JNiP4PuYN1qQ7Iw7J3IMHMRRBkPYviCskZx0hH32fg8rcSbBAv1us+qAxkMdSzbqvEFxbEZbs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783442176; c=relaxed/simple; bh=jD7vMq40BtjbLgY2tK+JEwoLI6ZCP6ExRZNtAmmlxYM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=d9tvXha9F4u9I/6HEgCeiuFI3XpcDbSXFgRoauavTTA/mInwzIQa1DOjur9BF50m2mqGljMUukFarjcf5vLmZuRpX8hHt+/3y5Pk1j8FHf04h3wynoQDI3hrCPGMSQdYNG142dNmiwG3qSSQSbdIlkVoLvxUsf2DyHS10fH0IrQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=V83Lk7Ef; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=FxCtv8Rf; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="V83Lk7Ef"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="FxCtv8Rf" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 667FT92k002313 for ; Tue, 7 Jul 2026 16:36:14 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= rOfu/YSWSoVJ9+8gOLnE9/D8lneB3OTBsZ8QT6Zknbs=; b=V83Lk7EfjAfcIHfd bkLPBHZ7XgqzFQ9jyOKPYHyMkGKzP7+6Qr/7y1Y10nxHQOmGEnfiYcdrtZj8vJVe huf+LH3EXGxlwQ5Zc6gyIpLVJkcFUXPxNu1Lub0lZrhHU5Incyp/bl7LulZNGj3T 1adSCkhBFLXP5OqmCWI4hBid86sdntPa/eAK3cAbrPHA5OuiOjKkVbwzloPyitAD Br7JeOHWzbXFwR+BUvgbDap8qMW3pwVx4gZLZ9Y3ERe/oNl2kWYD8GydLMJK/bfb TTLhMaPXC5iX7SptJ/yL4LOhOzXFNvsXketDXDOrDheXo5ZHJij0XomcMZ3TOSuH XJlWpA== Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4f8ye0hm01-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 07 Jul 2026 16:36:14 +0000 (GMT) Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-37e24235ce1so6796251a91.0 for ; Tue, 07 Jul 2026 09:36:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1783442174; x=1784046974; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=rOfu/YSWSoVJ9+8gOLnE9/D8lneB3OTBsZ8QT6Zknbs=; b=FxCtv8Rf8Uekvi4+/jnXVNMxDJq6E+bhmfoiK/LBmEBqQPcuEF4gKhTrQWzNy19KTx eu+gopMGpfMo7VlB0IJ9F/9I2FN6fcf2/cxB8ew0NY7z3sGpN9sQASia5lxGreFhizkx bb0z1GiXWDl6fY8oCahECnFyzWf/PxEXNVOxJVwCC+fvQ1RbCw5aXdxIAkK/H6pASCq2 x6O8Q36WiOx3fP1twVisOdhPM9BvrOu1wyosFXII/JTUSjXLDtkOJOPNSiaZGv02jpvr /TShSUUZyfaSvymSMOYS8Q7pg/AHzQ/+PrmoCRCnYhS6A1V4lEG0ixZ9YjVqW0Rz4GtM alAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783442174; x=1784046974; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=rOfu/YSWSoVJ9+8gOLnE9/D8lneB3OTBsZ8QT6Zknbs=; b=Ps6liyP5Y+XG9ynfSmVX7SGwp4t2SVkbH+x0Ih+5OGBE2C1Rv6rewYHbRwoTFXR/Mm taPFKNvKS0yEbfB4VFRtX2Zm2c+/0VQ1AvmsQaYiRTYPKRg0Ey572PRL07Acd3M2NdeR /eBe1syu/16BmUtt+Ap3EqEr6wpZgdKUCQqAgrxFzH0Q36YM0Iog8w6jqjfGgTNX+LEo RPDtuMES1nk2E1V9wQ3/FfVUWZWBnU9F5cv2SpxfUhKj831ifGff+QBv85APx34b4FMv YjuZ5lRl9PEG+sbuUFPMWsP53P0CdtvDcr9ZtPH/R5wkKjqeYDBdh2tbAqWVhSSFOo7o 8VkA== X-Forwarded-Encrypted: i=1; AHgh+RroRfrBkGFnEi9SKdCIZyqCaYtv3bTRIkdGy8Xj9AXwlWF2B83I47WWTIo4O+AkNw74f+F4Wp+uDzsElzc=@vger.kernel.org X-Gm-Message-State: AOJu0Yxe0PIexoJuuFTYjf/joAlRcHdJ+plmk9bEVpzsggGC1S8QOV3a rjupDe1eHDmZhCxDGWNLnBGqz9PnPeLM8EFUYdqUBd0As9yeOShP0lQspfMtUHbV73Gd1xo2xf6 6il+bsLDcyzj7Pl1RKeaIqFjhwTYYyr69bBZgOJ34jwz0+jsL38PtFUpY3n9UQixfsqc= X-Gm-Gg: AfdE7cnpiHV1YKWCFaVFlkcQEezQAN7OoODqaTKzDRC96FXy06IBVqMzrrd6zQEbVX0 YpSGyyIWn7Ts9njvDJWJHY2WC/16WKEEGYldiQaOQp0rx0liO4xfbK9+x8twfRwJ/Vl/ejXA5T9 9jsa72U36vCoOHJvx54LKYdSbxHmPurolWdUJPhDiEYfcB/N1ZPotE640GOZoZiQ10dLLflDmVi ZraulxQwfkpfVWVdGZE6YYVZ+Or3/AdIxa0ffLRG4A6O1QoCV8Pfuam+/cC1FAcoxX8R7QM4cwU yWMy+pskEeolmb+zlBJxpbz39vXc+CDY890aJIOdp26Rt9HU6dIXTINuBk3N1dFsN/7pnBousmq qxLJhn248MFJGYdS2GWh8kdLLWDeGo1maUuP53piYqw== X-Received: by 2002:a17:90b:4ec5:b0:37e:1609:b304 with SMTP id 98e67ed59e1d1-38756801500mr5684086a91.1.1783442173895; Tue, 07 Jul 2026 09:36:13 -0700 (PDT) X-Received: by 2002:a17:90b:4ec5:b0:37e:1609:b304 with SMTP id 98e67ed59e1d1-38756801500mr5684047a91.1.1783442173406; Tue, 07 Jul 2026 09:36:13 -0700 (PDT) Received: from [192.168.29.166] ([49.43.234.127]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3118389d9bcsm2524489eec.20.2026.07.07.09.36.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 07 Jul 2026 09:36:12 -0700 (PDT) Message-ID: <97b205e8-5ab7-4205-b1dc-cbcb0497987d@oss.qualcomm.com> Date: Tue, 7 Jul 2026 22:06:05 +0530 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 v5 11/11] arm64: dts: qcom: shikra: Add gpio-reserved-ranges to tlmm To: Konrad Dybcio , Vinod Koul , Frank Li , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Krzysztof Kozlowski , Georgi Djakov , Bjorn Andersson , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Anurag Pateriya References: <20260702-shikra-dt-m1-v5-0-f911ac92720c@oss.qualcomm.com> <20260702-shikra-dt-m1-v5-11-f911ac92720c@oss.qualcomm.com> <9c1aab59-14b2-4811-b778-8e96645bd65b@oss.qualcomm.com> Content-Language: en-US From: Komal Bajaj In-Reply-To: <9c1aab59-14b2-4811-b778-8e96645bd65b@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: uxEYfDx1YyPJgZoBvTyx5VP8LfHNizf2 X-Proofpoint-Spam-Info: AW1haW4tMjYwNzA3MDE2MiBTYWx0ZWRfXwHP4C0GUh24G geMAbKQOVXiQXIzQf0n0AH+Qe5oqSPg5kI1gLtpInza7mF0+8SLUHxs5isKG3uvCdKc+4/JSVu5 mdWynWiRNdghEXTa8goXUF0wELaYye4= X-Authority-Analysis: v=2.4 cv=SZfHsPRu c=1 sm=1 tr=0 ts=6a4d2afe cx=c_pps a=UNFcQwm+pnOIJct1K4W+Mw==:117 a=fIivk1FRtaL8gRNK6azaIA==:17 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=TqdALn-mf9RdMn6JgEsA:9 a=QEXdDO2ut3YA:10 a=uKXjsCUrEbL0IQVhDsJ9:22 X-Proofpoint-GUID: uxEYfDx1YyPJgZoBvTyx5VP8LfHNizf2 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzA3MDE2MiBTYWx0ZWRfX3KGmdeAwGfO6 dxDTRnwkldibh8uPhRVIqxBGzJfvT8w3+/zXE4ZF+m8sRd/IgQfIbm/sScla9SEpPDngQT/pipv zdGOkmeMVPq37obYOZg7sO49LBPTv59skKy6XL92NrzpY0OCDNs2KWqi76TQi8Sx9wep2xo20cf sdtIaw0sx34xUXFlcPtqdDESDcfsHVm6J7raFfJ3AwZ/KObMDly0Sssv6yXLfYDvDxEk2d1f6kd NsG+xSVc0TnrEIIfaPCkdjwKWHSUQWE0t8heJypP4vLqGF1r2P3KL1BHdbO6uj377GeeIPB51uF y0KfCvcnZ8OqILOmb+ZAW1HwHw6HEGH7fyrYLRX+rLZhS/xck7AlWUpBJHyy0kKlXpb1RfOHb6B BOXyBtkubVRFwVpfRPpGfvkwzwf3nvaLd3bqTRoqpF/Tcxg/g88eqgTfHAc1Oeeex09tRC8pirJ jQjdKgKuUXHJD5hDMiQ== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-07-07_04,2026-07-06_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 malwarescore=0 bulkscore=0 spamscore=0 adultscore=0 lowpriorityscore=0 phishscore=0 clxscore=1015 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607070162 On 7/2/2026 4:25 PM, Konrad Dybcio wrote: > On 7/2/26 11:50 AM, Komal Bajaj wrote: >> Add gpio-reserved-ranges property to the tlmm node for all three >> Shikra EVK variants (CQM, CQS, IQS) to mark GPIOs used by the >> SoC internally and not available for general use. > These are generally added to prevent non-secure access upon TLMM > probe, i.e. the board won't boot if some of them are not protected. > > I assume the proposed set contains both ones that are _absolutely > forbidden_ for Linux to touch, but also ones that are dedicated to > some specific purpose that Linux _shouldn't_ touch. Yes, some GPIOs are reserved for secure-world use and are therefore not accessible from the non-secure world. I will update the commit message accordingly. > > Please add comments, like in glymur-crd.dtsi: > > gpio-reserved-ranges = <4 4>, /* EC TZ Secure I3C */ > <10 2>, /* OOB UART */ > <44 4>; /* Security SPI (TPM) */ > > explaining what these pins are. Sure, will add this info. Thanks Komal > > If any of them are boot-critical, squash this into the introductory > change > > Konrad