Newer
Older
barebox / dts / Bindings / iio / magnetometer / ak8975.txt
@Sascha Hauer Sascha Hauer on 28 Apr 2014 374 bytes Add devicetree source files as of Linux-3.15-rc2
* 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>;
};