Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-updates > by-pkgid > 1fb57563f6a37947a01076dd207e61cb > files > 2337

kernel-doc-5.3.2-1.mga7.noarch.rpm

* Asahi Kasei AK8974 magnetometer sensor

Required properties:

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

Optional properties:

- avdd-supply: regulator supply for the analog voltage
  (see regulator/regulator.txt)
- dvdd-supply: regulator supply for the digital voltage
  (see regulator/regulator.txt)
- interrupts: data ready (DRDY) and interrupt (INT1) lines
  from the chip, the DRDY interrupt must be placed first.
  The interrupts can be triggered on rising or falling
  edges alike.
- mount-matrix: an optional 3x3 mounting rotation matrix

Example:

ak8974@f {
	compatible = "asahi-kasei,ak8974";
	reg = <0x0f>;
	avdd-supply = <&foo_reg>;
	dvdd-supply = <&bar_reg>;
	interrupts = <0 IRQ_TYPE_EDGE_RISING>,
		     <1 IRQ_TYPE_EDGE_RISING>;
};