Message ID | 20230505054853.2155326-2-chenhuiz@axis.com |
---|---|
State | New |
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 b10csp169287vqo; Thu, 4 May 2023 22:51:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4gmmSB50WO31PvKAH62AaPtlM0/+JDXhsAL9YjjlDp4nj2kPsglxqyU7cNdCrSM41RX2fT X-Received: by 2002:a17:902:7290:b0:1a9:7c6d:abb with SMTP id d16-20020a170902729000b001a97c6d0abbmr279635pll.29.1683265902119; Thu, 04 May 2023 22:51:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683265902; cv=none; d=google.com; s=arc-20160816; b=r443atDflV6K+3t+fvT/ickeey7YPZE3ix9VdBMuxOqnR2/M8a7PUYVSWk+OfdKT5D qCNQFztWgPE3c3KtNZIKPNa37RH+TUBzeZqhhSEXdFnuxAvNLJaGosolIiGCFyKfv/T1 vw57mPp6mtWAsVM5q9TfOHBVVDzjWchjpCYdCzna3J92k75hTVFKFuJean4baHCqzKGa jDGEIqG8N6DEXHbla27nfWJS+3F88bzfAdLZXlksgySbHSBKo/mvvofnKR0Cao7E2GBK 0CmQb6o9HNc90sUlpE50fbgqAiuzhmQJu5pjYrcHZXV1iCbfgxskzRPRi9+7FZvvGE4W Fwkw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=By1zElzEqUICh73uUeUdo6GgTEEpWsDQwesL5Ji0Geg=; b=wLeY25AjYBUBpZXFfOHc3mCT2ox/MzlNYucoZXAsfBgikYGADJWpBfS3Gk6wYkjhXK 90qIjft23OCBlaGeLVsnAev7k2UsxEHmkbBfo/r6zaez4sZMur29UXnMT4bBiO7bhc3E 3Z00sorbHGYgfpTrvEidkKuftQzc1BvjEvmIM6XsV4zuQBPb769ikZ5fpVw7zC8n1T58 YiZF/5hBZbfhFGDZ1DIx9ZP1jNPH1lKcpay0RNZOcdyd+JHQd3aOmsreqnxWDagiURL9 igwWfG6oJdClkDIXA7uBdGasQEitPaNghs3tVTNuqvjMGCWgN5LF7F+wARCort1rS0Fy FDFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@axis.com header.s=axis-central1 header.b=mwNcx39s; 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 bh2-20020a170902a98200b001a922c7f51dsi885110plb.172.2023.05.04.22.51.28; Thu, 04 May 2023 22:51:42 -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=mwNcx39s; 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 S230351AbjEEFts (ORCPT <rfc822;b08248@gmail.com> + 99 others); Fri, 5 May 2023 01:49:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230317AbjEEFtm (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 5 May 2023 01:49:42 -0400 Received: from smtp1.axis.com (smtp1.axis.com [195.60.68.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0AF6150D7; Thu, 4 May 2023 22:49:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1683265773; x=1714801773; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=By1zElzEqUICh73uUeUdo6GgTEEpWsDQwesL5Ji0Geg=; b=mwNcx39sU/dLrQPBQ+476T1RbJnsfSdomONlpb/WpssSp0kKTP/7gwO0 1o/HcK7uD9TI6HYu4JlZG2188qkRTgh4GngEibfNswkA/tEwlN1+NX/TR ANSRE3qgX/OfYvWI6IXOEhjWFWGbM7EKYjO1BFA8XV8AVUmAtmiEptb+m wXGsgsmOzx2trYdehAu3K+DUR1DYE4f4JQ4p0vjbXByKUg9Ud8/DD4xJf /BulwufqFRqjAzqXFaI3rqIQK/7vvLnmYYGAym3ylZRYbO61A8RdiKyA/ FErQOXFY1OjdsbaiVb+g+GtLqZZmSqNOplgsVH8B1w6Eqf7+W/G+cKoS/ Q==; From: Hermes Zhang <chenhuiz@axis.com> To: <jic23@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <robh+dt@kernel.org>, Jean-Baptiste Maneyrol <jmaneyrol@invensense.com> CC: <linux-iio@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <kernel@axis.com>, Hermes Zhang <chenhuiz@axis.com>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Lars-Peter Clausen <lars@metafoo.de>, <devicetree@vger.kernel.org> Subject: [PATCH v3 1/2] dt-bindings: iio: imu: mpu6050: Add icm20600 bindings to mpu6050 Date: Fri, 5 May 2023 13:48:52 +0800 Message-ID: <20230505054853.2155326-2-chenhuiz@axis.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230505054853.2155326-1-chenhuiz@axis.com> References: <20230505054853.2155326-1-chenhuiz@axis.com> 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?1765032226948845397?= X-GMAIL-MSGID: =?utf-8?q?1765032226948845397?= |
Series |
Add support for the ICM 20600 IMU
|
|
Commit Message
Hermes Zhang
May 5, 2023, 5:48 a.m. UTC
ICM-20600 is almost same as ICM-20602 which already support in mpu6050 driver. Specify "invensense,icm20602" as a fallback compatible Signed-off-by: Hermes Zhang <chenhuiz@axis.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- 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 .../devicetree/bindings/iio/imu/invensense,mpu6050.yaml | 3 +++ 1 file changed, 3 insertions(+)
Comments
Hello, looks good for me, thanks for the patch. Acked-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com> From: Hermes Zhang <chenhuiz@axis.com> Sent: Friday, May 5, 2023 07:48 To: jic23@kernel.org <jic23@kernel.org>; krzysztof.kozlowski+dt@linaro.org <krzysztof.kozlowski+dt@linaro.org>; robh+dt@kernel.org <robh+dt@kernel.org>; Jean-Baptiste Maneyrol <Jean-Baptiste.Maneyrol@tdk.com> Cc: linux-iio@vger.kernel.org <linux-iio@vger.kernel.org>; linux-kernel@vger.kernel.org <linux-kernel@vger.kernel.org>; kernel@axis.com <kernel@axis.com>; Hermes Zhang <chenhuiz@axis.com>; Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>; Lars-Peter Clausen <lars@metafoo.de>; devicetree@vger.kernel.org <devicetree@vger.kernel.org> Subject: [PATCH v3 1/2] dt-bindings: iio: imu: mpu6050: Add icm20600 bindings to mpu6050 [CAUTION] This is an EXTERNAL email. Do not click links or open attachments unless you recognize the sender and know the content is safe. ====================================================================== ICM-20600 is almost same as ICM-20602 which already support in mpu6050 driver. Specify "invensense,icm20602" as a fallback compatible Signed-off-by: Hermes Zhang <chenhuiz@axis.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- 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 .../devicetree/bindings/iio/imu/invensense,mpu6050.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml b/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml index ec64d7877fe5..1db6952ddca5 100644 --- a/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml +++ b/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml @@ -30,6 +30,9 @@ properties: - invensense,mpu9150 - invensense,mpu9250 - invensense,mpu9255 + - items: + - const: invensense,icm20600 + - const: invensense,icm20602 - items: - const: invensense,icm20608d - const: invensense,icm20608
diff --git a/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml b/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml index ec64d7877fe5..1db6952ddca5 100644 --- a/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml +++ b/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml @@ -30,6 +30,9 @@ properties: - invensense,mpu9150 - invensense,mpu9250 - invensense,mpu9255 + - items: + - const: invensense,icm20600 + - const: invensense,icm20602 - items: - const: invensense,icm20608d - const: invensense,icm20608