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 6089839C645 for ; Fri, 17 Jul 2026 09:19:42 +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=1784279984; cv=none; b=jAeSEw9qyBMQOM3lNHHRP9XZ7DHebTKnwqLgJNmQyzN9x4TTZeoh6jt5g/W0WjDWwJiV9ZAyYE2ODgmSqGdFJDfHiEiOmaL7MGjkjtkqZeAEzJGfhGO24KsdrxLB8LFmnv6x4lc8JtX8oPH4R0QlwMf9+3enabFLiHIrRTfmnh0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784279984; c=relaxed/simple; bh=Hzglabe4fPRfpMhvzvFOhd9PrI7n4OZPOiOIVE4Fp3s=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Q9BRfk2ry+s559+PAERHwT4NJIcDlg6j7sC7GATiX84Qkl4qTkE0nJOpeonWlxN0gbghhwoUFO9jmW445Ja937h+sZKJci4gp3oIp4UXRUI9pWp6h+eafUo+xfSNUzelU9LWju0v0E8+PMNQB+qdkcQAsOsAMMSlRQedWeKq3MY= 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=ZmbLp3uL; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=AW8CmSZK; 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="ZmbLp3uL"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="AW8CmSZK" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 66H6cKkX1161192 for ; Fri, 17 Jul 2026 09:19:41 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= jnWJTq3ZZfdGzIIHwOFOt1HkgzENpzxRhvMtusPnSOU=; b=ZmbLp3uLosyqjFTW M7IlmuApo6IEagko80gfYY29NIZ2F4aqEnSZ4JvBrk7XQYDRsxSymdjV63kBMCaK vCbLmDV9ZeSOLSDr6eRaceNTIcWn1yr58wSLiaxZwqS1ZV8bZvaEBFWYnZFAqGEK Y1M2othd9oLr+oF0/n4SimhJ3xvD6kLQjP8tCJVZCryueG3JGA025Jb1BWsXvvau A9km4aP4oBjRnSkFw9k7GOJcN/nQo/UF+lpTXaAg3EKBftlqspsIw4wyk9VKEJWv 2mfGD8aTRYC1K5ma6w0Kw7kDga2d5O9F6LBx8nSDmfZIXxdhV+OXy+H+2ffujoCs oO5a8A== Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ffd3as3nf-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 17 Jul 2026 09:19:41 +0000 (GMT) Received: by mail-pf1-f199.google.com with SMTP id d2e1a72fcca58-84885a4fcabso5194283b3a.3 for ; Fri, 17 Jul 2026 02:19:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1784279981; x=1784884781; 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=jnWJTq3ZZfdGzIIHwOFOt1HkgzENpzxRhvMtusPnSOU=; b=AW8CmSZKs7BZSnkmxyeQPjRN583VYGJGw2Uqzn7bzD3U88RM6AGXQm6LUdNSOQfCBg HbMYRMkDRkKdZhz593Ck3p821SyIfy3LJv+n+rQLUisTR3BkvZOSOVujyWo180TYKgDS QZHSdHS3/Z1FuJt7Qy3H5HRQFi2Ijjj++bFHaseR4ffTAxg5hE2cCK5BQMbG446R9LMT XFdhAkFJZX0AIcmni66+jlPsJy86RtRI+WEussksk9HHdfLH/6pz5usvpQMC1LeEmkph aazCtkPcMo20cyhsdj1H6woam52CoTb/i5qEDrTCZL7ACqsmkFxAY6DrmruubDwjPRSW zWFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784279981; x=1784884781; 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=jnWJTq3ZZfdGzIIHwOFOt1HkgzENpzxRhvMtusPnSOU=; b=lcWowOATnqxIWq/iJnzERvb3ZRA3EOTBWZZLP9zGseFTbFWXkvQTW3nfqi3xyx+RgP N2HvjlriWWLcgTCPxTy6XbOS54fmBgeiU60EmYICe0w9+1SJp4Ik+YU1J78pdi9EbB7j BiUa2YgZjOaKlIm+U/ox3MZIyFUL8P/Ozu659FCJrtx2/0KGtGZwVTdLc2k/88u+gu4F 9+PG5Mic/t2ahcwQvTf4IV2A0QhjjR6ls45pJ2MK6Yh4Lk+qoghwQaLLhSnptPhib38N amJzn9BfUEnP7Lv0G8ZgwpB63vfyLWOwwgW3smF8QEmym6HgY1yfNeBY9q54C8IOv4fV zeqw== X-Forwarded-Encrypted: i=1; AHgh+Rptv97R0camv/GptiEtleP6W3QeKxU+aDA0Do1ZJh9RsHuvqhIaJgMUx03a3zQazvV4UZp2TO5wtUVX@vger.kernel.org X-Gm-Message-State: AOJu0YweWq9NAbF0ommjfnZeGAapNw9EmtTOgOg8bHBJC6cqf0gOlgQf wUainGa/3ABs6o2QkmiOsTlDp+GpmtJvJMucJrYlApDdgcw/KLhS6h/p+/c7G3+pgm0MkW3WU+N JyHNY2mpX1fvosj+5k2loi2UbXbP3N6IJhTdkScXyG1iIBXfnSEXwD3/kbc0DG5/S X-Gm-Gg: AfdE7cmcpnyrWg2pElfkvDw1DJB6j1ipNQkwY9h2xZVofev7+N3aeueTCb5L1NWjj1d o/tRy5K6gxVogncvOBm1UzUihmZDM5yitgOGZgYqAMEUAwpFzZOEixiCaYvIxbEKf79g3xuwme7 MZWohMYaPZ2STNzuQt6+0tpysDVsR3Xeij+zX+KHBqQrgzOMuhLTxilV3jpHQw5SEFd/+fHvm2a EDTVQ7o6384NUFsg7NwRZQSGyWgAM5dK/hlWmwrT4kKKPDjQ5Hnn0qxjk8bcc9/Z8Ti2kpLAe7y NOfAsSVO2v1pg+oOJ+j71dXoL6lYe7Std4emeUMQPD6e90X2QxdUNh7rjyfZIgaM2bSfbkZr2QZ 3z+zS/vFu0qbvLXR3r9Z5ad/la/hC X-Received: by 2002:a05:6a00:887:b0:847:e2c7:59c5 with SMTP id d2e1a72fcca58-84c294fc35bmr1785588b3a.49.1784279980804; Fri, 17 Jul 2026 02:19:40 -0700 (PDT) X-Received: by 2002:a05:6a00:887:b0:847:e2c7:59c5 with SMTP id d2e1a72fcca58-84c294fc35bmr1785532b3a.49.1784279980040; Fri, 17 Jul 2026 02:19:40 -0700 (PDT) Received: from [10.219.57.117] ([202.46.23.19]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-84c2adcd3dcsm676117b3a.24.2026.07.17.02.19.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Jul 2026 02:19:39 -0700 (PDT) Message-ID: Date: Fri, 17 Jul 2026 14:49:32 +0530 Precedence: bulk X-Mailing-List: devicetree@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> <97b205e8-5ab7-4205-b1dc-cbcb0497987d@oss.qualcomm.com> <986da1da-db2e-4d4a-b9d0-70482adaf4bd@oss.qualcomm.com> <4f641f13-a278-4465-8033-670c7279a7e3@oss.qualcomm.com> <1153ebbd-659f-4ba9-9317-66ece33423e9@oss.qualcomm.com> Content-Language: en-US From: Komal Bajaj In-Reply-To: <1153ebbd-659f-4ba9-9317-66ece33423e9@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Info: AW1haW4tMjYwNzE3MDA5MSBTYWx0ZWRfXztxy4mAD546o 8WZRR5mqQpPMmwFPxmfLQdn7F8M/y+fTl/6N/A4Y/BWjBMEgqIAjvesQTOJfHC6Z4UdgY9ra3f4 0Kj1VODUgl2XekqduCDX5mRHab3N9Gk= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzE3MDA5MSBTYWx0ZWRfX9M/Vaqw+amex 9uBl7aNrj+JlQLNdpb8AXdHBnB6sLSrm/LvPYZu6CIqQbisdR3L3FFUAA7pJPNO/WoilDlhYU8I M4qvbK/AeUyItGZVMfCDIs3PhaD51+kydsl6TcNMWPBapXFFiFzRUzfyXGXSK3NuLkljasTANhx YbAkbimX42zmHfs4DvRtGLQmHbzTtYqW/ZRQmV/ixsdXjCX0eZKaA9ubfYQ3kDzDMczdM5ERDLv SvdCaFvg9qAosvPz/5/Mbl/KFwFfFKZXUncbY3ls5ZDuMKuK1ugv8sm8e+B93kMXr9j496L38yE g2R9y78GXbbRU63ZCIZcLYCOD70IHG138+INAQ1tNcA9BnUHmroOwbt3SeT/2wZ7+OlBEeUIf6i pPyARt9oQipaUDRQLrp0KjWP44qgwQeAtIHVpBRXRDZtljjrIdb6hom8/Mkq8kbm+bPp5zH8pAl dSDz3X22yEN74l8jnPQ== X-Proofpoint-GUID: BFoNmLdFINZxmgvvFmuk63aR5XvWup8K X-Proofpoint-ORIG-GUID: BFoNmLdFINZxmgvvFmuk63aR5XvWup8K X-Authority-Analysis: v=2.4 cv=e/M2j6p/ c=1 sm=1 tr=0 ts=6a59f3ad cx=c_pps a=WW5sKcV1LcKqjgzy2JUPuA==:117 a=j4ogTh8yFefVWWEFDRgCtg==:17 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=lo2R6pnlw34kmT72REkA:9 a=QEXdDO2ut3YA:10 a=OpyuDcXvxspvyRM73sMx:22 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-17_02,2026-07-15_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 impostorscore=0 suspectscore=0 phishscore=0 priorityscore=1501 spamscore=0 malwarescore=0 clxscore=1015 lowpriorityscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607170091 On 7/17/2026 12:03 AM, Konrad Dybcio wrote: > On 7/15/26 3:41 PM, Komal Bajaj wrote: >> >> >> On 7/15/2026 3:57 PM, Konrad Dybcio wrote: >>> On 7/7/26 6:36 PM, Komal Bajaj wrote: >>>> 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. >>> I'm not sure how to read your response. In other words - is this >>> patch boot-critical? >> Yes, with Access Policy enabled, it becomes boot-critical. > Well then, I'm no less than surprised since we have DTs for 3 boards > in -next right now that I'm learning can't possibly boot.. > > I understand you might have disabled that at some point during the > development, but it's clearly not the configuration that's supported > by any means. Please make sure to take that into account next time. Development initially started with firmware builds that did not have Access Policy enabled. Recently, firmware has since been updated to enable Access Policy, which makes these GPIOs boot-critical and requires this change. If its needed, I can add Fixes tag. > > For this issue, since the pins seem common, perhaps moving them to > the SoM DTSI makes more sense. And this most definitely needs 'fixes' > tags. Makes sense. I'll move it to the SoM DTSI in the next revision. Thanks Komal > > Konrad