From 61bf6760d456e4998745bebd72e53c9d7c8ec874 Mon Sep 17 00:00:00 2001 From: Zhuohao Lee Date: Fri, 28 Oct 2022 15:33:35 +0800 Subject: brask: customize the button debounce time To avoid the EC reset signal coming from the H1 breaks the SOC power rails requirement, we increase the button debounce time from 30ms to 100ms. This can workaround the power sequence problem when user follows the recovery guidance in the official document. BUG=b:255963865 BRANCH=none TEST=The device can boot to the recovery mode successfully. Change-Id: Ifc4c7d9892069124b0cfb05d9799ce38ae0c78cf Signed-off-by: Zhuohao Lee Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3990092 Tested-by: Matt Wang Reviewed-by: caveh jalali Commit-Queue: Randy Wang --- baseboard/brask/baseboard.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'baseboard') diff --git a/baseboard/brask/baseboard.h b/baseboard/brask/baseboard.h index 83a02bec2e..3fb3a5955f 100644 --- a/baseboard/brask/baseboard.h +++ b/baseboard/brask/baseboard.h @@ -96,6 +96,8 @@ #define CONFIG_POWER_BUTTON_IGNORE_LID #define CONFIG_POWER_BUTTON_INIT_IDLE #define CONFIG_POWER_BUTTON_X86 +#undef CONFIG_BUTTON_DEBOUNCE +#define CONFIG_BUTTON_DEBOUNCE (100 * MSEC) /* Matrix Keyboard Protocol */ #define CONFIG_MKBP_EVENT -- cgit v1.2.1