Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / iio / magnetometer / honeywell,hmc5843.yaml
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
7 title: Honeywell HMC5843 magnetometer sensor
8
9 maintainers:
10   - Neil Brown <neilb@suse.de>
11
12 properties:
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
26 additionalProperties: false
27
28 required:
29   - compatible
30   - reg
31
32 examples:
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 ...