From patchwork Thu May 4 09:14:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hermes Zhang X-Patchwork-Id: 13230949 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 2830DC7EE23 for ; Thu, 4 May 2023 09:16:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230160AbjEDJQC (ORCPT ); Thu, 4 May 2023 05:16:02 -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 ); 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 To: , , , Jean-Baptiste Maneyrol CC: , , , Hermes Zhang , Lars-Peter Clausen , 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 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org 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 Reviewed-by: Krzysztof Kozlowski --- 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 reg: maxItems: 1