summaryrefslogtreecommitdiff
path: root/zephyr/drivers/cros_kb_raw/Kconfig
diff options
context:
space:
mode:
authorWealian Liao <whliao@nuvoton.corp-partner.google.com>2021-07-08 11:46:41 +0800
committerCommit Bot <commit-bot@chromium.org>2021-08-11 02:35:26 +0000
commit67a08d2ff371a653190227fe30bfa250174b1d65 (patch)
tree3d5b70e6522ec3b07ecc065c14fcbc1c69e6f4ec /zephyr/drivers/cros_kb_raw/Kconfig
parenta7c8741522d9f003e37c3e9e7c3c3e4ad897174d (diff)
downloadchrome-ec-67a08d2ff371a653190227fe30bfa250174b1d65.tar.gz
zephyr: cros_kb_raw_npcx: Add output high driver config option
This CL adds a Kconfig option 'CROS_KB_RAW_NPCX_KSO_HIGH_DRIVE' for npcx output buffer high driver function. BUG=none BRANCH=none TEST=zmake testall Signed-off-by: Wealian Liao <whliao@nuvoton.corp-partner.google.com> Change-Id: I91f98581f43ca88991345b2e23ab11e5b99353be Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3077763 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/drivers/cros_kb_raw/Kconfig')
-rw-r--r--zephyr/drivers/cros_kb_raw/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/zephyr/drivers/cros_kb_raw/Kconfig b/zephyr/drivers/cros_kb_raw/Kconfig
index 3109009da5..a037cdd451 100644
--- a/zephyr/drivers/cros_kb_raw/Kconfig
+++ b/zephyr/drivers/cros_kb_raw/Kconfig
@@ -12,6 +12,17 @@ menuconfig CROS_KB_RAW_NPCX
kscan interface so we can continue to use most of the existing
keyboard-scanning code in ECOS.
+if CROS_KB_RAW_NPCX
+
+config CROS_KB_RAW_NPCX_KSO_HIGH_DRIVE
+ bool "Enable quasi-bidirectional buffers for KSO pins"
+ help
+ This option enables quasi-bidirectional buffers for KSO pins. The
+ low-impedance high drive is active when ec changes the output data
+ buffers from 0 to 1, thereby reducing the low-to-high transition time.
+
+endif # CROS_KB_RAW_NPCX
+
menuconfig CROS_KB_RAW_ITE
bool "ITE raw-keyboard-scan driver for the Zephyr shim"
depends on SOC_FAMILY_RISCV_ITE