Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3038195imu; Sun, 11 Nov 2018 06:25:27 -0800 (PST) X-Google-Smtp-Source: AJdET5cWYRrpqMZ+YP8ps4dplkWyBY0kJXTV2VTbiH64NBgO+apCeoNfH2iKwEh6fD8SnMKtTRHn X-Received: by 2002:a62:704a:: with SMTP id l71-v6mr16413541pfc.68.1541946327019; Sun, 11 Nov 2018 06:25:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541946326; cv=none; d=google.com; s=arc-20160816; b=lImyFFkuGEzLeOETb+zoHILTkP7Y7HcQxHPbtawEoqTcDP5izs3Q8hgp4+t408gnWv 9TTkHU5ovJlgWysFBw6bEl7hYlkbFFa3bCwzmrthGc+wVHqmj1P/gIgviAn3tLYiLKwZ crx/jU825sVYP17zzbhY0lJDcNg4go6wD9WAj762PE27lPEPAkMhWr6jIE68Owo3F/CF 182fikycL8+Bq3Qt1oR8JgE3VKHt4NM6SlLS7KTqI7ZvjHeTvJRe0FPMtLgEBUXeWk9F 80S1fyBc9qft1MaUin+2qNCrF4tpf1g13AH8yJ/TS0c5Bgg4JQSl3zbq3x6KgAL+JV3R Xyvg== 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=qll84+/wUjSJz4g548eOCK7Vvu7eOIZ9k/Hjfc2uu2w=; b=0Fdrf16XKyNWoX06Fdd5Qt4FNgqq4fCW96ulzMe11iV3F9y0qNlb2RkQ4JNAxsn/S+ Qnq9qJ4IoAGJO+KNQCjjqx6OZFobBi3qIeKjHp5wwaUMal2QP7jb7hMwLYx7s+dK2kl6 pP1+yMQLQOked52mJ2jJsxfDUEzWmWvGZODGCkA51VlfBqCfukBUDdiMrssDrus2xwkW +lo+u6YSpNJZh2m3STAh9p6x8DFt6wGWJ8I5gaOIrrHhtKVr/K5RUiernJ/7e91h2zsi e3f9hM/neVRvtap0/d42vT88ayo4ZA/MlheZR9CTxjWLKyYKq9TZ40gMoa+alWor0tzq 74lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Ve7etCE7; 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 e129-v6si15861863pfg.205.2018.11.11.06.25.11; Sun, 11 Nov 2018 06:25:26 -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=Ve7etCE7; 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 S1728498AbeKLANY (ORCPT + 99 others); Sun, 11 Nov 2018 19:13:24 -0500 Received: from mail.kernel.org ([198.145.29.99]:34032 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727805AbeKLANX (ORCPT ); Sun, 11 Nov 2018 19:13:23 -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 A1B10208A3; Sun, 11 Nov 2018 14:24:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541946281; bh=S84olWzloA2eL/TKcUTClryXE2HKtkSQH5HjLz3BSOI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Ve7etCE7vQVESlqxjmP+G8SUjcbIz9WX6mG7jAKfGFuEjwI2Rf/o1LOhyAHOUSS7L bXVI1ZOnxrzg1RmVc+eIgxoX3fKOPO68I+Xp8ikp1lKMRroJGvn35QkTlTJCNr6eBS jja6F+iAJvl3JT3txWhaGQHma/aYDbx4ZNsZqhJs= Date: Sun, 11 Nov 2018 14:24:35 +0000 From: Jonathan Cameron To: Song Qiang Cc: knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, robh+dt@kernel.org, mark.rutland@arm.com, preid@electromag.com.au, himanshujha199640@gmail.com, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v6 2/3] iio: magnetometer: Add DT support for PNI RM3100 Message-ID: <20181111142435.136f420e@archlinux> In-Reply-To: <20181108092749.12167-3-songqiang1304521@gmail.com> References: <20181108092749.12167-1-songqiang1304521@gmail.com> <20181108092749.12167-3-songqiang1304521@gmail.com> 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 Thu, 8 Nov 2018 17:27:48 +0800 Song Qiang wrote: > Signed-off-by: Song Qiang > Reviewed-by: Rob Herring Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it. Thanks, Jonathan > --- > .../bindings/iio/magnetometer/pni,rm3100.txt | 20 +++++++++++++++++++ > 1 file changed, 20 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/magnetometer/pni,rm3100.txt > > diff --git a/Documentation/devicetree/bindings/iio/magnetometer/pni,rm3100.txt b/Documentation/devicetree/bindings/iio/magnetometer/pni,rm3100.txt > new file mode 100644 > index 000000000000..497c932e9e39 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/magnetometer/pni,rm3100.txt > @@ -0,0 +1,20 @@ > +* PNI RM3100 3-axis magnetometer sensor > + > +Required properties: > + > +- compatible : should be "pni,rm3100" > +- reg : the I2C address or SPI chip select number of the sensor. > + > +Optional properties: > + > +- interrupts: data ready (DRDY) from the chip. > + The interrupts can be triggered on level high. > + > +Example: > + > +rm3100: rm3100@20 { > + compatible = "pni,rm3100"; > + reg = <0x20>; > + interrupt-parent = <&gpio0>; > + interrupts = <4 IRQ_TYPE_LEVEL_HIGH>; > +};