diff options
author | Jett Rink <jettrink@chromium.org> | 2019-01-30 10:19:16 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-02-13 14:43:01 -0800 |
commit | 573b4bd9b49af15a57ca05f6bd515807a1d58424 (patch) | |
tree | be7224091b0cfb6299c4ba36fe9d7694aec6cdd6 /util | |
parent | 13abae16925c01def0a177da5d853f6a416b52cf (diff) | |
download | chrome-ec-573b4bd9b49af15a57ca05f6bd515807a1d58424.tar.gz |
lsm6ds3: Add LDM6DS3 variant to existing LSM6DSM
The lsm6dsX where X is M/L/3 are very similar. The only differences
appear to be the who am I register value and fifo size.
BRANCH=none
BUG=b:122281217
TEST=Arcada with CL stack, can read sensor data via EC console using
`accelread 0` command
Change-Id: Iaa12d49616c66e574e069b43aba2618722f0dda0
Signed-off-by: Jett Rink <jettrink@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1446533
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Reviewed-by: Gwendal Grignou <gwendal@google.com>
Diffstat (limited to 'util')
-rw-r--r-- | util/ectool.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util/ectool.c b/util/ectool.c index 33d464138d..cb0de928cb 100644 --- a/util/ectool.c +++ b/util/ectool.c @@ -4341,6 +4341,9 @@ static int cmd_motionsense(int argc, char **argv) case MOTIONSENSE_CHIP_LIS2MDL: printf("lis2mdl\n"); break; + case MOTIONSENSE_CHIP_LSM6DS3: + printf("lsm6ds3\n"); + break; default: printf("unknown\n"); } |