summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/iio/magnetometer
diff options
context:
space:
mode:
authorJandy Gou <qingsong.gou@ck-telecom.com>2015-07-17 16:34:36 +0800
committerJonathan Cameron <jic23@kernel.org>2015-07-19 10:55:44 +0100
commit2563f7fc83d655792ec9999e2dda7a37172ae6aa (patch)
tree5a416f90f226ef6c8a90edff5e16b59302fbe419 /Documentation/devicetree/bindings/iio/magnetometer
parent7dbf1ea8aade8c3b2759acc96e5e709016e6ae28 (diff)
iio: magnetometer: mmc35240: Add DT binding doc
Signed-off-by: Jandy Gou <qingsong.gou@ck-telecom.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/iio/magnetometer')
-rw-r--r--Documentation/devicetree/bindings/iio/magnetometer/mmc35240.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/magnetometer/mmc35240.txt b/Documentation/devicetree/bindings/iio/magnetometer/mmc35240.txt
new file mode 100644
index 000000000000..a01235c7fa15
--- /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>;
+};