diff options
author | Jean-Baptiste Maneyrol <jmaneyrol@invensense.com> | 2020-08-25 09:56:58 +0000 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-27 05:29:14 +0000 |
commit | 089bf7e7b0d7a3b953a89789523f2550ce9cf7b9 (patch) | |
tree | a0f49fc56b8bdfa36d312baa690f6da9d607e302 /util/ectool.c | |
parent | 5073a53041fce71cf6deea941bbfedd943b9177c (diff) | |
download | chrome-ec-089bf7e7b0d7a3b953a89789523f2550ce9cf7b9.tar.gz |
driver: add icm426xx chip type define
Add new enum motionsensor_chip and update ectool motionsense.
BUG=chromium:1117541
BRANCH=None
TEST=ectool motionsense info
Cq-Depend: chromium:3099546
Signed-off-by: JuHyun Kim <jkim@invensense.com>
Change-Id: I07736d61bdb7332bfdc44c8f7294233e43a6e00d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2374647
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Commit-Queue: Gwendal Grignou <gwendal@chromium.org>
Tested-by: Gwendal Grignou <gwendal@chromium.org>
(cherry picked from commit deed6c7cd265fe0cbfd2d64e3082cd8d8b9a2f38)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3121867
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
Reviewed-by: Jean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Commit-Queue: Zhuohao Lee <zhuohao@chromium.org>
Diffstat (limited to 'util/ectool.c')
-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 0fe73be7ec..2419ac87d7 100644 --- a/util/ectool.c +++ b/util/ectool.c @@ -4341,6 +4341,9 @@ static int cmd_motionsense(int argc, char **argv) case MOTIONSENSE_CHIP_LIS2DE: printf("lis2de\n"); break; + case MOTIONSENSE_CHIP_ICM426XX: + printf("icm426xx\n"); + break; default: printf("unknown\n"); } |