mbox series

[0/2] arm64: dts: qcom: sm8650: mark gpio74 as reserved

Message ID 20240111-topic-sm8650-upstream-qrd-fix-gpio-reserved-v1-0-fad39b4c5def@linaro.org (mailing list archive)
Headers show
Series arm64: dts: qcom: sm8650: mark gpio74 as reserved | expand

Message

Neil Armstrong Jan. 11, 2024, 4:58 p.m. UTC
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 <neil.armstrong@linaro.org>
---
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,

Comments

Elliot Berman Jan. 11, 2024, 7:55 p.m. UTC | #1
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 <neil.armstrong@linaro.org>

Double checked these and no others currently are also reserved.

Reviewed-by: Elliot Berman <quic_eberman@quicinc.com>

> ---
> 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,
Bjorn Andersson Jan. 28, 2024, 6:13 p.m. UTC | #2
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,