diff mbox series

[1/1] arm64: dts: qcom: msm8994-angler: Fix gpio-reserved-ranges 85-88

Message ID 20210824190332.22657-1-petr.vorel@gmail.com
State New
Headers show
Series [1/1] arm64: dts: qcom: msm8994-angler: Fix gpio-reserved-ranges 85-88 | expand

Commit Message

Petr Vorel Aug. 24, 2021, 7:03 p.m. UTC
commit f890f89d9a80fffbfa7ca791b78927e5b8aba869 upstream.

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")

[ pvorel: rebased for 5.4: tlmm -> msmgpio ]
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20210415193913.1836153-1-petr.vorel@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
For 5.4.y

 arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Greg Kroah-Hartman Sept. 1, 2021, 9:32 a.m. UTC | #1
On Tue, Aug 24, 2021 at 09:03:31PM +0200, Petr Vorel wrote:
> commit f890f89d9a80fffbfa7ca791b78927e5b8aba869 upstream.

> 

> 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")

> 

> [ pvorel: rebased for 5.4: tlmm -> msmgpio ]

> Signed-off-by: Petr Vorel <petr.vorel@gmail.com>

> Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>

> Link: https://lore.kernel.org/r/20210415193913.1836153-1-petr.vorel@gmail.com

> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>

> Signed-off-by: Petr Vorel <pvorel@suse.cz>

> ---

> For 5.4.y

> 

>  arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts | 4 ++++

>  1 file changed, 4 insertions(+)


All queued up, thanks.

greg k-h
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts b/arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts
index a5f9a6ab512c..9b989cc30edc 100644
--- a/arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts
+++ b/arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts
@@ -30,3 +30,7 @@  serial@f991e000 {
 		};
 	};
 };
+
+&msmgpio {
+	gpio-reserved-ranges = <85 4>;
+};