From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C2477C43603 for ; Fri, 6 Dec 2019 17:10:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9645421835 for ; Fri, 6 Dec 2019 17:10:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575652209; bh=cnUp3MMTWmr0jeElpcAs3FfhFQExmXjdVn6BToXvU58=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=phC98sN0nJ63aRkrkxur3AuK7WpzR/svjlItgrMZSUG1GeOrEU62DUDmesdKe1Ajv FcMdqQ7V8l6D2b8zLeuuiLJtRoqvlEcZhKV+ef35wOInlCSE+CcEV+aBaiSoygocDt dVrIo0BKrfR9eaCtPTZEkvDF9HVdA1gz36DVQ3og= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726353AbfLFRKJ (ORCPT ); Fri, 6 Dec 2019 12:10:09 -0500 Received: from mail.kernel.org ([198.145.29.99]:55000 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726352AbfLFRKJ (ORCPT ); Fri, 6 Dec 2019 12:10:09 -0500 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (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 C16AF20706; Fri, 6 Dec 2019 17:10:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575652208; bh=cnUp3MMTWmr0jeElpcAs3FfhFQExmXjdVn6BToXvU58=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=T/fsoK61BtPcpSWGYW3vyJzZZGzL49IVAqUvYZLKfI8aMAwerC5jJZuhonYA36swL PVV5K8eo+JdsAZ60yZfhYV9oJQ05X0FpA27eT8vRrwgEJvlhnTNFjbBb5ku392S77T L6ODDYlDzGICXNs+hHGZF2qBAC0N9qlwL4X93JUY= Date: Fri, 6 Dec 2019 17:10:02 +0000 From: Jonathan Cameron To: Rob Herring Cc: Rodrigo Carvalho , Lars-Peter Clausen , Michael Hennerich , Stefan Popa , Hartmut Knaack , Peter Meerwald-Stadler , Greg Kroah-Hartman , alexandru.ardelean@analog.com, linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, kernel-usp@googlegroups.com Subject: Re: [PATCH v5 2/2] dt-bindings: iio: accel: add binding documentation for ADIS16240 Message-ID: <20191206171002.2ad020e4@archlinux> In-Reply-To: <20191205152129.GA13911@bogus> References: <20191123233510.4890-1-rodrigorsdc@gmail.com> <20191123233510.4890-2-rodrigorsdc@gmail.com> <20191205152129.GA13911@bogus> X-Mailer: Claws Mail 3.17.4 (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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Thu, 5 Dec 2019 09:21:29 -0600 Rob Herring wrote: > On Sat, Nov 23, 2019 at 08:35:10PM -0300, Rodrigo Carvalho wrote: > > This patch add device tree binding documentation for ADIS16240. > > > > Signed-off-by: Rodrigo Ribeiro Carvalho > > checkpatch.pl complains about a mismatch between the author and S-o-b. The open question on patch 1 is resolved, so respin with the points Rob pointed out her resolved and I'll pick up v6. Thanks, Jonathan > > > --- > > V5: > > - None > > > > .../bindings/iio/accel/adi,adis16240.yaml | 49 +++++++++++++++++++ > > 1 file changed, 49 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml > > > > diff --git a/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml b/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml > > new file mode 100644 > > index 000000000000..8e902f7c49e6 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml > > @@ -0,0 +1,49 @@ > > +# SPDX-License-Identifier: GPL-2.0 > > Dual license new bindings please: (GPL-2.0-only OR BSD-2-Clause) > > With that, > > Reviewed-by: Rob Herring > > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/iio/accel/adi,adis16240.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: ADIS16240 Programmable Impact Sensor and Recorder driver > > + > > +maintainers: > > + - Alexandru Ardelean > > + > > +description: | > > + ADIS16240 Programmable Impact Sensor and Recorder driver that supports > > + SPI interface. > > + https://www.analog.com/en/products/adis16240.html > > + > > +properties: > > + compatible: > > + enum: > > + - adi,adis16240 > > + > > + reg: > > + maxItems: 1 > > + > > + interrupts: > > + maxItems: 1 > > + > > +required: > > + - compatible > > + - reg > > + - interrupts > > + > > +examples: > > + - | > > + #include > > + #include > > + spi0 { > > + #address-cells = <1>; > > + #size-cells = <0>; > > + > > + /* Example for a SPI device node */ > > + accelerometer@0 { > > + compatible = "adi,adis16240"; > > + reg = <0>; > > + spi-max-frequency = <2500000>; > > + interrupt-parent = <&gpio0>; > > + interrupts = <0 IRQ_TYPE_LEVEL_HIGH>; > > + }; > > + }; > > -- > > 2.24.0 > >