diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2015-05-04 11:46:02 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-05-04 23:42:52 +0000 |
commit | 1abcdf9145eaa4508546190f76577289dcd04803 (patch) | |
tree | 0c3e8b75af126107d382eb51a259bce0a74e55c0 | |
parent | 305ab1e07f4ed41511c09c2cadd012bfd88d1380 (diff) | |
download | chrome-ec-1abcdf9145eaa4508546190f76577289dcd04803.tar.gz |
ryu: fix physical power button on P5
On P5, the lid detection interrupt has been hijacked to workaround the
power sequencing issue. So the lid state is sometimes inconsistent, so
we need to ignore the current lid state when the power button is
pressed, else we sometimes ignore the power-request by wrongly thinking
that the lid is closed.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BRANCH=none
BUG=chrome-os-partner:38689
TEST=on Ryu P5, switch on the system by pressing the power button either
on the servo board or the casing and see the system turning on.
Change-Id: I88b2e1f06ed8b4a155a42dac640f8b946db214ea
Reviewed-on: https://chromium-review.googlesource.com/269132
Trybot-Ready: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r-- | board/ryu_p4p5/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/ryu_p4p5/board.h b/board/ryu_p4p5/board.h index 6ded87e243..104e3d0fb9 100644 --- a/board/ryu_p4p5/board.h +++ b/board/ryu_p4p5/board.h @@ -67,6 +67,7 @@ #define CONFIG_POWER_COMMON #define CONFIG_POWER_BUTTON #define CONFIG_POWER_BUTTON_ACTIVE_STATE 1 +#define CONFIG_POWER_BUTTON_IGNORE_LID /* I2C ports configuration */ #define I2C_PORT_MASTER 0 |