diff options
author | Jandy Gou <qingsong.gou@ck-telecom.com> | 2015-07-17 11:34:36 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-07-19 12:55:44 +0300 |
commit | 2563f7fc83d655792ec9999e2dda7a37172ae6aa (patch) | |
tree | 5a416f90f226ef6c8a90edff5e16b59302fbe419 | |
parent | 7dbf1ea8aade8c3b2759acc96e5e709016e6ae28 (diff) | |
download | linux-2563f7fc83d655792ec9999e2dda7a37172ae6aa.tar.xz |
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>
-rw-r--r-- | Documentation/devicetree/bindings/iio/magnetometer/mmc35240.txt | 13 |
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>; +}; |