Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757165AbbGQImv (ORCPT ); Fri, 17 Jul 2015 04:42:51 -0400 Received: from m50-212.qiye.163.com ([123.125.50.212]:53479 "EHLO m50-212.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752867AbbGQImq (ORCPT ); Fri, 17 Jul 2015 04:42:46 -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, devicetree@vger.kernel.org, Jandy Gou Subject: [PATCH 2/2] iio: magnetometer: mmc35240: Add DT binding doc Date: Fri, 17 Jul 2015 16:34:36 +0800 Message-Id: <1437122076-29816-3-git-send-email-qingsong.gou@ck-telecom.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1437122076-29816-1-git-send-email-qingsong.gou@ck-telecom.com> References: <1437122076-29816-1-git-send-email-qingsong.gou@ck-telecom.com> X-CM-TRANSID: PtOowEB5skSdvqhVloJ1Aw--.37S5 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUU5529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvj4RBE_KDUUUU X-Originating-IP: [182.148.112.52] X-CM-SenderInfo: 5tlqw2xrqjhw1rx6uywnwhzvxfrphudrp/1tbiKwM6uFT+blTNzQAAs6 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/