From 04df9fbbf4953f0f3afbfca8f8cb656bb41146b4 Mon Sep 17 00:00:00 2001 From: Tim Wawrzynczak Date: Thu, 30 Jan 2020 08:53:22 -0700 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2031264 Reviewed-by: Paul Fagerburg Reviewed-by: Scott Collyer --- baseboard/hatch/baseboard.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1