Skip to content

Commit df77288

Browse files
superna9999andersson
authored andcommitted
arm64: dts: qcom: sm8650-mtp: add gpio74 as reserved gpio
The TLMM gpio74 is also used to communicate with the secure NFC on-board module, some variants of the SM8650-MTP board 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. Fixes: 6fbdb3c ("arm64: dts: qcom: sm8650: add initial SM8650 MTP dts") Reported-by: Georgi Djakov <djakov@kernel.org> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Tested-by: Georgi Djakov <quic_c_gdjako@quicinc.com> Reviewed-by: Elliot Berman <quic_eberman@quicinc.com> Link: https://lore.kernel.org/r/20240111-topic-sm8650-upstream-qrd-fix-gpio-reserved-v1-2-fad39b4c5def@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 361bb7c commit df77288

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/arm64/boot/dts/qcom/sm8650-mtp.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@
622622

623623
&tlmm {
624624
/* Reserved I/Os for NFC */
625-
gpio-reserved-ranges = <32 8>;
625+
gpio-reserved-ranges = <32 8>, <74 1>;
626626

627627
disp0_reset_n_active: disp0-reset-n-active-state {
628628
pins = "gpio133";

0 commit comments

Comments
 (0)