Sensirion SPS30 particulate matter sensor

Schema identifier ($id): "http://devicetree.org/schemas/iio/chemical/sensirion,sps30.yaml#"

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

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

Air pollution sensor capable of measuring mass concentration of dust particles.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "sensirion,sps30"

reg — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible"

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

false

Not allowed by this rule.

Examples (examples) #

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

  air-pollution-sensor@69 {
    compatible = "sensirion,sps30";
    reg = <0x69>;
  };
};
serial {
  air-pollution-sensor {
    compatible = "sensirion,sps30";
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page