summaryrefslogtreecommitdiff
path: root/baseboard
diff options
context:
space:
mode:
authorZhuohao Lee <zhuohao@chromium.org>2022-10-28 15:33:35 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-10-28 11:22:34 +0000
commit61bf6760d456e4998745bebd72e53c9d7c8ec874 (patch)
treef529e443f581639c37375588938f70c44011fc84 /baseboard
parenta3e13f5f9bbe82f8e2893081f65ae14ec4fe37fb (diff)
downloadchrome-ec-61bf6760d456e4998745bebd72e53c9d7c8ec874.tar.gz
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 <zhuohao@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3990092 Tested-by: Matt Wang <matt_wang@compal.corp-partner.google.com> Reviewed-by: caveh jalali <caveh@chromium.org> Commit-Queue: Randy Wang <ifanw@google.com>
Diffstat (limited to 'baseboard')
-rw-r--r--baseboard/brask/baseboard.h2
1 files changed, 2 insertions, 0 deletions
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