MHZ19B CO2 sensor

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

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

Maintainers (maintainers): "Gyeyoung Baek <gye976@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "winsen,mhz19b"

vin-supply — required here #

Regulator that provides power to the sensor

Required in this object (required): "compatible", "vin-supply"

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

false

Not allowed by this rule.

Examples (examples) #

serial {
  co2-sensor {
    compatible = "winsen,mhz19b";
    vin-supply = <&vdd>;
  };
};

Source notes #

Annotations retained from the schema source

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

Edit this page