From 031bb67e864ba2c5d681afab5ca517606eca7203 Mon Sep 17 00:00:00 2001 From: Fei Shao Date: Mon, 3 Aug 2020 19:13:07 +0800 Subject: krane: Allow MODE_CHANGE as wake source Base detach/attach and tablet mode on/off should wake Krane. BUG=b:162593812,b:128800600 BRANCH=kukui TEST=make buildall TEST=make -k BOARD=kukui TEST=test_that -b kukui $IP power_WakeSources Change-Id: I71e3e109e2bee5792f52ce61e2d7e9398394d7ea Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2336373 Commit-Queue: Fei Shao Tested-by: Fei Shao Reviewed-by: Ting Shen --- board/kukui/board.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'board/kukui') diff --git a/board/kukui/board.h b/board/kukui/board.h index 9624837a14..3320a53472 100644 --- a/board/kukui/board.h +++ b/board/kukui/board.h @@ -89,7 +89,8 @@ /* Define the host events which are allowed to wakeup AP in S3. */ #define CONFIG_MKBP_HOST_EVENT_WAKEUP_MASK \ (EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_OPEN) |\ - EC_HOST_EVENT_MASK(EC_HOST_EVENT_POWER_BUTTON)) + EC_HOST_EVENT_MASK(EC_HOST_EVENT_POWER_BUTTON) |\ + EC_HOST_EVENT_MASK(EC_HOST_EVENT_MODE_CHANGE)) /* MKBP */ #define CONFIG_MKBP_EVENT -- cgit v1.2.1