Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2919601imm; Sun, 16 Sep 2018 06:03:02 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYTmK7/G7Xm27gLSDScqwfhPInwN6wps8/HqMPQn2on21z44+pGnLk+8OI+A+Ad+NMMLNdn X-Received: by 2002:a17:902:bc43:: with SMTP id t3-v6mr7705988plz.199.1537102982588; Sun, 16 Sep 2018 06:03:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537102982; cv=none; d=google.com; s=arc-20160816; b=sVyuZYdBzcvs2VyfDvId6kWNIMWBKUWMMuH/Kuzjib/ldwwOyR/o1R9XFqrF/693sB ixoNfvwcps0+8SlsccZIxc20gJIgKuxxdYjVR3Cfb1mbWi+1TvbhkHJWtpro9zCsa/wi ioSODGeTG+z8+6ET0v7lJrBNpT6H9N4tXFzGXFbuC6HhAPLuxLil0VagyuP00XcxM7pH 9trk+UxPx60NLhxFA19+dV/sl0avL2RqXzvgNcGZPIJBAl89u6B54ej8LqwTGDUbJGXj J3INDZe8baSXHF34LImx8Ymxxonv7Eazlt6Uh8L+oCfEIkDOo70CbPOM0yZsGRbd3FOM S+sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=f5XAGbDtPCyLCJaincW+gLnPqiNd2dYtBRKgPuIEd/Y=; b=TvtlBqO1+eQh4dOeTM7k7bikesvzVOpEEIyRaNkJ5NVU9Fi/k9TrysMjodHP4BP9x7 aZiegI4LOHbicP5ttvPc1SLIGMD36I5pOwjkc3cW0jweEPbyaobHqlggJ6pnZAmtU4Ck 2Bl0wcqXLMEP3VsjKcLE895J6OnWhmBRJ0R1nGI9sgJEArgNBGFCcWL4pop6mes0gJdf AWA5xn5igULJlXnSBufDqOmpvqoZkNQSimvBPnH2d6xZH1K99zkWgW2Aag5x3P6tkcdR TQ89XWb08doWp59oIiqBntThMHMhCnueolKAoF29d+fSBi7klW+C8xLROPncIxaMpNl2 U+Ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=m1Hdu+WE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id d1-v6si13340272pld.322.2018.09.16.06.02.47; Sun, 16 Sep 2018 06:03:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=m1Hdu+WE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1728395AbeIPSYT (ORCPT + 99 others); Sun, 16 Sep 2018 14:24:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:55108 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728363AbeIPSYT (ORCPT ); Sun, 16 Sep 2018 14:24:19 -0400 Received: from archlinux (cpc91196-cmbg18-2-0-cust659.5-4.cable.virginm.net [81.96.234.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B0D912087B; Sun, 16 Sep 2018 13:01:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1537102886; bh=p9x324h2ZD6jX5YRSdk8bF8OEk+v8QodZIpgMNkTRqM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=m1Hdu+WEN7SXxnJxnbwjHufT2RbC5O7IUgmkhJzG21qug02ROAfTx4ddA6LDLbzCd 9AbWxYyVO7dct7DtLIewPUM3GEmmDJrLLOheGPM8f5w9k4woIPweCqK5DD3LZRpI7m ZW0fPym5iJmRnLh3O79k0zxSdDOEVrhLiE5dUp0Q= Date: Sun, 16 Sep 2018 14:01:21 +0100 From: Jonathan Cameron To: Afonso Bordado Cc: knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v4 3/5] dt-bindings: fxas21002c: Document the fxas21002c I2C bindings Message-ID: <20180916140121.0c88cf03@archlinux> In-Reply-To: <20180911150011.31964-3-afonsobordado@az8.co> References: <20180911150011.31964-1-afonsobordado@az8.co> <20180911150011.31964-3-afonsobordado@az8.co> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 11 Sep 2018 16:00:09 +0100 Afonso Bordado wrote: > Add documentation for the fxas21002c I2C bindings. > > Signed-off-by: Afonso Bordado Device tree bindings should go to the devicetree maintainers and the devicetree binding list. Make sure v5 goes that way. This one is just about complex enough I'll want a review from Rob as he is more likely to catch a problem than I am. Thanks, Jonathan > --- > .../bindings/iio/gyroscope/fsl,fxas21002c.txt | 33 +++++++++++++++++++ > 1 file changed, 33 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/gyroscope/fsl,fxas21002c.txt > > diff --git a/Documentation/devicetree/bindings/iio/gyroscope/fsl,fxas21002c.txt b/Documentation/devicetree/bindings/iio/gyroscope/fsl,fxas21002c.txt > new file mode 100644 > index 000000000000..9e5cdf0c0b69 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/gyroscope/fsl,fxas21002c.txt > @@ -0,0 +1,33 @@ > +* Freescale FXAS21002C Digital Angular Rate Gyroscope > + > +Required properties: > + > + - compatible: must be "fsl,fxas21002c" > + - reg : the I2C address of the sensor > + > +Optional properties: > + > + - interrupts : The first interrupt listed must be the one > + connected to the INT1 pin, the second interrupt > + listed must be the one connected to the INT2 pin. > + The interrupts can be triggered on rising or falling > + edges alike. > + see interrupt-controller/interrupts.txt > + - vdd-supply : The main voltage regulator > + - iovdd-supply : The IO voltage regulator > + see regulator/regulator.txt > + - reset-gpios : GPIO used to reset the device. > + see gpio/gpio.txt. > + - mount-matrix : see iio/mount-matrix.txt > + > +Example: > +gyroscope@20 { > + compatible = "fsl,fxas21002c"; > + reg = <0x20>; > + reset-gpios = <&gpio0 2 0>; > + vdd-supply = <&vref>; > + iovdd-supply = <&vref2>; > + interrupt-parent = <&foo>; > + interrupts = <0 IRQ_TYPE_EDGE_RISING>, > + <1 (IRQ_TYPE_EDGE_RISING | IRQ_TYPE_EDGE_FALLING)>; > +};