summaryrefslogtreecommitdiff
path: root/board/voema/board.h
diff options
context:
space:
mode:
authorBen Chen <ben.chen2@quanta.corp-partner.google.com>2021-04-15 16:53:14 +0800
committerCommit Bot <commit-bot@chromium.org>2021-04-19 01:55:34 +0000
commit05884b519cd040f2dce139dc533b1e82008f92a9 (patch)
tree1dc22244398a1ab54d1d362bc47ad85d2330c442 /board/voema/board.h
parentfba31a3ae244b6dfd18e4b59508aa45387161d81 (diff)
downloadchrome-ec-05884b519cd040f2dce139dc533b1e82008f92a9.tar.gz
voema: support kx022/bma255 with ssfc bits map
config kx022 or bma255 motion sensor by ssfc bits map, and rename volteer ssfc bits map. BUG=b:178447173 BRANCH=main TEST=Using ectool 'motionsense' verified lid angle now goes from 0 to 360 and swtiches to tablet mode after crossing 200 threshold on re-work kx022/bma255 DUT. Change-Id: I2901b0cc980e50324eb4f20d073c5f3a4c3f80e3 Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2825719 Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board/voema/board.h')
-rw-r--r--board/voema/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/voema/board.h b/board/voema/board.h
index b2d401f69a..19a5ed83a0 100644
--- a/board/voema/board.h
+++ b/board/voema/board.h
@@ -35,6 +35,7 @@
/* Sensors */
/* BMA253 accelerometer in base */
#define CONFIG_ACCEL_BMA255
+#define CONFIG_ACCEL_KX022
/* TCS3400 ALS */
#define CONFIG_ALS