diff options
author | Mario Tesi <mario.tesi@st.com> | 2017-04-19 10:32:05 +0200 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-03-27 17:31:41 +0000 |
commit | 21b0abea499c4b7d9638c86f1e8284711493f6a5 (patch) | |
tree | f3de9ee4ed692280a60aeaee35baa35ce0251d07 /driver/build.mk | |
parent | d4bc8b52d0562e1a05baea2531f735f5e3b723f4 (diff) | |
download | chrome-ec-21b0abea499c4b7d9638c86f1e8284711493f6a5.tar.gz |
driver: lis2ds12: Add driver support
Added ACC LIS2DS/LIS2DS12 driver support.
Features included:
- FIFO support with watermark interrupt events
- Uses shared function with other ST MEMs devices
BUG=none
BRANCH=master
TEST=Tested on discovery_stmems target BOARD with LIS2DS
connected to EC i2c master bus and motion sense task running.
All basic features tested including changing in ODR and Full
Scale Range. Also tested FIFO features and interrupt management.
Change-Id: I8a9e96f59ebdca7e622cff29676c5e1a9e0d58f5
Signed-off-by: Mario Tesi <mario.tesi@st.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/481480
Commit-Queue: Tim Wawrzynczak <twawrzynczak@chromium.org>
Tested-by: Inno.Park <ih.yoo.park@samsung.corp-partner.google.com>
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Diffstat (limited to 'driver/build.mk')
-rw-r--r-- | driver/build.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/driver/build.mk b/driver/build.mk index 79bcd729b0..9009a331e8 100644 --- a/driver/build.mk +++ b/driver/build.mk @@ -23,6 +23,7 @@ driver-$(CONFIG_MAG_LIS2MDL)+=mag_lis2mdl.o driver-$(CONFIG_SENSORHUB_LSM6DSM)+=sensorhub_lsm6dsm.o driver-$(CONFIG_SYNC)+=sync.o driver-$(CONFIG_ACCEL_LIS2DW_COMMON)+=accel_lis2dw12.o stm_mems_common.o +driver-$(CONFIG_ACCEL_LIS2DS)+=accel_lis2ds.o stm_mems_common.o # BC1.2 Charger Detection Devices driver-$(CONFIG_BC12_DETECT_MAX14637)+=bc12/max14637.o |