Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753589AbbGSJ5c (ORCPT ); Sun, 19 Jul 2015 05:57:32 -0400 Received: from saturn.retrosnub.co.uk ([178.18.118.26]:45962 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752773AbbGSJ53 (ORCPT ); Sun, 19 Jul 2015 05:57:29 -0400 Message-ID: <55AB7487.5000307@kernel.org> Date: Sun, 19 Jul 2015 10:57:27 +0100 From: Jonathan Cameron User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Jandy Gou CC: daniel.baluta@intel.com, viorel.suman@intel.com, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 2/2] iio: magnetometer: mmc35240: Add DT binding doc References: <1437122076-29816-1-git-send-email-qingsong.gou@ck-telecom.com> <1437122076-29816-3-git-send-email-qingsong.gou@ck-telecom.com> In-Reply-To: <1437122076-29816-3-git-send-email-qingsong.gou@ck-telecom.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1306 Lines: 36 On 17/07/15 09:34, Jandy Gou wrote: > Signed-off-by: Jandy Gou This is so trivial, I'm taking it without waiting for the standard device tree ack / 3 weeks. Applied to the togreg branch of iio.git - initially pushed out as testing. > --- > .../devicetree/bindings/iio/magnetometer/mmc35240.txt | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/magnetometer/mmc35240.txt > > diff --git a/Documentation/devicetree/bindings/iio/magnetometer/mmc35240.txt b/Documentation/devicetree/bindings/iio/magnetometer/mmc35240.txt > new file mode 100644 > index 0000000..a01235c > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/magnetometer/mmc35240.txt > @@ -0,0 +1,13 @@ > +* MEMSIC MMC35240 magnetometer sensor > + > +Required properties: > + > + - compatible : should be "memsic,mmc35240" > + - reg : the I2C address of the magnetometer > + > +Example: > + > +mmc35240@30 { > + compatible = "memsic,mmc35240"; > + reg = <0x30>; > +}; > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/