summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Wawrzynczak <twawrzynczak@chromium.org>2020-01-30 08:53:22 -0700
committerCommit Bot <commit-bot@chromium.org>2020-01-30 22:27:19 +0000
commit04df9fbbf4953f0f3afbfca8f8cb656bb41146b4 (patch)
treefade2fe6be25dc3af7da1bb9aea089f90972c87c
parente6d61bac16b9b7b709d20a8e83177afce27d6e4e (diff)
downloadchrome-ec-04df9fbbf4953f0f3afbfca8f8cb656bb41146b4.tar.gz
hatch: Use GPIO and host event when generating MKBP events
For waking the system from suspend, the plan is to use the host event (SCI) to perform the wakeup, and use the GPIO for IRQ signalling, following nocturne's example. BUG=b:144122000 BRANCH=firmware-hatch-12672.B TEST=with corresponding coreboot change, verify that the AP will wake on connection of a DisplayPort monitor. Change-Id: Ifcd144777b7e40941327958ccfb931c8a7137887 Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2031264 Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org> Reviewed-by: Scott Collyer <scollyer@chromium.org>
-rw-r--r--baseboard/hatch/baseboard.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/baseboard/hatch/baseboard.h b/baseboard/hatch/baseboard.h
index ffe104c7bf..063b401f28 100644
--- a/baseboard/hatch/baseboard.h
+++ b/baseboard/hatch/baseboard.h
@@ -68,7 +68,7 @@
/* Sensors */
#define CONFIG_MKBP_EVENT
-#define CONFIG_MKBP_USE_GPIO
+#define CONFIG_MKBP_USE_GPIO_AND_HOST_EVENT
#define CONFIG_DYNAMIC_MOTION_SENSOR_COUNT
/* I2C_PORT_ACCEL needs to be defined for i2c transactions */
#define I2C_PORT_ACCEL I2C_PORT_SENSOR