From: Jandy Gou Date: Fri, 17 Jul 2015 08:34:36 +0000 (+0800) Subject: iio: magnetometer: mmc35240: Add DT binding doc X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=2563f7fc83d655792ec9999e2dda7a37172ae6aa;p=deliverable%2Flinux.git iio: magnetometer: mmc35240: Add DT binding doc Signed-off-by: Jandy Gou Signed-off-by: Jonathan Cameron --- 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>; +};