diff options
author | Peter Marheine <pmarheine@chromium.org> | 2020-12-30 16:54:19 +1100 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-01-05 00:51:24 +0000 |
commit | 45de6930052039b25a980b5eacaf6309cba946b1 (patch) | |
tree | dd23e4bab007762b92159ba9e59acf13e376d7a3 /board/trembyle | |
parent | 5ff18dfd6ab67df2e62c6af9f20ed472808de707 (diff) | |
download | chrome-ec-45de6930052039b25a980b5eacaf6309cba946b1.tar.gz |
zork: use MKBP GPIO & host event for wake on DP
GPIO-only MKBP only works when the AP is awake; we need to use
GPIO_AND_HOST_EVENT in order to support waking the AP in response to
MKBP events; in particular DP_ALT_MODE_ENTERED.
We also configure the MKBP wakeup mask so powerd can apply configuration
at runtime per chromeos-config: if no mask is configured then the
hostcmd to set the wakeup mask is not included in the firmware.
Wake on MKBP (and thus wake on DP) also requires AP firmware support.
https://review.coreboot.org/c/coreboot/+/48844 implements it for Zork.
BUG=b:174121852
TEST=Generating DP event via EC console on morphius with patched AP
firmware successfully wakes system from S3.
BRANCH=zork
Signed-off-by: Peter Marheine <pmarheine@chromium.org>
Change-Id: Ifb193399259674da17694aac5213bfd1f189ee59
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2607026
Reviewed-by: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'board/trembyle')
-rw-r--r-- | board/trembyle/board.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/board/trembyle/board.h b/board/trembyle/board.h index 7a28379233..4cb79f4188 100644 --- a/board/trembyle/board.h +++ b/board/trembyle/board.h @@ -14,7 +14,6 @@ #include "baseboard.h" #define CONFIG_USBC_RETIMER_PI3DPX1207 -#define CONFIG_MKBP_USE_GPIO /* Motion sensing drivers */ #define CONFIG_ACCELGYRO_BMI160 |