18c2ecf20Sopenharmony_ci* Asahi Kasei AK8974 magnetometer sensor
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci- compatible:
68c2ecf20Sopenharmony_ci    * "asahi-kasei,ak8974"
78c2ecf20Sopenharmony_ci    * "alps,hscdtd008a"
88c2ecf20Sopenharmony_ci- reg : the I2C address of the magnetometer
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ciOptional properties:
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci- avdd-supply: regulator supply for the analog voltage
138c2ecf20Sopenharmony_ci  (see regulator/regulator.txt)
148c2ecf20Sopenharmony_ci- dvdd-supply: regulator supply for the digital voltage
158c2ecf20Sopenharmony_ci  (see regulator/regulator.txt)
168c2ecf20Sopenharmony_ci- interrupts: data ready (DRDY) and interrupt (INT1) lines
178c2ecf20Sopenharmony_ci  from the chip, the DRDY interrupt must be placed first.
188c2ecf20Sopenharmony_ci  The interrupts can be triggered on rising or falling
198c2ecf20Sopenharmony_ci  edges alike.
208c2ecf20Sopenharmony_ci- mount-matrix: an optional 3x3 mounting rotation matrix
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ciExample:
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ciak8974@f {
258c2ecf20Sopenharmony_ci	compatible = "asahi-kasei,ak8974";
268c2ecf20Sopenharmony_ci	reg = <0x0f>;
278c2ecf20Sopenharmony_ci	avdd-supply = <&foo_reg>;
288c2ecf20Sopenharmony_ci	dvdd-supply = <&bar_reg>;
298c2ecf20Sopenharmony_ci	interrupts = <0 IRQ_TYPE_EDGE_RISING>,
308c2ecf20Sopenharmony_ci		     <1 IRQ_TYPE_EDGE_RISING>;
318c2ecf20Sopenharmony_ci};
32