2024-01-11 17:04:19

by Neil Armstrong

[permalink] [raw]
Subject: [PATCH 0/2] arm64: dts: qcom: sm8650: mark gpio74 as reserved

The TLMM gpio74 is also used to communicate with the secure NFC
on-board module, some variants of the SM8650 QRD & MTP boards requires
this GPIO to be dedicated to the secure firmware and set reserved
in order to successfully initialize the TLMM GPIOs from HLOS (Linux).
On the other boards this GPIO is unused so it's still safe to mark
the GPIO as reserved.

Signed-off-by: Neil Armstrong <[email protected]>
---
Neil Armstrong (2):
arm64: dts: qcom: sm8650-qrd: add gpio74 as reserved gpio
arm64: dts: qcom: sm8650-mtp: add gpio74 as reserved gpio

arch/arm64/boot/dts/qcom/sm8650-mtp.dts | 2 +-
arch/arm64/boot/dts/qcom/sm8650-qrd.dts | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
base-commit: bffdfd2e7e63175ae261131a620f809d946cf9a7
change-id: 20240111-topic-sm8650-upstream-qrd-fix-gpio-reserved-1c3d56c2d3e8

Best regards,
--
Neil Armstrong <[email protected]>



2024-01-11 19:55:56

by Elliot Berman

[permalink] [raw]
Subject: Re: [PATCH 0/2] arm64: dts: qcom: sm8650: mark gpio74 as reserved



On 1/11/2024 8:58 AM, Neil Armstrong wrote:
> The TLMM gpio74 is also used to communicate with the secure NFC
> on-board module, some variants of the SM8650 QRD & MTP boards requires
> this GPIO to be dedicated to the secure firmware and set reserved
> in order to successfully initialize the TLMM GPIOs from HLOS (Linux).
> On the other boards this GPIO is unused so it's still safe to mark
> the GPIO as reserved.
>
> Signed-off-by: Neil Armstrong <[email protected]>

Double checked these and no others currently are also reserved.

Reviewed-by: Elliot Berman <[email protected]>

> ---
> Neil Armstrong (2):
> arm64: dts: qcom: sm8650-qrd: add gpio74 as reserved gpio
> arm64: dts: qcom: sm8650-mtp: add gpio74 as reserved gpio
>
> arch/arm64/boot/dts/qcom/sm8650-mtp.dts | 2 +-
> arch/arm64/boot/dts/qcom/sm8650-qrd.dts | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
> ---
> base-commit: bffdfd2e7e63175ae261131a620f809d946cf9a7
> change-id: 20240111-topic-sm8650-upstream-qrd-fix-gpio-reserved-1c3d56c2d3e8
>
> Best regards,

2024-01-28 18:14:21

by Bjorn Andersson

[permalink] [raw]
Subject: Re: [PATCH 0/2] arm64: dts: qcom: sm8650: mark gpio74 as reserved


On Thu, 11 Jan 2024 17:58:48 +0100, Neil Armstrong wrote:
> The TLMM gpio74 is also used to communicate with the secure NFC
> on-board module, some variants of the SM8650 QRD & MTP boards requires
> this GPIO to be dedicated to the secure firmware and set reserved
> in order to successfully initialize the TLMM GPIOs from HLOS (Linux).
> On the other boards this GPIO is unused so it's still safe to mark
> the GPIO as reserved.
>
> [...]

Applied, thanks!

[1/2] arm64: dts: qcom: sm8650-qrd: add gpio74 as reserved gpio
commit: 361bb7c961403173be109d8892f3c23096dc098d
[2/2] arm64: dts: qcom: sm8650-mtp: add gpio74 as reserved gpio
commit: df77288f7e3accf246785c53cd5f117fc5d81611

Best regards,
--
Bjorn Andersson <[email protected]>