diff options
author | JuHyun Kim <jkim@invensense.com> | 2021-04-12 08:16:44 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-05-18 01:48:45 +0000 |
commit | 0602debe983036d8d7285c207b2b5cd0339eb2a8 (patch) | |
tree | 11916e244fc21cd540c521e6c2a6823f2b5d2844 /util | |
parent | 266c917b95afddb3b163a13ac5f48fba261c2abd (diff) | |
download | chrome-ec-0602debe983036d8d7285c207b2b5cd0339eb2a8.tar.gz |
driver: add ICM-42607 driver support
Add ICM-42607 accel/gyro driver code.
BUG=chromium:1198171
BRANCH=None
TEST=ectool motionsense && CROS-EC IIO drivers
Signed-off-by: JuHyun Kim <jkim@invensense.com>
Change-Id: If2cff2bd20ac69ca40bc56af50dcabbd4f5910d6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2822268
Reviewed-by: Jean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Commit-Queue: Gwendal Grignou <gwendal@chromium.org>
Tested-by: Gwendal Grignou <gwendal@chromium.org>
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 f4722c06df..8d91d2cb74 100644 --- a/util/ectool.c +++ b/util/ectool.c @@ -5291,6 +5291,9 @@ static int cmd_motionsense(int argc, char **argv) case MOTIONSENSE_CHIP_ICM426XX: printf("icm426xx\n"); break; + case MOTIONSENSE_CHIP_ICM42607: + printf("icm42607\n"); + break; default: printf("unknown\n"); } |