OSDN Git Service

ARM: dts: msm: Add snapshot of power-on.h
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>
Fri, 8 Apr 2016 01:46:48 +0000 (18:46 -0700)
committerJeevan Shriram <jshriram@codeaurora.org>
Wed, 18 May 2016 20:40:47 +0000 (13:40 -0700)
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>
include/dt-bindings/msm/power-on.h [new file with mode: 0644]

diff --git a/include/dt-bindings/msm/power-on.h b/include/dt-bindings/msm/power-on.h
new file mode 100644 (file)
index 0000000..49f3767
--- /dev/null
@@ -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