diff options
author | Alexandru M Stan <amstan@chromium.org> | 2019-07-09 15:21:41 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-11-19 07:22:39 +0000 |
commit | 941fb7e8e73ff1cb4e6ed170bee8e755a5416a50 (patch) | |
tree | 4c1ee5c64463387e5c4ae34cd1201e2d1e2256ad /board/jacuzzi/board.h | |
parent | 7abc7ca4abbc2f4154e177389924c258ea37ff5d (diff) | |
download | chrome-ec-941fb7e8e73ff1cb4e6ed170bee8e755a5416a50.tar.gz |
jacuzzi: Add keyboard functionality
Added IT8801 io expander (which includes keyboard controller) and
the keyscan task.
BUG=b:133200075
TEST="it8801_dump" should check presence of the IT8801 chip
TEST="ksstate on", press keys, see keyboard log things being printed on console
BRANCH=master
Change-Id: I08e7312cec59b6d293c01daf40b2f784a10b7e72
Signed-off-by: Alexandru M Stan <amstan@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1693863
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'board/jacuzzi/board.h')
-rw-r--r-- | board/jacuzzi/board.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/board/jacuzzi/board.h b/board/jacuzzi/board.h index 2d76d56c42..1595d8b86d 100644 --- a/board/jacuzzi/board.h +++ b/board/jacuzzi/board.h @@ -76,6 +76,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 + #ifndef __ASSEMBLER__ enum adc_channel { |