WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / iio / magnetometer / honeywell,hmc5843.yaml
blob5e778c98584e53b7a67ad04f84ed0c9b746c5fcb
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#
7 title: Honeywell HMC5843 magnetometer sensor
9 maintainers:
10   - Neil Brown <neilb@suse.de>
12 properties:
13   compatible:
14     enum:
15       - honeywell,hmc5843
16       - honeywell,hmc5883
17       - honeywell,hmc5883l
18       - honeywell,hmc5983
20   reg:
21     maxItems: 1
23   interrupts:
24     maxItems: 1
26 additionalProperties: false
28 required:
29   - compatible
30   - reg
32 examples:
33   - |
34     i2c {
35         #address-cells = <1>;
36         #size-cells = <0>;
38         magnetometer@1e {
39             compatible = "honeywell,hmc5843";
40             reg = <0x1e>;
41         };
42     };
43 ...