Skip to contentSkip to conversation

arm64: dts: qcom: angler: Reserve GPIO ranges

PATCH New Petr Vorel 1 participant 1 message Apr 6, 2021

Subsystems (3)
lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

PATCH v2 1/1 arm64: dts: qcom: angler: Reserve GPIO ranges

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

---
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(+)
arch/arm64/boot/dts/qcom/msm8994-angler-rev-101.dts +5 -0
index baa55643b40f..fd8e8e1cb2be 100644
@@ -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 <[email protected]>
  */
 
 /dts-v1/;
@@ -32,3 +33,7 @@ serial@f991e000 {
 		};
 	};
 };
+
+&tlmm {
+	gpio-reserved-ranges = <85 4>;
+};
Signature · 1 line
2.30.2