From patchwork Fri Apr 21 07:16:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hermes Zhang X-Patchwork-Id: 13219566 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 99C48C7618E for ; Fri, 21 Apr 2023 07:16:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229636AbjDUHQv (ORCPT ); Fri, 21 Apr 2023 03:16:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229624AbjDUHQu (ORCPT ); Fri, 21 Apr 2023 03:16:50 -0400 Received: from smtp2.axis.com (smtp2.axis.com [195.60.68.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11B02DC; Fri, 21 Apr 2023 00:16:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1682061409; x=1713597409; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=3wSLvUjoBxKRsjb8nuSXO7SpGcSgWBk04cvadMpAu3k=; b=f2yvT/gXKb5jghwPPJWz5CTpimmX1w3dSVERseofW+vn66RWCKGyeDrJ OwlOIMS+ee2Yce7q4yAPsABUo1oyAGNz2U1Ent6cBBULZbNdHnq9H96PV EUBXZC6KmlUwHrT5eJgVnkhuI9caf5wiXdS2F4TyFDKX4sGOPoxcYqNAm 0EQ2vtXNvt9d1LQaNqxL1f9eVMsAWyof1UTyWyGAOD3+WPnPOpIGc/t62 DTPAyTOGn6hzm4+OilCN6XtRAkh6mQYmjo7QwORn6jb8HDklRGshpPziM GwsrU6E7rO8zwvWzpU6z/HyNvZiTJfkPMP8lmZWRGqEkPG0pHI/ctYJjg Q==; From: Hermes Zhang To: , , CC: , , , , Hermes Zhang Subject: [PATCH 0/2] Add support for the ICM 20600 IMU Date: Fri, 21 Apr 2023 15:16:28 +0800 Message-ID: <20230421071630.524822-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. 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 | 1 + 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, 26 insertions(+), 2 deletions(-)