summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Ma <magf@bitland.corp-partner.google.com>2018-06-19 15:18:27 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-06-21 12:18:08 -0700
commit5087723490bcad60a4e833e106170e861bd1a159 (patch)
tree4ae2f993e166d531fa6e85fa0c92e85372e06974 /include
parent698d62e1220aef10b8a6bef866ebe4bb3bef699d (diff)
downloadchrome-ec-5087723490bcad60a4e833e106170e861bd1a159.tar.gz
phaser: enable phaser motion sensor drivers
This patch add phaser base and lid accel sensor support. Lid sensor type is lis2de, it has the same register interface as lis2dh, so they share the same driver. Since it has a very small fifo, use it in forced mode. Signed-off-by: Paul Ma <magf@bitland.corp-partner.google.com> BRANCH=none BUG=b:110013316 TEST=boot phaser board, base and lid sensor can be inititalized successfully. use console command "accelinfo on", both sensors has valid output. Change-Id: Ie8514ea449fec41c6b1e0b6be1f2ae88458d119c Reviewed-on: https://chromium-review.googlesource.com/1105688 Commit-Ready: Jett Rink <jettrink@chromium.org> Tested-by: Jett Rink <jettrink@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/config.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h
index 597107ce2e..7e4c2168d0 100644
--- a/include/config.h
+++ b/include/config.h
@@ -178,7 +178,6 @@
*/
#undef CONFIG_ACCELGYRO_BMI160_INT_EVENT
#undef CONFIG_ACCEL_LSM6DSM_INT_EVENT
-#undef CONFIG_ACCEL_LIS2DH_INT_EVENT
#undef CONFIG_ALS_SI114X_INT_EVENT
/*