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,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=unavailable 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 33DC3C433FF for ; Sat, 27 Jul 2019 18:56:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F417320840 for ; Sat, 27 Jul 2019 18:56:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564253794; bh=RkaESylDxhMU4j5gbLS98r9TP18afJMcxHuIe7PslZs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=SjH9QMSXLrDbwqLkWwqx0LA6iDmh1pUw6CRkxdSnvglwzPZmaTGDjutGRWWsig7KI IqqRLbYacpHymTC4DzZLCzepkUEMwrjoZfWqR/iEnm8GhmXjHAC0VFyTmuAWNzUG1Y nYvxqRJJlgq8tE+vh170XPD6XapcAgYHTyL62T04= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388157AbfG0S43 (ORCPT ); Sat, 27 Jul 2019 14:56:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:55816 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387794AbfG0S43 (ORCPT ); Sat, 27 Jul 2019 14:56:29 -0400 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 69E6120840; Sat, 27 Jul 2019 18:56:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564253788; bh=RkaESylDxhMU4j5gbLS98r9TP18afJMcxHuIe7PslZs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=qsiFPIe3yioqJD0b69GZ9gNBu2vmbDklVg6e9o38FLLvWEq6iuSADdp/rNVVYYOI0 0bpF3DgOyav3bWhVJjn1yL2BQNqH0IaOknqe8Lue9MziPZUGJC/YC6g/GMXhmcN+Un 2DvjX4ob/leO2/lta4MyP7yppmOX3OZrUrHze09c= Date: Sat, 27 Jul 2019 19:56:23 +0100 From: Jonathan Cameron To: Alexandru Ardelean Cc: , , , , , , , Rob Herring Subject: Re: [PATCH 3/3][V4] dt-bindings: iio: imu: add bindings for ADIS16460 Message-ID: <20190727195623.42c8b4f3@archlinux> In-Reply-To: <20190723073641.27801-4-alexandru.ardelean@analog.com> References: <20190723073641.27801-1-alexandru.ardelean@analog.com> <20190723073641.27801-4-alexandru.ardelean@analog.com> 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: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org On Tue, 23 Jul 2019 10:36:40 +0300 Alexandru Ardelean wrote: > This change adds device-tree bindings for the ADIS16460. > > Reviewed-by: Rob Herring > Signed-off-by: Alexandru Ardelean Really trivial, but convention (as driven by what git am -s does if nothing else, is to add extra tags in chronological order. So Rob would be after you. I tweaked it which I don't always remember to do. It's not consistent across the kernel but I'll fight for my little corner to be :) Applied. Thanks, Jonathan > --- > .../bindings/iio/imu/adi,adis16460.yaml | 53 +++++++++++++++++++ > MAINTAINERS | 1 + > 2 files changed, 54 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml > > diff --git a/Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml b/Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml > new file mode 100644 > index 000000000000..0c53009ba7d6 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml > @@ -0,0 +1,53 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/iio/imu/adi,adis16460.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Analog Devices ADIS16460 and similar IMUs > + > +maintainers: > + - Dragos Bogdan > + > +description: | > + Analog Devices ADIS16460 and similar IMUs > + https://www.analog.com/media/en/technical-documentation/data-sheets/ADIS16460.pdf > + > +properties: > + compatible: > + enum: > + - adi,adis16460 > + > + reg: > + maxItems: 1 > + > + spi-cpha: true > + > + spi-cpol: true > + > + interrupts: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - interrupts > + > +examples: > + - | > + #include > + #include > + spi0 { > + #address-cells = <1>; > + #size-cells = <0>; > + > + imu@0 { > + compatible = "adi,adis16460"; > + reg = <0>; > + spi-max-frequency = <5000000>; > + spi-cpol; > + spi-cpha; > + interrupt-parent = <&gpio0>; > + interrupts = <0 IRQ_TYPE_LEVEL_HIGH>; > + }; > + }; > diff --git a/MAINTAINERS b/MAINTAINERS > index f7de89e82e35..07105e43ea1e 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -951,6 +951,7 @@ S: Supported > L: linux-iio@vger.kernel.org > W: http://ez.analog.com/community/linux-device-drivers > F: drivers/iio/imu/adis16460.c > +F: Documentation/devicetree/bindings/iio/imu/adi,adis16460.yaml > > ANALOG DEVICES INC ADP5061 DRIVER > M: Stefan Popa