diff options
author | Parth Malkan <parthmalkan@google.com> | 2022-02-14 18:46:47 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-02-18 23:24:52 +0000 |
commit | cafd367d2c79d94b6c8eb9f486228cd556b21d1e (patch) | |
tree | 822c7fcdf04b7f3afbe32ccee336e56f9b04dcbf /zephyr/Kconfig.keyboard | |
parent | ff2b02502fd2cabebb380839f0e801f28f76034c (diff) | |
download | chrome-ec-cafd367d2c79d94b6c8eb9f486228cd556b21d1e.tar.gz |
taniks: Create a new keyscan config field
This change adds a new config suggesting adc based ksi lines
to support antighosting feature.
It also adds a keyscan_config field to track threshold adc voltage
above which key should be identified as pressed.
BUG=b:208773873
TEST=make -j buildall
BRANCH=none
Signed-off-by: Parth Malkan <parthmalkan@google.com>
Change-Id: I5c8b89ea6be5994867ca4779fa0d6bd88f0cdcd2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3463081
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.keyboard')
-rw-r--r-- | zephyr/Kconfig.keyboard | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zephyr/Kconfig.keyboard b/zephyr/Kconfig.keyboard index de577bbe75..74ac29ee45 100644 --- a/zephyr/Kconfig.keyboard +++ b/zephyr/Kconfig.keyboard @@ -122,6 +122,13 @@ config PLATFORM_EC_KEYBOARD_REFRESH_ROW3 matrix to row 3. This is used by the boot key detection code to determine if the refresh key is held down at boot. +config PLATFORM_EC_KEYBOARD_SCAN_ANTIGHOST_ADC + bool "Keyboard supports antighost feature" + help + Enable this to support anti-ghost feature. KSI lines need to be + connected to adc channels to identify key presses by reading adc + voltage. + config PLATFORM_EC_VOLUME_BUTTONS bool "Board has volume-up and volume-down buttons" help |