diff options
author | Zhuohao Lee <zhuohao@chromium.org> | 2022-05-13 10:53:45 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-05-16 04:41:45 +0000 |
commit | 97da657e666ec812d12be74dffb27b7985d66061 (patch) | |
tree | 39fa5a7e5253ac28e1fb7a00ff61a587d22d64c3 | |
parent | ce210663f31cde61384adad6b4c4f80bbe9e7d0e (diff) | |
download | chrome-ec-97da657e666ec812d12be74dffb27b7985d66061.tar.gz |
brask: Use GPIO and host event when generating MKBP events
The power button of the brask is passing via the MKBP event.
After landing the http://crrev/c/3570523, the deptcharge would
wait for the EC_PCH_INT_ODL interrupt to trigger the MKBP event.
As a result, we need to follow this http://crrev/c/3544873 to
add the MKBP interrupt to avoid the missing power button key
event in the recovery mode.
BUG=b:209707579
BRANCH=none
TEST=test_that -b brask ${IP} firmware_ECPowerButton
Change-Id: I59879d47399768ea1e4165ada71eafe6f64f1842
Signed-off-by: Zhuohao Lee <zhuohao@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3647088
Tested-by: ChiJen Chen <chi-jen.chen@quanta.corp-partner.google.com>
Reviewed-by: Subrata Banik <subratabanik@chromium.org>
-rw-r--r-- | baseboard/brask/baseboard.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/baseboard/brask/baseboard.h b/baseboard/brask/baseboard.h index 14bd373ed5..a38606e351 100644 --- a/baseboard/brask/baseboard.h +++ b/baseboard/brask/baseboard.h @@ -100,7 +100,7 @@ /* Matrix Keyboard Protocol */ #define CONFIG_MKBP_EVENT #define CONFIG_MKBP_INPUT_DEVICES -#define CONFIG_MKBP_USE_HOST_EVENT +#define CONFIG_MKBP_USE_GPIO_AND_HOST_EVENT /* Thermal features */ #define CONFIG_DPTF |