Message ID | 20230505054853.2155326-1-chenhuiz@axis.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp168733vqo; Thu, 4 May 2023 22:50:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7d6OVQ67ozMoFFPP3c5u82CvdaNEAnROlBSy0E4qWT+3FBspAJRbazQzsp+jmhjR64eErZ X-Received: by 2002:a05:6a20:432b:b0:f8:b39b:b24e with SMTP id h43-20020a056a20432b00b000f8b39bb24emr501852pzk.11.1683265819924; Thu, 04 May 2023 22:50:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683265819; cv=none; d=google.com; s=arc-20160816; b=p3cqLtSjF/2E5qpI21qUdmcscrN1F9Yfha9K7OSAEfdWb4BbQLYOEamNdZ+1ZnKYiF jYK88rNGGrMrJc7j92jNqOojBck+58RocDlKJhbXZ1uWikXAFb5Etfrlt6WuIP500Zlu +cnrndle0n1QqO44+lJsvEAqktpR63wSq1+NKW3YRF6bZXtCxVUVCTWccOIsKxfHBMvE t5zaEU+yrNAhqEUPUm58K4+VZbMvWF7pc4yyKcLehlvvz38WrwPBzI4Y0mYFoOGtWXBD gJEghZd0d+d6oJbE4c7dw34TgKVnLEJN8uN+M75mzV1I4Wija07mzWzmfuBeIHlwSZZC dDxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=MIcjUSt5Rp38IkS2qQyehaQjIgzSnOJn+wVxciiOt2E=; b=gk6oN70T9QQ4a7kCs2P/0TJHX6vAjD84WdjGO0DCrK+HfwgmE6/K0tFxJ7IdaaqXag +liOXmTeBLFHTcOobqHXgehsrl79dnnHeISgodLH3hc0L01We33UOl/2Ma7QdzOLyd6m GIIuHF1g7Xoreyy8+vWpaWu99JVXDR6bNhDYH/ElaI1CS/SOY5jdgpkzKwHnEaNVrxBL uE1ykEULxBr/Uy2LMB0UPHAxBwR5d5i6GfwIqjpmA9xDGvSP3j2X9SWe7syPVwbO14fg +66djjIMdZcHw4rqQ5z2WW53JvtdhoaJkxqEpONEYEv1tf0/fPPyWjG4p1B+3S4wCwJ7 AThw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@axis.com header.s=axis-central1 header.b=i3uP0CkR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=axis.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s27-20020aa78bdb000000b0063d35b6d9ebsi1192200pfd.368.2023.05.04.22.50.07; Thu, 04 May 2023 22:50:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@axis.com header.s=axis-central1 header.b=i3uP0CkR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=axis.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230104AbjEEFtG (ORCPT <rfc822;b08248@gmail.com> + 99 others); Fri, 5 May 2023 01:49:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229577AbjEEFtE (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 5 May 2023 01:49:04 -0400 Received: from smtp2.axis.com (smtp2.axis.com [195.60.68.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B6F81FE1; Thu, 4 May 2023 22:49:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1683265742; x=1714801742; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=MIcjUSt5Rp38IkS2qQyehaQjIgzSnOJn+wVxciiOt2E=; b=i3uP0CkRF98evWAtziv0hyxf/X+GGYg5Y6lCEeGogluOzuCj9DgjDFoQ Nod7joZcGLcSuzna+joK5Z9nMDRPcqjPiHpQ8y5U3RBzuVphizjeVN238 6A/G0id4fXzh0rwUclV5em6iPnf0cYEL0ermbpQBPo+AOjBZgQ1M6Le5c 2TgNci9joOLfba2cl56rm7414jvJxFINCPuNLpywR27P3LlUNV21x3vq8 SpBtCS+4KvK+Us5XH7a1EqWm6zBMEmZ5trPNTaVNwo5FlLASr94o2GT7G Jl9GSHu+9OaMbrxwX4L9lNZcu62kpE2AQamErwMTbbZoP2r3B42FTH7BX Q==; From: Hermes Zhang <chenhuiz@axis.com> To: <jic23@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <robh+dt@kernel.org> CC: <jmaneyrol@invensense.com>, <linux-iio@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <kernel@axis.com>, Hermes Zhang <chenhuiz@axis.com> Subject: [PATCH v3 0/2] Add support for the ICM 20600 IMU Date: Fri, 5 May 2023 13:48:51 +0800 Message-ID: <20230505054853.2155326-1-chenhuiz@axis.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765032140121077901?= X-GMAIL-MSGID: =?utf-8?q?1765032140121077901?= |
Series |
Add support for the ICM 20600 IMU
|
|
Message
Hermes Zhang
May 5, 2023, 5:48 a.m. UTC
The Invensense ICM-20600 is a 6-axis MotionTracking device that combines a 3-axis gyroscope and an 3-axis accelerometer. It is very similar to the ICM20602 imu which is already supported by the mpu6050 driver. The main difference is that the ICM-20600 has a different WHOAMI value. Notes: v2: require specifying "invensense,icm20602" as a fallback compatible in the binding, as suggested v3: reorder "invensense,icm20602" entry before icm20608 and add Reviewed-by tag from Krzysztof Hermes Zhang (2): dt-bindings: iio: imu: mpu6050: Add icm20600 bindings to mpu6050 iio: imu: mpu6050: Add support for the ICM 20600 IMU .../bindings/iio/imu/invensense,mpu6050.yaml | 3 +++ drivers/iio/imu/inv_mpu6050/Kconfig | 4 ++-- drivers/iio/imu/inv_mpu6050/inv_mpu_core.c | 10 ++++++++++ drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c | 6 ++++++ drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h | 2 ++ drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c | 5 +++++ 6 files changed, 28 insertions(+), 2 deletions(-)
Comments
On Fri, 5 May 2023 13:48:51 +0800 Hermes Zhang <chenhuiz@axis.com> wrote: > The Invensense ICM-20600 is a 6-axis MotionTracking device that combines a > 3-axis gyroscope and an 3-axis accelerometer. It is very similar to the > ICM20602 imu which is already supported by the mpu6050 driver. The main > difference is that the ICM-20600 has a different WHOAMI value. > > Notes: > v2: require specifying "invensense,icm20602" as a fallback compatible > in the binding, as suggested > v3: reorder "invensense,icm20602" entry before icm20608 and add > Reviewed-by tag from Krzysztof Looks good to me. I want to leave a little more time for Jean-Baptiste to take a look. If it looks like I've forgotten this in 2 weeks, feel free to give me a poke. Thanks, Jonathan > > Hermes Zhang (2): > dt-bindings: iio: imu: mpu6050: Add icm20600 bindings to mpu6050 > iio: imu: mpu6050: Add support for the ICM 20600 IMU > > .../bindings/iio/imu/invensense,mpu6050.yaml | 3 +++ > drivers/iio/imu/inv_mpu6050/Kconfig | 4 ++-- > drivers/iio/imu/inv_mpu6050/inv_mpu_core.c | 10 ++++++++++ > drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c | 6 ++++++ > drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h | 2 ++ > drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c | 5 +++++ > 6 files changed, 28 insertions(+), 2 deletions(-) >
On Sat, 6 May 2023 17:37:17 +0100 Jonathan Cameron <jic23@kernel.org> wrote: > On Fri, 5 May 2023 13:48:51 +0800 > Hermes Zhang <chenhuiz@axis.com> wrote: > > > The Invensense ICM-20600 is a 6-axis MotionTracking device that combines a > > 3-axis gyroscope and an 3-axis accelerometer. It is very similar to the > > ICM20602 imu which is already supported by the mpu6050 driver. The main > > difference is that the ICM-20600 has a different WHOAMI value. > > > > Notes: > > v2: require specifying "invensense,icm20602" as a fallback compatible > > in the binding, as suggested > > v3: reorder "invensense,icm20602" entry before icm20608 and add > > Reviewed-by tag from Krzysztof > > Looks good to me. I want to leave a little more time for Jean-Baptiste to take > a look. If it looks like I've forgotten this in 2 weeks, feel free to give me > a poke. Series applied to the togreg branch of iio.git and initially pushed out as testing for 0-day to take a look and see if we missed anything. Thanks, Jonathan > > Thanks, > > Jonathan > > > > > > Hermes Zhang (2): > > dt-bindings: iio: imu: mpu6050: Add icm20600 bindings to mpu6050 > > iio: imu: mpu6050: Add support for the ICM 20600 IMU > > > > .../bindings/iio/imu/invensense,mpu6050.yaml | 3 +++ > > drivers/iio/imu/inv_mpu6050/Kconfig | 4 ++-- > > drivers/iio/imu/inv_mpu6050/inv_mpu_core.c | 10 ++++++++++ > > drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c | 6 ++++++ > > drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h | 2 ++ > > drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c | 5 +++++ > > 6 files changed, 28 insertions(+), 2 deletions(-) > > >