diff options
author | Eric Yilun Lin <yllin@chromium.org> | 2021-05-04 17:13:31 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-06-03 07:41:33 +0000 |
commit | f75b7d2deed1c5f25ee3df2b4e4ceb77c20cf3d3 (patch) | |
tree | 13a086cacac45e5d4d9d3bced953b6949cb7aee6 | |
parent | 41956ca52c360b7442af6d891c7dbeb1fdb5a99d (diff) | |
download | chrome-ec-f75b7d2deed1c5f25ee3df2b4e4ceb77c20cf3d3.tar.gz |
asurada: config MKBP host event wake source.
To explicitly exclude the DP enter mode event as wake source,
and allow keyboard matrix and host event.
BUG=b:187159670
TEST=verify DP enter mode event won't wake the system from suspend
BRANCH=asurada
Change-Id: If8f2258579f26ebbb3f521d0614854fe31dc1bad
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2870891
Tested-by: Eric Yilun Lin <yllin@google.com>
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Eric Yilun Lin <yllin@google.com>
-rw-r--r-- | baseboard/asurada/baseboard.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/baseboard/asurada/baseboard.h b/baseboard/asurada/baseboard.h index 5d9600729c..4cf9c876cd 100644 --- a/baseboard/asurada/baseboard.h +++ b/baseboard/asurada/baseboard.h @@ -179,6 +179,11 @@ EC_HOST_EVENT_MASK(EC_HOST_EVENT_MODE_CHANGE) | \ EC_HOST_EVENT_MASK(EC_HOST_EVENT_POWER_BUTTON)) +/* And the MKBP events */ +#define CONFIG_MKBP_EVENT_WAKEUP_MASK \ + (BIT(EC_MKBP_EVENT_KEY_MATRIX) | \ + BIT(EC_MKBP_EVENT_HOST_EVENT)) + /* GPIO name remapping */ #define GPIO_EN_HDMI_PWR GPIO_EC_X_GPIO1 #define GPIO_USB_C1_FRS_EN GPIO_EC_X_GPIO1 |