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