From patchwork Thu May 4 09:14:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hermes Zhang X-Patchwork-Id: 13230950 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 294E2C77B78 for ; Thu, 4 May 2023 09:16:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230011AbjEDJQI (ORCPT ); Thu, 4 May 2023 05:16:08 -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 ); 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 To: , , CC: , , , , Hermes Zhang 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 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org 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(-)