summaryrefslogtreecommitdiff
path: root/zephyr/drivers/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-11-06 11:04:06 -0700
committerCommit Bot <commit-bot@chromium.org>2021-01-15 03:55:24 +0000
commitc3d4badd49ab9c6239c67ea67f566ee810796793 (patch)
treec2433a4b4b2f962652b8f26f075d1c8db2a408cc /zephyr/drivers/Kconfig
parentf3f18351567b7ac37724b5668285eaad4359b226 (diff)
downloadchrome-ec-c3d4badd49ab9c6239c67ea67f566ee810796793.tar.gz
drivers: add NPCX7 cros_kb_raw driver
NPCX keyboard scanning module is supported by up to 18 open-drain output signals and 8 input signals. Switch-based keyboard matrices are supported by Schmitt trigger inputs that have internal pull-up resistors. For power efficiency, the inputs include interrupt and wake-up capability so that pressing/releasing keys can be identified without scanning the keyboard matrix in either Active, Sleep or Deep Sleep power state. The CL also includes: — Add npcx cros_kb_raw device tree declarations. — cros_kb_raw api implementations - Enable Volteer keyboard scan task BRANCH=none BUG=b:167405015, b:172676906 TEST=build pass by zmake configure -B ./build projects/experimental/volteer. TEST=check all the keys on volteer platform by "ksstate". Change-Id: I1cbdaa0e81cbb4447daede82774711f4d50f613d Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Wealian Liao <whliao@nuvoton.corp-partner.google.com> Signed-off-by: Mulin Chao <MLChao@nuvoton.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/zephyr-chrome/+/2523940 Commit-Queue: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Yuval Peress <peress@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2630148 Tested-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'zephyr/drivers/Kconfig')
-rw-r--r--zephyr/drivers/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/zephyr/drivers/Kconfig b/zephyr/drivers/Kconfig
new file mode 100644
index 0000000000..cfffcea226
--- /dev/null
+++ b/zephyr/drivers/Kconfig
@@ -0,0 +1,4 @@
+# Copyright 2020 Google LLC
+# SPDX-License-Identifier: Apache-2.0
+
+rsource "cros_kb_raw/Kconfig"