diff options
author | Zick Wei <zick.wei@quanta.corp-partner.google.com> | 2019-11-29 11:20:33 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-12-11 05:30:08 +0000 |
commit | cd3aace7aa0a3a01220e716c36a17af312d63ae4 (patch) | |
tree | f31f5a5214e866847361883740edadad244f24d1 /board/kappa/board.h | |
parent | f36126b64a28251ea7c3a3151c008d4bcf77802c (diff) | |
download | chrome-ec-cd3aace7aa0a3a01220e716c36a17af312d63ae4.tar.gz |
kappa: Add keyboard functionality
Clone from CL:1693863
Added IT8801 io expandor (which include keyboard controller) and
the keyscan task.
BUG=none
BRANCH=none
TEST=make buildall
Change-Id: Ibd74f55e37e8c9bef1d1866b0e538dec37000d66
Signed-off-by: Zick Wei <zick.wei@quanta.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1943496
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'board/kappa/board.h')
-rw-r--r-- | board/kappa/board.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/board/kappa/board.h b/board/kappa/board.h index 420d27af72..62a5fdfc6b 100644 --- a/board/kappa/board.h +++ b/board/kappa/board.h @@ -79,6 +79,13 @@ (EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_OPEN) |\ EC_HOST_EVENT_MASK(EC_HOST_EVENT_POWER_BUTTON)) +#define CONFIG_EC_KEYBOARD +#define CONFIG_KEYBOARD_DEBUG +#define CONFIG_KEYBOARD_NOT_RAW +#define CONFIG_IO_EXPANDER_IT8801 +#define CONFIG_KEYBOARD_BOARD_CONFIG +#define CONFIG_KEYBOARD_COL2_INVERTED + #define PD_OPERATING_POWER_MW 30000 #ifndef __ASSEMBLER__ |