linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: xiaogang@codeaurora.org (Xiaogang Cui)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] arm64: dts: add msm8996 reboot mode support
Date: Fri, 14 Oct 2016 10:09:32 +0800	[thread overview]
Message-ID: <1476411017-21040-1-git-send-email-xiaogang@codeaurora.org> (raw)

Add reboot mode entry for MSM8996 platform.

Signed-off-by: Xiaogang Cui <xiaogang@codeaurora.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 at 88f {
+			compatible = "qcom,reboot-mode";
+			offset = <0x88f>;
+			mode-normal = <0x00>;
+			mode-recovery = <0x04>;
+			mode-bootloader = <0x08>;
+		};
 	};
 
 	pmic at 1 {
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

                 reply	other threads:[~2016-10-14  2:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1476411017-21040-1-git-send-email-xiaogang@codeaurora.org \
    --to=xiaogang@codeaurora.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).