xref: /freebsd/sys/contrib/device-tree/Bindings/iio/chemical/winsen,mhz19b.yaml (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/chemical/winsen,mhz19b.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: MHZ19B CO2 sensor
8
9maintainers:
10  - Gyeyoung Baek <gye976@gmail.com>
11
12properties:
13  compatible:
14    const: winsen,mhz19b
15
16  vin-supply:
17    description: Regulator that provides power to the sensor
18
19required:
20  - compatible
21  - vin-supply
22
23additionalProperties: false
24
25examples:
26  - |
27    serial {
28      co2-sensor {
29        compatible = "winsen,mhz19b";
30        vin-supply = <&vdd>;
31      };
32    };
33...
34