Message ID | 20230504091421.2054451-3-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 b10csp169690vqo; Thu, 4 May 2023 02:23:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6D47ImyP1+Ypu25ER7sE1PVGINHmAdon9xpLFCCvPw1NTq59l0NKq+LVdlQxAMBUUKCIpr X-Received: by 2002:a17:902:f809:b0:1a9:3916:c2d1 with SMTP id ix9-20020a170902f80900b001a93916c2d1mr2811186plb.54.1683192197282; Thu, 04 May 2023 02:23:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683192197; cv=none; d=google.com; s=arc-20160816; b=wlIbR0KKRAvUYKk7eKaapnuBjSF7hyrR614OhAsrPKWZxV4vDdmiMxU76Hor/h5gMU 43TjCySk88I3UZp4bRD12VLM8O45aA2Z9yFW4DC0UWr9rz1RzIhvhBD47xkRDaa1E0pa XRu48/EiSUJVszrx58Y+siS6wSBo489e9essP5Vs+eqy7GfBWBwvMgrQk6oi40MQj4Bw 6/wnNuW5/FeqAJCIgWoIBr4aW5vo2TdIED3AnEFIWLfeoHxiWtd5vgGQgBDPKOejMizm 3TPi8yng9GXeJF3SOvNIcVJVOX3nh/4S4KahuA/CYMdaIPJ+kOwcLvuciyPR74jK0FLa /YJw== 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=XxpfMAAVzSMsSpNg03jMBd98fL8xCc8rZorQJMqF7+4=; b=cx4nZKz5BFa/TFgM32n+dyK7boRPGH/6L4FaCQCJ66jY5yDTzvxvYMdAx3gjE64Unh vJHEFtlxhkwZDwh9g2pDjD7jVec22sTSDoUjvCv+DSUoJNJC7fPTR/zJUx65HlQaBgCi cXH+hNLnocGgM9daTP8u+Cwq/p5+2wT6KGCYvHIKeX/bnyfoHyMdOaIDtP7f621hl/fS CXNEjyAVeQ9reAax4SbsCUXJnEKVsbJoxnvfYMmGbDMD07wzO0Y4v5XJEj34b/A1MTUR kj4dxoPFB4yRKNgWpKVEVkW/XmBBi33MUQhfPArbacDUzckXS0Hprpbd+QdYEELOTm0O n9Ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@axis.com header.s=axis-central1 header.b="YyjCAEJ/"; 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 f23-20020a170902ab9700b001aaeb3adb5csi10133049plr.188.2023.05.04.02.23.02; Thu, 04 May 2023 02:23:17 -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="YyjCAEJ/"; 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 S229980AbjEDJQD (ORCPT <rfc822;lhua1029@gmail.com> + 99 others); Thu, 4 May 2023 05:16:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230178AbjEDJP7 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 4 May 2023 05:15:59 -0400 Received: from smtp1.axis.com (smtp1.axis.com [195.60.68.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C426249E0; Thu, 4 May 2023 02:15:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1683191721; x=1714727721; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=XxpfMAAVzSMsSpNg03jMBd98fL8xCc8rZorQJMqF7+4=; b=YyjCAEJ/9OzG4K+a/NGolnaM2Kgmc+0PNdfew71qJTmrnnAqa77MJFFW 7poNayxZtnVw/kdppIlCWSZUIzn8ShQraW4+oma9MwR1QqgDeBJ2Xr/UM rDRB5BYr2JrXc5hfWSfNx3w042k4n0VG+axPVaqICAgcMbZGZItXSsyed 8imnWyO755f2vcd47fNsf+Db7GTWZUEqZzcF+bk+8sRufcbb7SNtGSx+P lG8xQXri+gctXg9j2xJhzK2WFn9EkFsu4f3+JGSqSaZcS7HR6vO4vtdkx JvraPFswiWaIUs/xqSTPuCqUBcPjdn6nKN6dUS3oeIk061hdkc3sMzfqp A==; 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>, Lars-Peter Clausen <lars@metafoo.de>, <devicetree@vger.kernel.org> Subject: [PATCH v2 2/2] dt-bindings: iio: imu: mpu6050: Add icm20600 bindings to mpu6050 Date: Thu, 4 May 2023 17:14:20 +0800 Message-ID: <20230504091421.2054451-3-chenhuiz@axis.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230504091421.2054451-1-chenhuiz@axis.com> References: <20230504091421.2054451-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,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?1764954941715154256?= X-GMAIL-MSGID: =?utf-8?q?1764954941715154256?= |
Series |
Add support for the ICM 20600 IMU
|
|
Commit Message
Hermes Zhang
May 4, 2023, 9:14 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>
---
Notes:
v2: require specifying "invensense,icm20602" as a fallback compatible
in the binding, as suggested
.../devicetree/bindings/iio/imu/invensense,mpu6050.yaml | 3 +++
1 file changed, 3 insertions(+)
Comments
On 04/05/2023 11:14, Hermes Zhang wrote: > 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> > --- > > Notes: > v2: require specifying "invensense,icm20602" as a fallback compatible > in the binding, as suggested > > .../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..711a1beeaecf 100644 > --- a/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml > +++ b/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml > @@ -33,6 +33,9 @@ properties: > - items: > - const: invensense,icm20608d > - const: invensense,icm20608 > + - items: > + - const: invensense,icm20600 > + - const: invensense,icm20602 Don't stuff entries at the end. This should be rather before above icm20608 entry. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml b/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml index ec64d7877fe5..711a1beeaecf 100644 --- a/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml +++ b/Documentation/devicetree/bindings/iio/imu/invensense,mpu6050.yaml @@ -33,6 +33,9 @@ properties: - items: - const: invensense,icm20608d - const: invensense,icm20608 + - items: + - const: invensense,icm20600 + - const: invensense,icm20602 reg: maxItems: 1