Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp788676ybm; Fri, 29 May 2020 12:10:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwkkiPx1DiUDteTdc2/IQh9mjeKQvBBaM4UynzmeUJVipgK5IXi2qZ2bL7k+Pwlp550xKL7 X-Received: by 2002:a50:fb10:: with SMTP id d16mr9457704edq.46.1590779418910; Fri, 29 May 2020 12:10:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590779418; cv=none; d=google.com; s=arc-20160816; b=PLQ3YTgzJrZznvzo/cHcCnVaHGvynOokb9uZdXGJh7xPSa4X9mzGYShve7wgNKYcOg bXpv8v26jElaO0ZB+yf6lUDFgRHS1qPcD2TGnzoE20Bnb8oL7Py35G6jyYX4NprID72O dt5jTCLSPNSWbeUzA5S8OPNu1rKAdyTS4znqeDB/48y24WI989vgaJ6MKYsaOO9jXCbo NqZ4knE5lnB15LVYsdX50MNMdRxrBiFjS7Xkfq0f5JbLTG7mHXXlQtkRon6nVipUxUnf G/PuxilTgMosfY7SurPIc0+WZi5eA6UfIIy1UPFY8pvm5cqDFXdVBFmkOYJenDlymAMT n0Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=R6IrcuOr+xIS8qM+15+nWNZbx9UeVZbBHOW4JGpwUA4=; b=i1rinuKxuxxMVhFoNl7M1eXgO8mYgSvi7/V1jFx6b6f2oSS8P4jGEt7E3xDLyCZbbH qGxzc/c6rfLBjLKH7XkJ1Z7kkGtWtqZhWcGeNB+RiFw2hSOwdZSoX9FJzcjW2PEDACZX 6eLxaS3iCcvhADklJMtg0Vwwv7VRdTtfAIOqLMYnkFaPWnDmeKdUmx96ZbP8v4PQtFm/ gtPBJqmIt8xxu0M25XjYqH9aaEzFZe+vs8mBKF/qbNJC5Et6qeJuyrbbetzAADR4IFwP 0HhoE7FyoN6ISlngYmLWZo5G6UhjCehyXrqR+nkw+W1uGsNXiwmwZFpl21tC5vJ82beU DBQQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s14si6069443eja.586.2020.05.29.12.09.55; Fri, 29 May 2020 12:10:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728061AbgE2TFT (ORCPT + 99 others); Fri, 29 May 2020 15:05:19 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:33081 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726829AbgE2TFR (ORCPT ); Fri, 29 May 2020 15:05:17 -0400 Received: by mail-io1-f68.google.com with SMTP id k18so530109ion.0; Fri, 29 May 2020 12:05:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=R6IrcuOr+xIS8qM+15+nWNZbx9UeVZbBHOW4JGpwUA4=; b=gFRmFUW/LKZVV+Rtuk6z0WF7AUVNxzDBxsuxxg0rip2v3IIOY4dbVDA09eENntwyng qe6MyXOMoE7eEm5pPgu7fuMXSMr8lzxU2Znm+FqFry6rvTwPn4VhwAalUyEzBnJdi483 SrkWqJnCRUzu9uDEcLPMB07MKh8AXrl/vBbkFBkLFQ96/pCp4WuX/w04aBqz6JC45vMR 2tJXoVjN4XIo/Qvcz+DLdKxv5bmOqrq55INkouJ4EtN3UNiFokft5iFGCfbR8vpHLroC nWx2YKCTeHOY69dt/haboURzjrHBJnCHGcMNjwMPvhrJoZ03DYOgEjjZGPPALoV7Vnxa kGpw== X-Gm-Message-State: AOAM5328ySabu/c/08RVDu9T4kCROnffQz4SvLjkgk/TuOzboOlqg+vm SX6n9TWlT/YgrRgwGMWdQQ== X-Received: by 2002:a02:a805:: with SMTP id f5mr9006426jaj.130.1590779116574; Fri, 29 May 2020 12:05:16 -0700 (PDT) Received: from xps15 ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id u21sm4128479iot.5.2020.05.29.12.05.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 May 2020 12:05:15 -0700 (PDT) Received: (nullmailer pid 2764174 invoked by uid 1000); Fri, 29 May 2020 19:05:14 -0000 Date: Fri, 29 May 2020 13:05:14 -0600 From: Rob Herring To: Jean-Baptiste Maneyrol Cc: jic23@kernel.org, mchehab+huawei@kernel.org, davem@davemloft.net, gregkh@linuxfoundation.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 11/12] dt-bindings: iio: imu: Add inv_icm42600 documentation Message-ID: <20200529190514.GA2762360@bogus> References: <20200527185711.21331-1-jmaneyrol@invensense.com> <20200527185711.21331-12-jmaneyrol@invensense.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200527185711.21331-12-jmaneyrol@invensense.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 27, 2020 at 08:57:10PM +0200, Jean-Baptiste Maneyrol wrote: > Document the ICM-426xxx devices devicetree bindings. > > Signed-off-by: Jean-Baptiste Maneyrol > --- > .../bindings/iio/imu/invensense,icm42600.yaml | 86 +++++++++++++++++++ > 1 file changed, 86 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/imu/invensense,icm42600.yaml > > diff --git a/Documentation/devicetree/bindings/iio/imu/invensense,icm42600.yaml b/Documentation/devicetree/bindings/iio/imu/invensense,icm42600.yaml > new file mode 100644 > index 000000000000..c5b046e0ce36 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/imu/invensense,icm42600.yaml > @@ -0,0 +1,86 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/iio/imu/invensense,icm42600.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: InvenSense ICM-426xx Inertial Measurement Unit > + > +maintainers: > + - Jean-Baptiste Maneyrol > + > +description: | > + 6-axis MotionTracking device that combines a 3-axis gyroscope and a 3-axis accelerometer. > + > + It has a configurable host interface that supports I3C, I2C and SPI serial communication, features a 2kB FIFO and > + 2 programmable interrupts with ultra-low-power wake-on-motion support to minimize system power consumption. > + > + Other industry-leading features include InvenSense on-chip APEX Motion Processing engine for gesture recognition, > + activity classification, and pedometer, along with programmable digital filters, and an embedded temperature sensor. Wrap lines at <80 chars. > + > + https://invensense.tdk.com/wp-content/uploads/2020/03/DS-000292-ICM-42605-v1.4.pdf > + > +properties: > + compatible: > + enum: > + - invensense,icm42600 > + - invensense,icm42602 > + - invensense,icm42605 > + - invensense,icm42622 > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + drive-open-drain: > + type: boolean > + > + vdd-supply: > + description: Regulator that provides power to the sensor > + > + vddio-supply: > + description: Regulator that provides power to the bus > + > +required: > + - compatible > + - reg > + - interrupts > + > +examples: > + - | > + #include > + #include > + i2c0 { > + #address-cells = <1>; > + #size-cells = <0>; > + > + icm42605@68 { > + compatible = "invensense,icm42605"; > + reg = <0x68>; > + interrupt-parent = <&gpio2>; > + interrupts = <7 IRQ_TYPE_EDGE_FALLING>; > + vdd-supply = <&vdd>; > + vddio-supply = <&vddio>; > + }; > + }; > + - | > + #include > + #include > + spi0 { > + #address-cells = <1>; > + #size-cells = <0>; > + > + icm42602@0 { > + compatible = "invensense,icm42602"; > + reg = <0>; > + spi-max-frequency = <24000000>; > + spi-cpha; > + spi-cpol; > + interrupt-parent = <&gpio1>; > + interrupts = <2 IRQ_TYPE_EDGE_FALLING>; > + vdd-supply = <&vdd>; > + vddio-supply = <&vddio>; > + }; > + }; > -- > 2.17.1 >