diff options
author | Mario Tesi <mario.tesi@st.com> | 2018-12-11 09:21:07 +0100 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-03-06 06:51:38 -0800 |
commit | 9b3355b2f3fdc921b72a35a7bb2ae6cfe7395faa (patch) | |
tree | 14f4a6dded2b75f126e953dc39d0426755a3c140 /board | |
parent | 247f511b36985c840d7f70f173129e85e62fcf7f (diff) | |
download | chrome-ec-9b3355b2f3fdc921b72a35a7bb2ae6cfe7395faa.tar.gz |
driver: lsm6dso: Add support to LSM6DSO IMU
Added support to LSM6DSO IMU sensor.
Features included in this driver are:
- Basic Sensor Read acc/gyro data
- ODR and FS runtime configuration
- FIFO water mark interrupt
- Shared commons function with ST MEMs devices
BUG=none
BRANCH=master
TEST=Tested on discovery target BOARD with
LSM6DSO connected to EC i2c master bus and motion
sense task running.
Commands used to test LSM6DSO device are:
- accelinit
- accelrange
- accelinfo
All basic features tested, including:
1) ODR change:
- accelrate 0 [13000:208000]
- accelrate 1 [13000:208000]
2) FS Range change:
- accelrange 0 [2:16]
- accelrange 1 [250:2000]
3) Interrupt on FIFO water mark
Signed-off-by: Mario Tesi <mario.tesi@st.com>
Change-Id: If2984f7d0d30b0ef475e0525aca2bc365aa4fe21
Signed-off-by: Mario Tesi <mario.tesi@st.com>
Reviewed-on: https://chromium-review.googlesource.com/1371364
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Enrico Granata <egranata@chromium.org>
Reviewed-by: Enrico Granata <egranata@chromium.org>
Diffstat (limited to 'board')
0 files changed, 0 insertions, 0 deletions