[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1476411017-21040-1-git-send-email-xiaogang@codeaurora.org>
Date: Fri, 14 Oct 2016 10:09:32 +0800
From: Xiaogang Cui <xiaogang@...eaurora.org>
To: andy.gross@...aro.org
Cc: Xiaogang Cui <xiaogang@...eaurora.org>,
David Brown <david.brown@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will.deacon@....com>,
linux-arm-msm@...r.kernel.org (open list:ARM/QUALCOMM SUPPORT),
linux-soc@...r.kernel.org (open list:ARM/QUALCOMM SUPPORT),
devicetree@...r.kernel.org (open list:OPEN FIRMWARE AND FLATTENED
DEVICE TREE BINDINGS),
linux-arm-kernel@...ts.infradead.org (moderated list:ARM64 PORT
(AARCH64 ARCHITECTURE)), linux-kernel@...r.kernel.org (open list)
Subject: [PATCH 2/2] arm64: dts: add msm8996 reboot mode support
Add reboot mode entry for MSM8996 platform.
Signed-off-by: Xiaogang Cui <xiaogang@...eaurora.org>
---
arch/arm64/boot/dts/qcom/pm8994.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/pm8994.dtsi b/arch/arm64/boot/dts/qcom/pm8994.dtsi
index 1222d2e..c9b14ab 100644
--- a/arch/arm64/boot/dts/qcom/pm8994.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm8994.dtsi
@@ -51,6 +51,14 @@
<0 0xa6 0 IRQ_TYPE_NONE>,
<0 0xa7 0 IRQ_TYPE_NONE>;
};
+
+ qcom,reboot-mode@88f {
+ compatible = "qcom,reboot-mode";
+ offset = <0x88f>;
+ mode-normal = <0x00>;
+ mode-recovery = <0x04>;
+ mode-bootloader = <0x08>;
+ };
};
pmic@1 {
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
Powered by blists - more mailing lists