Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp1731100imb; Sun, 3 Mar 2019 04:55:14 -0800 (PST) X-Google-Smtp-Source: APXvYqxrTuzwnbJyTydvbLnUcljGKhPpFFLZRsDaVsKumUaMxTDCxTmtIOvGYtOEjfo/AT74xElB X-Received: by 2002:a17:902:2bc7:: with SMTP id l65mr15232561plb.79.1551617714818; Sun, 03 Mar 2019 04:55:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551617714; cv=none; d=google.com; s=arc-20160816; b=Q7HUf8EEUT5m+/SPPSewtt4U0c50DR/fp9Zql3EyT8TROzUcLNtoU+0IxmcUf9Mu8o Z+qYJhTWeeRooGRC75zXs+AGxG7TOOmy6+0dN1iKFWVxFzIYzAtOrVe07bPzpgifU3KP XkUQHOf63voN2atYetvv32q7kHFOCF3x5hCu8LtUN0P7HRyNViz4x09Ou9nPGzcFmLM6 VwlP73i306l7XD17+BAfum4AIZA214MR0tEQBT4QUnDKsHxJACktHpmf3QrPDP3jKvAh s69lS4xdsuff3duDdM308lFC2xhbx9cSjP4nV49Yv1X3YinArZ6MmOvlEHk/vvjowSzX ie+A== 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=DnXBwl3WhzQU3BiNCNJxA4q4p2S8i0sSwX4DfsTb3TQ=; b=QNhQDpwqWcO5cl55mHAOQtR6rp4guw86GSxr8TyMMXLjjmWhng33pN6TiLdvrpYEmi 5WLxdkyGTUYBs3X7GUA1+AsYQNaoE4jmRaicZS9qEoppa4WfXhbKs6AxKxwxPwKHvWB3 QHDP1s1cMEOt5WNBYkIe4htqKzwhK2dGm4VFhAjEnM6QTCyeJOuEPD30zbFeBXHcL2DH DcPBSCtcRWCEDBeAWUVmKRkmydgair+ZjmWxIIeV14efSUQlfkROdjT6rd0orjsPZEBA rxuIxCbdKogBTHlvf9g8nbw34daPLyBjt1LjNdBRn4dxxLcCwgYGI7mf2j8tiJzLWe8W DZnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=djTHR53G; 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 j63si2779655pgd.391.2019.03.03.04.54.59; Sun, 03 Mar 2019 04:55:14 -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=djTHR53G; 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 S1726230AbfCCMyf (ORCPT + 99 others); Sun, 3 Mar 2019 07:54:35 -0500 Received: from mail.kernel.org ([198.145.29.99]:56178 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726158AbfCCMyf (ORCPT ); Sun, 3 Mar 2019 07:54:35 -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 660ED20857; Sun, 3 Mar 2019 12:54:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1551617674; bh=QY/xf8iR2RiXz4DvzpG44suuZ9B6rYUhcfgGhNXLrIE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=djTHR53GpqA0PnjXzko0FFS+/0NYkGe5JCAwTQ7JrgV+7VFJsYiEXXgAIXhjHVndd TXKa+Uz2X1MVg+u1RmBy6GZyXgSAizwSwrzZa2jqX4FvWaCpJh9YOk1h04HyQHnyxc uLtt7v2W5oqzV7mdHOj9zqrby1hN67lkbNC4INBY= Date: Sun, 3 Mar 2019 12:54:29 +0000 From: Jonathan Cameron To: Stefan Popa Cc: , , , , , , , , Subject: Re: [PATCH v3 7/7] iio: imu: adis16480: Add docs for ADIS16480 IMU Message-ID: <20190303125429.3f2c7d70@archlinux> In-Reply-To: <1551284068-4882-8-git-send-email-stefan.popa@analog.com> References: <1551284068-4882-1-git-send-email-stefan.popa@analog.com> <1551284068-4882-8-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 Wed, 27 Feb 2019 18:14:28 +0200 Stefan Popa wrote: > Document support for ADIS16480 Inertial Measurement Unit. > > Signed-off-by: Stefan Popa > Reviewed-by: Rob Herring Applied. 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..39ab016 > --- /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, DIO1 is assigned as default 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