diff options
author | Jandy Gou <qingsong.gou@ck-telecom.com> | 2015-07-17 16:34:36 +0800 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-07-19 10:55:44 +0100 |
commit | 2563f7fc83d655792ec9999e2dda7a37172ae6aa (patch) | |
tree | 5a416f90f226ef6c8a90edff5e16b59302fbe419 /Documentation/devicetree/bindings/iio | |
parent | 7dbf1ea8aade8c3b2759acc96e5e709016e6ae28 (diff) | |
download | op-kernel-dev-2563f7fc83d655792ec9999e2dda7a37172ae6aa.zip op-kernel-dev-2563f7fc83d655792ec9999e2dda7a37172ae6aa.tar.gz |
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')
-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 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>; +}; |