Skip to content

Commit 2563f7f

Browse files
ck-telecomjic23
authored andcommitted
iio: magnetometer: mmc35240: Add DT binding doc
Signed-off-by: Jandy Gou <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent 7dbf1ea commit 2563f7f

File tree

1 file changed

+13
-0
lines changed
  • Documentation/devicetree/bindings/iio/magnetometer

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
* MEMSIC MMC35240 magnetometer sensor
2+
3+
Required properties:
4+
5+
- compatible : should be "memsic,mmc35240"
6+
- reg : the I2C address of the magnetometer
7+
8+
Example:
9+
10+
mmc35240@30 {
11+
compatible = "memsic,mmc35240";
12+
reg = <0x30>;
13+
};

0 commit comments

Comments
 (0)