* [PATCH v2 1/1] arm64: dts: qcom: angler: Reserve GPIO ranges
@ 2021-04-06 20:29 Petr Vorel
0 siblings, 0 replies; only message in thread
From: Petr Vorel @ 2021-04-06 20:29 UTC (permalink / raw)
To: linux-arm-msm
Cc: Petr Vorel, Andy Gross, Bjorn Andersson, Rob Herring,
Ricardo Ribalda, Linus Walleij, Konrad Dybcio, devicetree
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 boot after
3edfb7bd76bd ("gpiolib: Show correct direction from the beginning").
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
---
Changes v1->v2:
* Remove <0 4> (not needed)
* Remove from commit message: Fixes: 3edfb7bd76bd ("gpiolib: Show
correct direction from the beginning") - although fix is needed after
3edfb7bd76bd, I'm not sure if this commit is to blame commits which
added/modified DTS.
Kind regards,
Petr
arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts | 5 +++++
1 file changed, 5 insertions(+)
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 baa55643b40f..fd8e8e1cb2be 100644
--- a/arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts
+++ b/arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (c) 2015, Huawei Inc. All rights reserved.
* Copyright (c) 2016, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2021 Petr Vorel <petr.vorel@gmail.com>
*/
/dts-v1/;
@@ -32,3 +33,7 @@ serial@f991e000 {
};
};
};
+
+&tlmm {
+ gpio-reserved-ranges = <85 4>;
+};
--
2.30.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-06 20:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-06 20:29 [PATCH v2 1/1] arm64: dts: qcom: angler: Reserve GPIO ranges Petr Vorel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).