Message ID | 20230504091421.2054451-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 b10csp168540vqo; Thu, 4 May 2023 02:20:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6K1TyxnJuynwfqBZKLQ0FSeztXqxqh3v+7/ADpEorlcXNlvqoeDwwAN/eJyDvRRs5iHzTU X-Received: by 2002:a05:6a00:2311:b0:63a:ece0:48d0 with SMTP id h17-20020a056a00231100b0063aece048d0mr1810331pfh.28.1683192037644; Thu, 04 May 2023 02:20:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683192037; cv=none; d=google.com; s=arc-20160816; b=DamwiU0RDnUSjvXfg9ky/lMHZaJp4muDync37LgONTFGIO5WGMaeUjmrMKzIl/FBXt poMSOny9rgqx2MEB0ZUwlCP4CmcaaL16BdGwZ2yLsdwq8Vll0PIyu5e+ykAJSNlwJdtc 74Gwh/KgdudRmt5SAWlxq3TKg70Ln/OtXehC1zpHp4ANEVpnwa36CmqSMXolYxLCUlDc rgUQojJlOVJaPC1zTxmCKPGUZqvMx8CSLdzW5hVmeg4QjLZAA7YVVZdG0lb1uirEgXQL /pPjRL1+CBWPlHjGBVgKIvL45E52nQ4fsVDB0Kjs7hwe/En++59f8BeaToMVVgQ9/Qpg U8rw== 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=uGAk2jdLc90R+UIzHHRN4PrcSu0mUczllzTX2lVJL4U=; b=LZ2gSoa8uag6hdDhKk8DduPNWKtZgp7kQ2sSobXxS4o7FkOHdkrbaeE3bf1as3hZue Wl5W6A+FzhDMPpMhJop1J4Nw9/PVUaF1N6CvwDT552IdcHbOyBME6VH/3EyvL34+nJXs GWhP/77tSHErLBfCvl2b2Plbc+ESkke6NcD8pu7bCLev+ib4QcBgK0vZCghj8fNub/4n 6gjn78AhJpLPrOp5DK4Vg/1WyIDEEKu3ZnTtWw/DTGUkqUBhYh7rO3WBql2lKw7sjvGa 9SD/V/6m2kk9AGNNQDBAoHbWyROLvD9rateqPA9UHubztAFScIdl9SQ8PTJ6n/PYaL5v Kb8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@axis.com header.s=axis-central1 header.b=lOZC5wkv; 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 r83-20020a632b56000000b0051b694b4069si35624636pgr.804.2023.05.04.02.20.23; Thu, 04 May 2023 02:20:37 -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=lOZC5wkv; 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 S230366AbjEDJQK (ORCPT <rfc822;lhua1029@gmail.com> + 99 others); Thu, 4 May 2023 05:16:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230331AbjEDJQG (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 4 May 2023 05:16:06 -0400 Received: from smtp1.axis.com (smtp1.axis.com [195.60.68.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 164B2422B; Thu, 4 May 2023 02:15:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1683191734; x=1714727734; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=uGAk2jdLc90R+UIzHHRN4PrcSu0mUczllzTX2lVJL4U=; b=lOZC5wkvLeC9yPAXrcw26oR/ZW5eodgdnqgMi9zl6ex8zHLU4AhK+/y8 6mmqnJ5YAfkZYX3RFozP+SQxCjc6E+bylYEltIk55vXArZ7kQSIZ66WlW LvnQ9+IFWvYhJpu1MmsCoPw6j0KQmozpPED/S/PV797bRpFm4wW+WLcj2 aP21SyhTWcBK0ZfkmlLcnk7369l45xTZMnUnaSv0zUTwT3EGBmicPJLGy U0UbYZ3snikbqCghkQBQcMgUFIJvD8qAm6oUj1L/Q7PQN0NUSjLNRAdCP Wms/+SGPAUkRrWui5/PnJOWqkTKgSNnGDtGxwoKtOrwoQ+MB23oApZcGt 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 v2 0/2] Add support for the ICM 20600 IMU Date: Thu, 4 May 2023 17:14:18 +0800 Message-ID: <20230504091421.2054451-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,URIBL_BLOCKED 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?1764954774172693237?= X-GMAIL-MSGID: =?utf-8?q?1764954774172693237?= |
Series |
Add support for the ICM 20600 IMU
|
|
Message
Hermes Zhang
May 4, 2023, 9:14 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 Hermes Zhang (2): iio: imu: mpu6050: Add support for the ICM 20600 IMU dt-bindings: iio: imu: mpu6050: Add icm20600 bindings to mpu6050 .../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(-)