iio: magnetometer: mmc35240: Add DT binding doc
authorJandy Gou <qingsong.gou@ck-telecom.com>
Fri, 17 Jul 2015 08:34:36 +0000 (16:34 +0800)
committerJonathan Cameron <jic23@kernel.org>
Sun, 19 Jul 2015 09:55:44 +0000 (10:55 +0100)
Signed-off-by: Jandy Gou <qingsong.gou@ck-telecom.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/iio/magnetometer/mmc35240.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/iio/magnetometer/mmc35240.txt b/Documentation/devicetree/bindings/iio/magnetometer/mmc35240.txt
new file mode 100644 (file)
index 0000000..a01235c
--- /dev/null
@@ -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>;
+};