Measurement Specialities ms5611 and similar pressure sensors

Schema identifier ($id): "http://devicetree.org/schemas/iio/pressure/meas,ms5611.yaml#"

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

Maintainers (maintainers): "Tomasz Duszynski <tduszyns@gmail.com>"

Pressure sensors from MEAS Switzerland with SPI and I2C bus interfaces.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "meas,ms5607", "meas,ms5611"

reg — required here #

Maximum number of items (maxItems): 1

vdd-supply — not listed as required here #

true — No constraints added by this property rule.

spi-max-frequency — not listed as required here #

Maximum value (maximum): 20000000

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

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

    pressure@77 {
        compatible = "meas,ms5607";
        reg = <0x77>;
        vdd-supply = <&ldo_3v3_gnss>;
    };
};
spi {
    #address-cells = <1>;
    #size-cells = <0>;
    pressure@0 {
        compatible = "meas,ms5611";
        reg = <0>;
        vdd-supply = <&ldo_3v3_gnss>;
        spi-max-frequency = <20000000>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page