From patchwork Mon Jan 28 18:50:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Randolph_Maa=C3=9Fen?= X-Patchwork-Id: 10784503 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 985091390 for ; Mon, 28 Jan 2019 18:50:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 888232BF7C for ; Mon, 28 Jan 2019 18:50:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7C5F42C0E7; Mon, 28 Jan 2019 18:50:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 231452C06A for ; Mon, 28 Jan 2019 18:50:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726750AbfA1Su1 (ORCPT ); Mon, 28 Jan 2019 13:50:27 -0500 Received: from gaireg.de ([37.221.197.43]:36762 "EHLO gaireg.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726678AbfA1Su1 (ORCPT ); Mon, 28 Jan 2019 13:50:27 -0500 Received: from me.gaireg.de (unknown [194.8.217.178]) by gaireg.de (Postfix) with ESMTPSA id E14413C8CE80; Mon, 28 Jan 2019 19:50:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gaireg.de; s=mail; t=1548701425; bh=7UFsrn5moslAQudTWKKZLys4BcG8++fMxXQq6NQ5D50=; h=From:To:Cc:Subject:Date; b=hNmXG3dRUMLj5xDhgyBH1F1SpPtkP6/7IK/abCU3FNDVubu4BgXOHaFc9xS0vVbvl 2xotl4oAPCSSP7LVbqTfttMBBS+I2p6eQ9nl823UxQu0S7/kcGzbqoYQIWUSvHTZQ8 tz8/ksKnIUOm5nLNNOyMAyhsiT/Iby7xUwCFyN6A= From: =?utf-8?q?Randolph_Maa=C3=9Fen?= To: gaireg@gaireg.de Cc: Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Rob Herring , Mark Rutland , Brian Masney , Jonathan Marek , Douglas Fischer , Martin Kelly , Jean-Baptiste Maneyrol , Hans de Goede , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] dt-bindings: iio: imu: add icm20602 bindings to mpu6050 Date: Mon, 28 Jan 2019 19:50:02 +0100 Message-Id: <20190128185010.8275-1-gaireg@gaireg.de> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Adding the invensense ICM-20602 to the compatible list of the mpu6050 driver Signed-off-by: Randolph Maaßen Reviewed-by: Rob Herring --- Changes in v2: - write i2c disable register using reg_set instead of define - decide to write to i2c disable register based on reg_set instead of chip type --- Documentation/devicetree/bindings/iio/imu/inv_mpu6050.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/iio/imu/inv_mpu6050.txt b/Documentation/devicetree/bindings/iio/imu/inv_mpu6050.txt index 6ab9a9d196b0..268bf7568e19 100644 --- a/Documentation/devicetree/bindings/iio/imu/inv_mpu6050.txt +++ b/Documentation/devicetree/bindings/iio/imu/inv_mpu6050.txt @@ -11,6 +11,7 @@ Required properties: "invensense,mpu9250" "invensense,mpu9255" "invensense,icm20608" + "invensense,icm20602" - reg : the I2C address of the sensor - interrupts: interrupt mapping for IRQ. It should be configured with flags IRQ_TYPE_LEVEL_HIGH, IRQ_TYPE_EDGE_RISING, IRQ_TYPE_LEVEL_LOW or