[PATCH v1] arm64: dts: qcom: shikra: Unreserve GPIOs 14-17 blocking SPI5 access

Xueyao An posted 1 patch 1 month, 1 week ago
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(-)
[PATCH v1] arm64: dts: qcom: shikra: Unreserve GPIOs 14-17 blocking SPI5 access
Posted by Xueyao An 1 month, 1 week ago
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
Re: [PATCH v1] arm64: dts: qcom: shikra: Unreserve GPIOs 14-17 blocking SPI5 access
Posted by Bjorn Andersson 3 weeks, 4 days ago
On Thu, 20 Aug 2026 16:53:47 +0800, 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.
> 
> 
> [...]

Applied, thanks!

[1/1] arm64: dts: qcom: shikra: Unreserve GPIOs 14-17 blocking SPI5 access
      commit: cc7b14be66ed27cab379c09918a6ad40a0c4fded

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>
Re: [PATCH v1] arm64: dts: qcom: shikra: Unreserve GPIOs 14-17 blocking SPI5 access
Posted by Abel Vesa 1 month, 1 week ago
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>
Re: [PATCH v1] arm64: dts: qcom: shikra: Unreserve GPIOs 14-17 blocking SPI5 access
Posted by Krzysztof Kozlowski 1 month, 1 week ago
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