Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: qcom: glymur: Add psci reboot-mode edl
@ 2026-05-05 13:37 Pankaj Patil
  2026-05-10  3:28 ` Bjorn Andersson
  0 siblings, 1 reply; 2+ messages in thread
From: Pankaj Patil @ 2026-05-05 13:37 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel, Pankaj Patil

Add PSCI SYSTEM_RESET2 reboot-modes for glymur to be invoked by the psci
reboot-mode driver.

The following modes are defined:
- edl: reboot into emergency download mode for image loading via
the Firehose protocol.

Support for these modes is dependent on the psci firmware

Signed-off-by: Pankaj Patil <pankaj.patil@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/glymur-crd.dtsi | 6 ++++++
 arch/arm64/boot/dts/qcom/glymur.dtsi     | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/glymur-crd.dtsi b/arch/arm64/boot/dts/qcom/glymur-crd.dtsi
index 2852d257ac8c..397519e95ca1 100644
--- a/arch/arm64/boot/dts/qcom/glymur-crd.dtsi
+++ b/arch/arm64/boot/dts/qcom/glymur-crd.dtsi
@@ -560,6 +560,12 @@ &pon_resin {
 	status = "okay";
 };
 
+&psci {
+	reboot-mode {
+		mode-edl = <0x80000000 0x1>;
+	};
+};
+
 &tlmm {
 	gpio-reserved-ranges = <4 4>, /* EC TZ Secure I3C */
 			       <10 2>, /* OOB UART */
diff --git a/arch/arm64/boot/dts/qcom/glymur.dtsi b/arch/arm64/boot/dts/qcom/glymur.dtsi
index f23cf81ddb77..7f426efe40ab 100644
--- a/arch/arm64/boot/dts/qcom/glymur.dtsi
+++ b/arch/arm64/boot/dts/qcom/glymur.dtsi
@@ -382,7 +382,7 @@ pmu {
 		interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW>;
 	};
 
-	psci {
+	psci: psci {
 		compatible = "arm,psci-1.0";
 		method = "smc";
 

---
base-commit: 9d0d467c3572e93c5faa2e5906a8bbcd70b24efd
change-id: 20260407-glymur_reboot_mode-4441770e6a8a
prerequisite-message-id: <20260427-arm-psci-system_reset2-vendor-reboots-v21-0-dcf937775e73@oss.qualcomm.com>
prerequisite-patch-id: 70829f19896a982ef4ac19fa82bf571b9eb6defa
prerequisite-patch-id: 600337ba5717c51204c4f426acb28bd6287e56ec
prerequisite-patch-id: e7a6e85c94e35b71c9813c322e811a270233c854
prerequisite-patch-id: 7bb3e4b151f32129e8ce5d3c1015150cbd741d13
prerequisite-patch-id: a61561c5070b9485399a840ff48252842393f01a
prerequisite-patch-id: c7f5c86cf5f88c6d5dd576565bcce25ee3848b19
prerequisite-patch-id: e4d851cd0a6dfb96d62e4c9d3ebfa1422b9571a6
prerequisite-patch-id: e6ffbbec586e6c4b508bd366615e33928a910190
prerequisite-patch-id: 8ae267aee51f48992d2232f18dc5795b08fd8e54
prerequisite-patch-id: 10b585e49a96767c3324c9e3c623a4716a641fda
prerequisite-patch-id: 5abbfae8b6577899e0423b36b4690adf1046cac2
prerequisite-patch-id: edb89ac23b7a3d5ade9b9cc1e1a77ee4d1a663cf
prerequisite-patch-id: 555f1b64be3631d6286f2f1e140dc38c6935d646

Best regards,
-- 
Pankaj Patil <pankaj.patil@oss.qualcomm.com>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-05-10  3:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-05 13:37 [PATCH] arm64: dts: qcom: glymur: Add psci reboot-mode edl Pankaj Patil
2026-05-10  3:28 ` Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox