summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/iio/magnetometer/pni,rm3100.txt
blob: 497c932e9e39ac7c3c53e2b5647ae979bfda460e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
* PNI RM3100 3-axis magnetometer sensor

Required properties:

- compatible : should be "pni,rm3100"
- reg : the I2C address or SPI chip select number of the sensor.

Optional properties:

- interrupts: data ready (DRDY) from the chip.
  The interrupts can be triggered on level high.

Example:

rm3100: rm3100@20 {
	compatible = "pni,rm3100";
	reg = <0x20>;
	interrupt-parent = <&gpio0>;
	interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
};