Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1186568
| From | Jandy Gou <qingsong.gou@ck-telecom.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/2] iio: magnetometer: mmc35240: Add DT binding doc |
| Date | 2015-07-17 10:50 +0200 |
| Message-ID | <pN9vd-kw-23@gated-at.bofh.it> (permalink) |
| References | <pN9vd-kw-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Signed-off-by: Jandy Gou <qingsong.gou@ck-telecom.com>
---
.../devicetree/bindings/iio/magnetometer/mmc35240.txt | 13 +++++++++++++
1 file changed, 13 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/magnetometer/mmc35240.txt
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>;
+};
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 2/2] iio: magnetometer: mmc35240: Add DT binding doc Jandy Gou <qingsong.gou@ck-telecom.com> - 2015-07-17 10:50 +0200
csiph-web