Re: [PATCH v5 11/11] arm64: dts: qcom: shikra: Add gpio-reserved-ranges to tlmm
From: Konrad Dybcio
Date: Thu Jul 16 2026 - 14:44:50 EST
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.
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.
Konrad