diff options
author | Devin Lu <devin.lu@quantatw.com> | 2020-04-08 10:59:34 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-04-08 15:26:13 +0000 |
commit | 3c81450a8d7eb20ad92caef6033a50a13273716c (patch) | |
tree | 0dbb1e872660fa1e4007eb875703826f855fc3a0 | |
parent | d44a2e17fcc0bfc09516d2fc4e30d654b4eb1864 (diff) | |
download | chrome-ec-3c81450a8d7eb20ad92caef6033a50a13273716c.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>
(cherry picked from commit dbfc6ded455817d6de0ddd9ecfe454bc564d0362)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2141376
Commit-Queue: Edward Hill <ecgh@chromium.org>
-rw-r--r-- | baseboard/grunt/baseboard.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/baseboard/grunt/baseboard.c b/baseboard/grunt/baseboard.c index 142b3b60ab..2c5d680235 100644 --- a/baseboard/grunt/baseboard.c +++ b/baseboard/grunt/baseboard.c @@ -477,8 +477,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, |