summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/iio/magnetometer/ak8975.txt
blob: 011679f1a4259bd14847207c93361bdc1f3d41af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
* AsahiKASEI AK8975 magnetometer sensor

Required properties:

  - compatible : should be "asahi-kasei,ak8975"
  - reg : the I2C address of the magnetometer

Optional properties:

  - gpios : should be device tree identifier of the magnetometer DRDY pin

Example:

ak8975@0c {
        compatible = "asahi-kasei,ak8975";
        reg = <0x0c>;
        gpios = <&gpj0 7 0>;
};