GNU Linux-libre 6.1.90-gnu
[releases.git] / Documentation / devicetree / bindings / iio / chemical / sensirion,scd4x.yaml
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/iio/chemical/sensirion,scd4x.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Sensirion SCD4X carbon dioxide sensor
8
9 maintainers:
10   - Roan van Dijk <roan@protonic.nl>
11
12 description: |
13   Air quality sensor capable of measuring co2 concentration, temperature
14   and relative humidity.
15
16 properties:
17   compatible:
18     enum:
19       - sensirion,scd40
20       - sensirion,scd41
21
22   reg:
23     maxItems: 1
24
25   interrupts:
26     maxItems: 1
27
28   vdd-supply: true
29
30 required:
31   - compatible
32   - reg
33
34 additionalProperties: false
35
36 examples:
37   - |
38     i2c {
39       #address-cells = <1>;
40       #size-cells = <0>;
41
42       co2-sensor@62 {
43         compatible = "sensirion,scd41";
44         reg = <0x62>;
45       };
46     };