diff options
| author | Linux Build Service Account <lnxbuild@quicinc.com> | 2017-12-14 00:14:44 -0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-12-14 00:14:44 -0800 |
| commit | e16178f1c0b45c06f640903275a80e95735ae0b3 (patch) | |
| tree | 413d237993ac6d1259f68a714b8bb81481cf0caf /include/linux/input | |
| parent | 55abb340e4d8693d0b3df79b737c550de3ceddb6 (diff) | |
| parent | 25c63fa374f6f23f948ad9c1ec9ed2a0962502e6 (diff) | |
Merge "drivers: power: reset: Do cold reset when doing oem reboot"
Diffstat (limited to 'include/linux/input')
| -rw-r--r-- | include/linux/input/qpnp-power-on.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/input/qpnp-power-on.h b/include/linux/input/qpnp-power-on.h index a2624ab57826..5944f0fd3414 100644 --- a/include/linux/input/qpnp-power-on.h +++ b/include/linux/input/qpnp-power-on.h @@ -51,6 +51,7 @@ enum pon_power_off_type { }; enum pon_restart_reason { + /* 0 ~ 31 for common defined features */ PON_RESTART_REASON_UNKNOWN = 0x00, PON_RESTART_REASON_RECOVERY = 0x01, PON_RESTART_REASON_BOOTLOADER = 0x02, @@ -58,6 +59,10 @@ enum pon_restart_reason { PON_RESTART_REASON_DMVERITY_CORRUPTED = 0x04, PON_RESTART_REASON_DMVERITY_ENFORCE = 0x05, PON_RESTART_REASON_KEYS_CLEAR = 0x06, + + /* 32 ~ 63 for OEMs/ODMs secific features */ + PON_RESTART_REASON_OEM_MIN = 0x20, + PON_RESTART_REASON_OEM_MAX = 0x3f, }; #ifdef CONFIG_INPUT_QPNP_POWER_ON |
