diff options
author | Keith Short <keithshort@chromium.org> | 2022-02-24 08:36:48 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-02-25 01:38:00 +0000 |
commit | 2f79338fee0c1ecf3964bd82f39cb2c319083f17 (patch) | |
tree | 86f7fe789efdbe6a243aea24a77fa090ebd5c235 /zephyr/Kconfig.keyboard | |
parent | fdd28a51a218d50d76caf833ec46cff61fc4a699 (diff) | |
download | chrome-ec-2f79338fee0c1ecf3964bd82f39cb2c319083f17.tar.gz |
zephyr: keyboard: set active low flag for column 2
Explicitly set the active low flag for the column 2 output pin. Modify
cros_kb_raw_set_col2() to drive the logic level instead of the physical
state of the pin when CONFIG_PLATFORM_EC_KEYBOARD_COL2_INVERTED is
enabled.
BUG=b:218904113
BRANCH=none
TEST=Verify all keypresses on herobrine using "ksstat on"
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: If6098226d5551c2a3aa8374f7b17e2fad396c006
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3488786
Reviewed-by: Al Semjonovs <asemjonovs@google.com>
Reviewed-by: Andrew McRae <amcrae@google.com>
Diffstat (limited to 'zephyr/Kconfig.keyboard')
-rw-r--r-- | zephyr/Kconfig.keyboard | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zephyr/Kconfig.keyboard b/zephyr/Kconfig.keyboard index df4520b4a0..2848aeae1c 100644 --- a/zephyr/Kconfig.keyboard +++ b/zephyr/Kconfig.keyboard @@ -114,6 +114,9 @@ config PLATFORM_EC_KEYBOARD_COL2_INVERTED Refresh key will also trigger T key, which is in the next scanning column line. See http://b/156007029. + Your board file must define the node alias "gpio-kbd-kso2" that points + to the GPIO pin used for the column 2 output. + config PLATFORM_EC_KEYBOARD_REFRESH_ROW3 bool "Move the refresh key matrix to row 3 instead of row 2" help |