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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
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@xxxxxxxxx>
  */
 
 /dts-v1/;
@@ -32,3 +33,7 @@ serial@f991e000 {
 		};
 	};
 };
+
+&tlmm {
+	gpio-reserved-ranges = <85 4>;
+};
-- 
2.30.2




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux