From a2fbdffc0d0baeca2fc9b0bd66edb1a53fa9eee1 Mon Sep 17 00:00:00 2001 From: Subbaraman Narayanamurthy Date: Thu, 7 Apr 2016 18:46:48 -0700 Subject: [PATCH] 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 --- include/dt-bindings/msm/power-on.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 include/dt-bindings/msm/power-on.h 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 -- 2.11.0