summaryrefslogtreecommitdiff
path: root/zephyr/projects/npcx_evb/npcx9/include/gpio_map.h
diff options
context:
space:
mode:
authorWealian Liao <whliao@nuvoton.corp-partner.google.com>2021-08-12 10:30:55 +0800
committerCommit Bot <commit-bot@chromium.org>2021-08-12 20:46:31 +0000
commit5713f5cd0c01155603bc6e9cbc15855303e2a6c4 (patch)
tree5f8b8ca7b4fdda91e6e1d5bc25eb00a351e04f43 /zephyr/projects/npcx_evb/npcx9/include/gpio_map.h
parent938e1dd6d8e90c45dbc1d656e026440a50a5c4e9 (diff)
downloadchrome-ec-5713f5cd0c01155603bc6e9cbc15855303e2a6c4.tar.gz
zephyr: npcx_evb: Enable Keyboard
This CL enables keyboard function for npcx7/9_evb. The keyboard sets to the following config: * kso0-12 are selected for keyboard scan * enable CONFIG_CROS_KB_RAW_NPCX_KSO_HIGH_DRIVE * set keyscan_config to meet the config in npcx_evb board.c BRANCH=none BUG=none TEST='ksstate on' & check actual key setting Signed-off-by: Wealian Liao <whliao@nuvoton.corp-partner.google.com> Change-Id: I059e1f8d07558a0f465769ecffd4246dcda1a608 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3077764 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/projects/npcx_evb/npcx9/include/gpio_map.h')
-rw-r--r--zephyr/projects/npcx_evb/npcx9/include/gpio_map.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/zephyr/projects/npcx_evb/npcx9/include/gpio_map.h b/zephyr/projects/npcx_evb/npcx9/include/gpio_map.h
index 8073daad90..741cbd89a2 100644
--- a/zephyr/projects/npcx_evb/npcx9/include/gpio_map.h
+++ b/zephyr/projects/npcx_evb/npcx9/include/gpio_map.h
@@ -9,6 +9,8 @@
#include <devicetree.h>
#include <gpio_signal.h>
+#define GPIO_KBD_KSO2 GPIO_UNIMPLEMENTED
+
/*
* Set EC_CROS_GPIO_INTERRUPTS to a space-separated list of GPIO_INT items.
*