summaryrefslogtreecommitdiff
path: root/baseboard/grunt
diff options
context:
space:
mode:
authorDevin Lu <devin.lu@quantatw.com>2020-04-08 10:59:34 +0800
committerCommit Bot <commit-bot@chromium.org>2020-04-08 09:50:10 +0000
commitdbfc6ded455817d6de0ddd9ecfe454bc564d0362 (patch)
treee5e6dd3e10befa45d5b14f199fceb4e05ca920dd /baseboard/grunt
parentc5242b3d910f611493e93ab11dddc2ae236dfa59 (diff)
downloadchrome-ec-dbfc6ded455817d6de0ddd9ecfe454bc564d0362.tar.gz
grunt/baseboard: Slow keyboard scan rate
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=grunt TEST=make sure defect unit will not output t Key while pressing F3 key. Change-Id: I9548ccc2368ac7be5ea566577a479e98291efb29 Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2141372 Reviewed-by: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'baseboard/grunt')
-rw-r--r--baseboard/grunt/baseboard.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/baseboard/grunt/baseboard.c b/baseboard/grunt/baseboard.c
index 82bf063bf9..88b223a0fa 100644
--- a/baseboard/grunt/baseboard.c
+++ b/baseboard/grunt/baseboard.c
@@ -485,8 +485,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,