1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/magnetometer/asahi-kasei,ak8974.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Asahi Kasei AK8974 magnetometer sensor
10 - Linus Walleij <linus.walleij@linaro.org>
25 Data ready (DRDY) and interrupt (INT1) lines from the chip. The DRDY
26 interrupt must be placed first. The interrupts can be triggered on
27 rising or falling edges.
35 additionalProperties: false
43 #include <dt-bindings/interrupt-controller/irq.h>
49 compatible = "asahi-kasei,ak8974";
51 avdd-supply = <&foo_reg>;
52 dvdd-supply = <&bar_reg>;
53 interrupts = <0 IRQ_TYPE_EDGE_RISING>,
54 <1 IRQ_TYPE_EDGE_RISING>;