Skip to contentSkip to conversation

nexus: Fix gpio-reserved-ranges 85-88

PATCH In review Petr Vorel 2 participants 3 messages Apr 15, 2021

Subsystems (3)
lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

PATCH v3 1/1 nexus: Fix gpio-reserved-ranges 85-88

Reserve GPIO pins 85-88 as these aren't meant to be accessible from the application CPUs (causes reboot). Yet another fix similar to 9134586715e3, 5f8d3ab136d0, which is needed to allow angler to boot after 3edfb7bd76bd ("gpiolib: Show correct direction from the beginning").

Fixes feeaf56ac78d ("arm64: dts: msm8994 SoC and Huawei Angler (Nexus 6P) support")

---
Hi,

NOTE: as I wrote there is also problem with 86588296acbf ("fdt: Properly handle "no-map" field in the memory region") from v5.12-rc1-dontuse, but that's another story.

Kind regards,
Petr

 arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts +4 -0
index baa55643b40f..ffe1a9bd8f70 100644
@@ -32,3 +32,7 @@ serial@f991e000 {
 		};
 	};
 };
+
+&tlmm {
+	gpio-reserved-ranges = <85 4>;
+};
Signature · 1 line
2.31.1
Reviewed-by on v3 1/1
#1 lore raw

Hi,

the patch title should be:

arm64: dts: qcom: angler: <blurb>

or

arm64: dts: qcom: msm8994-angler:

But that's a nit, that could probably be fixed when applying. Otherwise, if the device now works:

Konrad

author
#2 lore raw

Hi Konrad,

Quoted 9 lines

Hi,

the patch title should be:

arm64: dts: qcom: angler: <blurb>

or

arm64: dts: qcom: msm8994-angler:

I'm sorry for this error, I'll send v4. Thanks for spotting this.

Quoted 3 lines

But that's a nit, that could probably be fixed when applying. Otherwise, if the device now works:

Well, as I wrote, it works till 86588296acbf (from v5.12-rc1-dontuse), which will take me some time to figure out why. But this commit is valid, thus I dare to add your Reviewed-by in that v4.

Kind regards,
Petr

Quoted 1 line

Konrad