Sensirion SCD4X carbon dioxide sensor

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

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

Maintainers (maintainers): "Roan van Dijk <roan@protonic.nl>"

Air quality sensor capable of measuring co2 concentration, temperature and relative humidity.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "sensirion,scd40", "sensirion,scd41"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

vdd-supply — not listed as required here #

true — No constraints added by this property rule.

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

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>;

  co2-sensor@62 {
    compatible = "sensirion,scd41";
    reg = <0x62>;
  };
};

Source notes #

Annotations retained from the schema source

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

Edit this page