summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>2016-04-07 18:46:48 -0700
committerJeevan Shriram <jshriram@codeaurora.org>2016-05-18 13:40:47 -0700
commita2fbdffc0d0baeca2fc9b0bd66edb1a53fa9eee1 (patch)
tree265a38fe6b91c91cc00d826a0d08a579e6287f66 /include
parenta4663702036e6b0ae9b82691027d9913d65d7a02 (diff)
ARM: dts: msm: Add snapshot of power-on.h
This DT bindings header file snapshot is taken as of msm-3.18 'commit 0b20839e37187 ("Merge "slim-msm: Synchronize SSR callbacks"")'. CRs-Fixed: 1001210 Change-Id: Ic132efb650d4e8de561c3d1f95a281afeef4ce42 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/dt-bindings/msm/power-on.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/dt-bindings/msm/power-on.h b/include/dt-bindings/msm/power-on.h
new file mode 100644
index 000000000000..49f37674bd5a
--- /dev/null
+++ b/include/dt-bindings/msm/power-on.h
@@ -0,0 +1,22 @@
+/* Copyright (c) 2015, The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef __MSM_POWER_ON_H__
+#define __MSM_POWER_ON_H__
+
+#define PON_POWER_OFF_RESERVED 0x00
+#define PON_POWER_OFF_WARM_RESET 0x01
+#define PON_POWER_OFF_SHUTDOWN 0x04
+#define PON_POWER_OFF_HARD_RESET 0x07
+#define PON_POWER_OFF_MAX_TYPE 0x10
+
+#endif