xref: /freebsd/sys/contrib/device-tree/Bindings/iio/magnetometer/honeywell,hmc5843.yaml (revision ebacd8013fe5f7fdf9f6a5b286f6680dd2891036)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/magnetometer/honeywell,hmc5843.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Honeywell HMC5843 magnetometer sensor
8
9maintainers:
10  - Neil Brown <neilb@suse.de>
11
12properties:
13  compatible:
14    enum:
15      - honeywell,hmc5843
16      - honeywell,hmc5883
17      - honeywell,hmc5883l
18      - honeywell,hmc5983
19
20  reg:
21    maxItems: 1
22
23  interrupts:
24    maxItems: 1
25
26additionalProperties: false
27
28required:
29  - compatible
30  - reg
31
32examples:
33  - |
34    i2c {
35        #address-cells = <1>;
36        #size-cells = <0>;
37
38        magnetometer@1e {
39            compatible = "honeywell,hmc5843";
40            reg = <0x1e>;
41        };
42    };
43...
44