* [PATCH v1] arm64: dts: qcom: shikra: Unreserve GPIOs 14-17 blocking SPI5 access
@ 2026-08-20 8:53 Xueyao An
2026-08-20 9:34 ` Krzysztof Kozlowski
2026-08-20 9:38 ` Abel Vesa
0 siblings, 2 replies; 3+ messages in thread
From: Xueyao An @ 2026-08-20 8:53 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel
GPIOs 14-17 were previously reserved in the tlmm gpio-reserved-ranges,
preventing Linux from accessing SPI5. Since there is no TZ use case for
these pins on Linux, they can be safely unreserved. Removing them from
the reserved list across all three Shikra EVK variants (CQM, CQS, IQS)
resolves the SPI5 access issue.
Signed-off-by: Xueyao An <xueyao.an@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/shikra-cqm-som.dtsi | 1 -
arch/arm64/boot/dts/qcom/shikra-iqs-som.dtsi | 1 -
2 files changed, 2 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/shikra-cqm-som.dtsi b/arch/arm64/boot/dts/qcom/shikra-cqm-som.dtsi
index 8ac42ff625a0..fde7fc035bf5 100644
--- a/arch/arm64/boot/dts/qcom/shikra-cqm-som.dtsi
+++ b/arch/arm64/boot/dts/qcom/shikra-cqm-som.dtsi
@@ -197,7 +197,6 @@ pm4125_l22: l22 {
&tlmm {
gpio-reserved-ranges = <6 4>, /* Fingerprint SPI */
- <14 4>, /* eSE SPI */
<30 2>, /* NFC SPI */
<138 1>, /* NFC Secure IO */
<155 11>; /* eMMC Boot */
diff --git a/arch/arm64/boot/dts/qcom/shikra-iqs-som.dtsi b/arch/arm64/boot/dts/qcom/shikra-iqs-som.dtsi
index 4ff97945274d..e119ace54e58 100644
--- a/arch/arm64/boot/dts/qcom/shikra-iqs-som.dtsi
+++ b/arch/arm64/boot/dts/qcom/shikra-iqs-som.dtsi
@@ -219,7 +219,6 @@ pm8150_l18: l18 {
&tlmm {
gpio-reserved-ranges = <6 4>, /* Fingerprint SPI */
- <14 4>, /* eSE SPI */
<30 2>, /* NFC SPI */
<138 1>, /* NFC Secure IO */
<155 11>; /* eMMC Boot */
--
2.43.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH v1] arm64: dts: qcom: shikra: Unreserve GPIOs 14-17 blocking SPI5 access
2026-08-20 8:53 [PATCH v1] arm64: dts: qcom: shikra: Unreserve GPIOs 14-17 blocking SPI5 access Xueyao An
@ 2026-08-20 9:34 ` Krzysztof Kozlowski
2026-08-20 9:38 ` Abel Vesa
1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2026-08-20 9:34 UTC (permalink / raw)
To: Xueyao An, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel
On 20/08/2026 10:53, Xueyao An wrote:
> GPIOs 14-17 were previously reserved in the tlmm gpio-reserved-ranges,
> preventing Linux from accessing SPI5. Since there is no TZ use case for
> these pins on Linux, they can be safely unreserved. Removing them from
> the reserved list across all three Shikra EVK variants (CQM, CQS, IQS)
> resolves the SPI5 access issue.
>
> Signed-off-by: Xueyao An <xueyao.an@oss.qualcomm.com>
> ---
> arch/arm64/boot/dts/qcom/shikra-cqm-som.dtsi | 1 -
> arch/arm64/boot/dts/qcom/shikra-iqs-som.dtsi | 1 -
> 2 files changed, 2 deletions(-)
Why would Linux need to access SPI5 if there is no user of it? Or is
there, but you skipped it?
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v1] arm64: dts: qcom: shikra: Unreserve GPIOs 14-17 blocking SPI5 access
2026-08-20 8:53 [PATCH v1] arm64: dts: qcom: shikra: Unreserve GPIOs 14-17 blocking SPI5 access Xueyao An
2026-08-20 9:34 ` Krzysztof Kozlowski
@ 2026-08-20 9:38 ` Abel Vesa
1 sibling, 0 replies; 3+ messages in thread
From: Abel Vesa @ 2026-08-20 9:38 UTC (permalink / raw)
To: Xueyao An
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-arm-msm, devicetree, linux-kernel
On 26-08-20 16:53:47, Xueyao An wrote:
> GPIOs 14-17 were previously reserved in the tlmm gpio-reserved-ranges,
> preventing Linux from accessing SPI5. Since there is no TZ use case for
> these pins on Linux, they can be safely unreserved. Removing them from
> the reserved list across all three Shikra EVK variants (CQM, CQS, IQS)
> resolves the SPI5 access issue.
>
> Signed-off-by: Xueyao An <xueyao.an@oss.qualcomm.com>
No fixes tag?
Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-08-20 9:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-20 8:53 [PATCH v1] arm64: dts: qcom: shikra: Unreserve GPIOs 14-17 blocking SPI5 access Xueyao An
2026-08-20 9:34 ` Krzysztof Kozlowski
2026-08-20 9:38 ` Abel Vesa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox