Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp428666imp; Wed, 20 Feb 2019 02:46:47 -0800 (PST) X-Google-Smtp-Source: AHgI3IaN19KOGzPjyEWLbXx7ZTX+7GpAuerlH2UodyHi0aYh5zbsEuw6+42A/GEArQfq8VCceOdE X-Received: by 2002:a17:902:b287:: with SMTP id u7mr27275486plr.69.1550659607668; Wed, 20 Feb 2019 02:46:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550659607; cv=none; d=google.com; s=arc-20160816; b=zPQyokpeUb1HxvWsU7fJPNnxrsPD1n/AI10oRhDsCgZK3vLghuMv7d4VwYQd9DTUT6 SGg4ir5Y2OPKbyYPYrsHgInzNLH7CdD3pycBUj7hugBbZdY/YhC+aj+fjz55dHgGis8z 04nmPO/4IPlDq/57qhzuDBg6JrY1vakfIQXtPl8w+UFEW5qpwwOEa5jML9MRAD8W6+1w iWHPaKxYkPKyzbw0JVxhsR5XQXD0q1fU821uFxCRkrWE/wMeyFva0hLDh0ETxsjwTNYh RwVPLV5PvMU5ZEcbtlLvvdFOeFa3JVXKlmpDuo3clk74Sz568rz2ZSUwepGRzq1fKjLY 7L4w== 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=yPguNpzfEtk2ATjSppquDktMgNmjj9vP0gHHyu1VF/E=; b=adZ6Z5H+SOMZr2JOVJepLvFDa1/Ug3Sr4UiUx6y9HQm79wF2fuiCXfkTfL0V1zquxZ C3e+EzGcu1DH7QUaDw5ULZzYk6Nj/d0+329hodPKWck9Okb6f6cWim3GxpxyAYoVCqwK 0K20EI/6vkepG6R9T+lgDW0DTSjTDjs9DB0KwMB9ebV6lXgpyeCrZwhVVNnTqz2kg2bM WJTwDkzPuxf+3qXC1AdAboIpTMjAzu/Kvv3qrCFK3dsz9cFAh++E2Ym6CHxs6eK8s2Bj 0JTLbFAn0NH7iecFb3RlPJSkyqYNfVwDy3GXOFgRrxamzWREtpKqIzYw47RwlY4Xt5ib pVEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qkgHR6Al; 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 e5si14588219pfi.48.2019.02.20.02.46.31; Wed, 20 Feb 2019 02:46:47 -0800 (PST) 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=qkgHR6Al; 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 S1727157AbfBTKqK (ORCPT + 99 others); Wed, 20 Feb 2019 05:46:10 -0500 Received: from mail.kernel.org ([198.145.29.99]:59308 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726209AbfBTKqK (ORCPT ); Wed, 20 Feb 2019 05:46:10 -0500 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 44A6F20C01; Wed, 20 Feb 2019 10:46:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550659569; bh=cQuaSlrFfLIcxlXlGRVwlfXeHX/mDog3QJoG8dYhq9c=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=qkgHR6AlmOtbRQptS60B/GiScZwODRkQHRoHnWln7LBhu+jxMa9+9ceLsIbS38hj+ O8Fl7ehEMstbsLg2tf/EOA83WbgRwY0FZsQxOkIh24ByWWAnUa3QT+pdCDgX3td/iO bY1ik25g4N5gEzFL4sv4G92w4G9dAtya9DAlZPiQ= Date: Wed, 20 Feb 2019 10:46:03 +0000 From: Jonathan Cameron To: Stefan Popa Cc: , , , , , , , , devicetree@vger.kernel.org Subject: Re: [PATCH 6/6] iio: imu: adis16480: Add docs for ADIS16480 IMU Message-ID: <20190220104603.15053787@archlinux> In-Reply-To: <1550596338-24220-7-git-send-email-stefan.popa@analog.com> References: <1550596338-24220-1-git-send-email-stefan.popa@analog.com> <1550596338-24220-7-git-send-email-stefan.popa@analog.com> X-Mailer: Claws Mail 3.17.3 (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, 19 Feb 2019 19:12:18 +0200 Stefan Popa wrote: > Document support for ADIS16480 Inertial Measurement Unit. > > Signed-off-by: Stefan Popa Make sure to CC the dt list as well as Rob. Just because it's normally Rob who is kind enough to review our patches, doesn't mean we shouldn't bombard any other interested parties with them as well ;) Looks good to me, with the exception of the DIO1 vs 2 default discussed in the earlier patch. Thanks, Jonathan > --- > .../devicetree/bindings/iio/imu/adi,adis16480.txt | 49 ++++++++++++++++++++++ > MAINTAINERS | 1 + > 2 files changed, 50 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/imu/adi,adis16480.txt > > diff --git a/Documentation/devicetree/bindings/iio/imu/adi,adis16480.txt b/Documentation/devicetree/bindings/iio/imu/adi,adis16480.txt > new file mode 100644 > index 0000000..dacf5f7 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/imu/adi,adis16480.txt > @@ -0,0 +1,49 @@ > + > +Analog Devices ADIS16480 and similar IMUs > + > +Required properties for the ADIS16480: > + > +- compatible: Must be one of > + * "adi,adis16375" > + * "adi,adis16480" > + * "adi,adis16485" > + * "adi,adis16488" > + * "adi,adis16495-1" > + * "adi,adis16495-2" > + * "adi,adis16495-3" > + * "adi,adis16497-1" > + * "adi,adis16497-2" > + * "adi,adis16497-3" > +- reg: SPI chip select number for the device > +- spi-max-frequency: Max SPI frequency to use > + see: Documentation/devicetree/bindings/spi/spi-bus.txt > +- spi-cpha: See Documentation/devicetree/bindings/spi/spi-bus.txt > +- spi-cpol: See Documentation/devicetree/bindings/spi/spi-bus.txt > +- interrupts: interrupt mapping for IRQ, accepted values are: > + * IRQF_TRIGGER_RISING > + * IRQF_TRIGGER_FALLING > + > +Optional properties: > + > +- interrupt-names: Data ready line selection. Valid values are: > + * DIO1 > + * DIO2 > + * DIO3 > + * DIO4 > + If this field is left empty, the factory default assigns DIO2 as data > + ready signal. > +- reset-gpios: must be the device tree identifier of the RESET pin. As the line > + is active low, it should be marked GPIO_ACTIVE_LOW. > + > +Example: > + > + imu@0 { > + compatible = "adi,adis16495-1"; > + reg = <0>; > + spi-max-frequency = <3200000>; > + spi-cpol; > + spi-cpha; > + interrupts = <25 IRQF_TRIGGER_FALLING>; > + interrupt-parent = <&gpio>; > + interrupt-names = "DIO2"; > + }; > diff --git a/MAINTAINERS b/MAINTAINERS > index e4091ac..beecd1e 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -942,6 +942,7 @@ F: drivers/dma/dma-axi-dmac.c > ANALOG DEVICES INC IIO DRIVERS > M: Lars-Peter Clausen > M: Michael Hennerich > +M: Stefan Popa > W: http://wiki.analog.com/ > W: http://ez.analog.com/community/linux-device-drivers > S: Supported