0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/magnetometer/honeywell,hmc5843.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Honeywell HMC5843 magnetometer sensor
0008
0009 maintainers:
0010 - Neil Brown <neilb@suse.de>
0011
0012 properties:
0013 compatible:
0014 enum:
0015 - honeywell,hmc5843
0016 - honeywell,hmc5883
0017 - honeywell,hmc5883l
0018 - honeywell,hmc5983
0019
0020 reg:
0021 maxItems: 1
0022
0023 interrupts:
0024 maxItems: 1
0025
0026 additionalProperties: false
0027
0028 required:
0029 - compatible
0030 - reg
0031
0032 examples:
0033 - |
0034 i2c {
0035 #address-cells = <1>;
0036 #size-cells = <0>;
0037
0038 magnetometer@1e {
0039 compatible = "honeywell,hmc5843";
0040 reg = <0x1e>;
0041 };
0042 };
0043 ...