Honeywell HMC5843 magnetometer sensor

Schema identifier ($id): "http://devicetree.org/schemas/iio/magnetometer/honeywell,hmc5843.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Neil Brown <neilb@suse.de>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "honeywell,hmc5843", "honeywell,hmc5883", "honeywell,hmc5883l", "honeywell,hmc5983"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg"

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    magnetometer@1e {
        compatible = "honeywell,hmc5843";
        reg = <0x1e>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page