Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932273AbbGQHoA (ORCPT ); Fri, 17 Jul 2015 03:44:00 -0400 Received: from m50-211.qiye.163.com ([123.125.50.211]:38833 "EHLO m50-211.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756988AbbGQHn5 (ORCPT ); Fri, 17 Jul 2015 03:43:57 -0400 From: Jandy Gou To: jic23@kernel.org 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, Jandy Gou Subject: [PATCH 2/2] iio: magnetometer: mmc35240: Add DT binding doc Date: Fri, 17 Jul 2015 15:35:02 +0800 Message-Id: <1437118502-29625-3-git-send-email-qingsong.gou@ck-telecom.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1437118502-29625-1-git-send-email-qingsong.gou@ck-telecom.com> References: <1437118502-29625-1-git-send-email-qingsong.gou@ck-telecom.com> X-CM-TRANSID: PdOowECZM0imsKhVfxMOAQ--.32S5 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUU8529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUnGQDUUUUU X-Originating-IP: [182.148.112.52] X-CM-SenderInfo: 5tlqw2xrqjhw1rx6uywnwhzvxfrphudrp/1tbiLwk6uFVirmuutgAAsO Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1058 Lines: 34 Signed-off-by: Jandy Gou --- .../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>; +}; -- 1.9.1 -- 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/