[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1597776856-12014-5-git-send-email-eberman@codeaurora.org>
Date: Tue, 18 Aug 2020 11:54:16 -0700
From: Elliot Berman <eberman@...eaurora.org>
To: Sebastian Reichel <sre@...nel.org>,
Andy Yan <andy.yan@...k-chips.com>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Andy Gross <agross@...nel.org>,
Rob Herring <robh+dt@...nel.org>
Cc: Elliot Berman <eberman@...eaurora.org>, linux-pm@...r.kernel.org,
linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, Trilok Soni <tsoni@...eaurora.org>,
Prasad Sodagudi <psodagud@...eaurora.org>
Subject: [RESEND PATCH v1 4/4] arm64: dts: qcom: pm8150: Add reboot magic
Add reboot command magic values for pm8150 pon device.
Signed-off-by: Elliot Berman <eberman@...eaurora.org>
---
arch/arm64/boot/dts/qcom/pm8150.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/pm8150.dtsi b/arch/arm64/boot/dts/qcom/pm8150.dtsi
index 1b64069..afd6231 100644
--- a/arch/arm64/boot/dts/qcom/pm8150.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm8150.dtsi
@@ -50,6 +50,11 @@
pon: power-on@800 {
compatible = "qcom,pm8916-pon";
reg = <0x0800>;
+
+ reboot-mode-names = "bootloader", "recovery",
+ "dm-verity device corrupted";
+ reboot-mode-magic = <0x1>, <0x2>, <0x4>;
+
pwrkey {
compatible = "qcom,pm8941-pwrkey";
interrupts = <0x0 0x8 0x0 IRQ_TYPE_EDGE_BOTH>;
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
Powered by blists - more mailing lists