summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/iio/magnetometer/mag3110.txt
blob: bdd40bcaaa1ff3bbed77d22fe23f4edb5ddb5048 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
* FREESCALE MAG3110 magnetometer sensor

Required properties:

  - compatible : should be "fsl,mag3110"
  - reg : the I2C address of the magnetometer

Optional properties:

  - interrupts: the sole interrupt generated by the device

  Refer to interrupt-controller/interrupts.txt for generic interrupt client
  node bindings.

  - vdd-supply: phandle to the regulator that provides power to the sensor.
  - vddio-supply: phandle to the regulator that provides power to the sensor's IO.

Example:

magnetometer@e {
	compatible = "fsl,mag3110";
	reg = <0x0e>;
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_i2c3_mag3110_int>;
	interrupt-parent = <&gpio3>;
	interrupts = <16 IRQ_TYPE_EDGE_RISING>;
};