diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2014-07-10 11:41:14 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-07-29 02:20:54 +0000 |
commit | a36a871d12dbb265e33023849ba72e3878125eb3 (patch) | |
tree | 6baa2364b1245ecf15a521d0c24ed65f14f06d43 /include | |
parent | e9d8a8cfb5d4088c2af806d6bc4261792cff3355 (diff) | |
download | chrome-ec-a36a871d12dbb265e33023849ba72e3878125eb3.tar.gz |
tegra: Support firmware long-press power off timer
Some PMIC chip (e.g. TPS65913) doesn't support the 8-second long key
press power-off. For this, we have to check the state of the power
button in firmware, and do not assert PMIC_PWRON during the shutdown
sequence to prevent the AP from restarting.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BRANCH=none
BUG=none
TEST=with the next CL, on Ryu, do a long power button key press, and see
the AP powering off and not restarting.
Change-Id: I03f703b4ff6d86edea150dfa32f60d30f1ddffd9
Reviewed-on: https://chromium-review.googlesource.com/207381
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Tested-by: Vic Yang <victoryang@chromium.org>
Commit-Queue: Vic Yang <victoryang@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index 0b5132e8ab..cca4f75d30 100644 --- a/include/config.h +++ b/include/config.h @@ -297,6 +297,12 @@ #define CONFIG_CHIPSET_HAS_PP5000 /*****************************************************************************/ +/* PMIC config */ + +/* Support firmware long press power-off timer */ +#undef CONFIG_PMIC_FW_LONG_PRESS_TIMER + +/*****************************************************************************/ /* * Optional console commands * |