summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.sensor_devices
diff options
context:
space:
mode:
authorAndrew McRae <amcrae@google.com>2021-12-29 19:42:21 +1100
committerCommit Bot <commit-bot@chromium.org>2021-12-30 09:46:21 +0000
commitf956457f58ec6db287f75e190066a9f7ebf44c87 (patch)
tree37550109b97ce863545efea73c6d6c9f4bead482 /zephyr/Kconfig.sensor_devices
parentbb3654f2b2a32a4376c6fcd1e81f6127472f1e82 (diff)
downloadchrome-ec-f956457f58ec6db287f75e190066a9f7ebf44c87.tar.gz
zephyr: Add initial shim for lsm6dso sensor
Add the initial shim for the lsm6dso accel/gyro sensor. BUG=b:212497341 TEST=zmake testall BRANCH=none Signed-off-by: Andrew McRae <amcrae@google.com> Change-Id: I01b5787f960971a637da743131ef4b74ba07885c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3360326 Reviewed-by: Yuval Peress <peress@google.com>
Diffstat (limited to 'zephyr/Kconfig.sensor_devices')
-rw-r--r--zephyr/Kconfig.sensor_devices17
1 files changed, 16 insertions, 1 deletions
diff --git a/zephyr/Kconfig.sensor_devices b/zephyr/Kconfig.sensor_devices
index 3ddf65148c..2d01f41249 100644
--- a/zephyr/Kconfig.sensor_devices
+++ b/zephyr/Kconfig.sensor_devices
@@ -54,7 +54,7 @@ config PLATFORM_EC_ACCEL_LIS2DW12_AS_BASE
help
The LIS2DW driver supports fifo and interrupt, but letting lid accel
sensor work at polling mode is a common selection in current usage
- model. This option will select interrupt (foced mode).
+ model. This option will select interrupt (forced mode).
config PLATFORM_EC_ACCELGYRO_BMI160
bool "BMI160 Accelgyrometer Driver"
@@ -100,6 +100,21 @@ config PLATFORM_EC_ACCELGYRO_ICM42607
The driver supports ICM42607 which provides both accelerometer and
gyroscope readings.
+config PLATFORM_EC_ACCELGYRO_LSM6DSO
+ bool "LSM6DSO Accelgyro Driver"
+ select PLATFORM_EC_STM_MEMS_COMMON
+ help
+ The driver supports ST's LSM6DSO 3D digital accelerometer sensor.
+ It allows measurements of acceleration in three perpendicular axes.
+
+config PLATFORM_EC_ACCELGYRO_LSM6DSO_AS_BASE
+ bool "LSM6DSO Interrupt force mode"
+ depends on PLATFORM_EC_ACCELGYRO_LSM6DSO
+ help
+ The LSM6DSO driver supports fifo and interrupt, but letting lid accel
+ sensor work at polling mode is a common selection in current usage
+ model. This option will select interrupt (forced mode).
+
config PLATFORM_EC_STM_MEMS_COMMON
bool
help