xref: /linux/Documentation/devicetree/bindings/iio/chemical/sensirion,scd4x.yaml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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
7title: Sensirion SCD4X carbon dioxide sensor
8
9maintainers:
10  - Roan van Dijk <roan@protonic.nl>
11
12description: |
13  Air quality sensor capable of measuring co2 concentration, temperature
14  and relative humidity.
15
16properties:
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
30required:
31  - compatible
32  - reg
33
34additionalProperties: false
35
36examples:
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    };
47