xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/magnetometer/pni,rm3100.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* PNI RM3100 3-axis magnetometer sensor
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun- compatible : should be "pni,rm3100"
6*4882a593Smuzhiyun- reg : the I2C address or SPI chip select number of the sensor.
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunOptional properties:
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun- interrupts: data ready (DRDY) from the chip.
11*4882a593Smuzhiyun  The interrupts can be triggered on level high.
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunExample:
14*4882a593Smuzhiyun
15*4882a593Smuzhiyunrm3100: rm3100@20 {
16*4882a593Smuzhiyun	compatible = "pni,rm3100";
17*4882a593Smuzhiyun	reg = <0x20>;
18*4882a593Smuzhiyun	interrupt-parent = <&gpio0>;
19*4882a593Smuzhiyun	interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
20*4882a593Smuzhiyun};
21