summaryrefslogtreecommitdiff
path: root/baseboard/zork/baseboard.c
diff options
context:
space:
mode:
authorDevin Lu <devin.lu@quantatw.com>2020-04-16 21:20:11 +0800
committerCommit Bot <commit-bot@chromium.org>2020-04-17 01:31:25 +0000
commitd8993c5407e32334cac95d056b0036f399e20b4b (patch)
treeaec4b4a3ccfb5602fe246aca176c24e71c587b36 /baseboard/zork/baseboard.c
parent2f0b41555ceb7737bfd2bc1dd5258394a007da9a (diff)
downloadchrome-ec-d8993c5407e32334cac95d056b0036f399e20b4b.tar.gz
zork/baseboard: Slow keyboard scan rate
Apply CL:2141372 to zork family. Slow the keyboard scan rate from 60 us to 80 us. This compensates the additional delay added to the KBO line by H1. BUG=b:153470574 BRANCH=none TEST=make sure defect unit will not output t Key while pressing F3 key. Change-Id: Ia80dfaf6bd2c693c35185d3009d46f40d8c78e2b Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2152037 Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'baseboard/zork/baseboard.c')
-rw-r--r--baseboard/zork/baseboard.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/baseboard/zork/baseboard.c b/baseboard/zork/baseboard.c
index ba7b55ed19..b55898f5e5 100644
--- a/baseboard/zork/baseboard.c
+++ b/baseboard/zork/baseboard.c
@@ -373,8 +373,13 @@ void board_set_charge_limit(int port, int supplier, int charge_ma,
/* Keyboard scan setting */
struct keyboard_scan_config keyscan_config = {
- /* Extra delay when KSO2 is tied to Cr50. */
- .output_settle_us = 60,
+ /*
+ * F3 key scan cycle completed but scan input is not
+ * charging to logic high when EC start scan next
+ * column for "T" key, so we set .output_settle_us
+ * to 80us
+ */
+ .output_settle_us = 80,
.debounce_down_us = 6 * MSEC,
.debounce_up_us = 30 * MSEC,
.scan_period_us = 1500,