GNU Linux-libre 6.8.9-gnu
[releases.git] / Documentation / devicetree / bindings / iio / chemical / senseair,sunrise.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/senseair,sunrise.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Senseair Sunrise 006-0-0007 CO2 Sensor
8
9 maintainers:
10   - Jacopo Mondi <jacopo@jmondi.org>
11
12 description: |
13   Senseair Sunrise 006-0-0007 is a NDIR CO2 sensor. It supports I2C or UART buses
14   for communications and control.
15
16   Datasheets:
17     https://rmtplusstoragesenseair.blob.core.windows.net/docs/Dev/publicerat/PSP11704.pdf
18     https://rmtplusstoragesenseair.blob.core.windows.net/docs/Dev/publicerat/PSH11649.pdf
19     https://rmtplusstoragesenseair.blob.core.windows.net/docs/Dev/publicerat/TDE5531.pdf
20     https://rmtplusstoragesenseair.blob.core.windows.net/docs/Market/publicerat/TDE7318.pdf
21
22 properties:
23   compatible:
24     const: senseair,sunrise-006-0-0007
25
26   reg:
27     maxItems: 1
28
29   ndry-gpios:
30     maxItems: 1
31     description:
32       Phandle to the GPIO line connected to the nDRY pin. Typically active low.
33
34   en-gpios:
35     maxItems: 1
36     description:
37       Phandle to the GPIO line connected to the EN pin. Typically active high.
38
39 required:
40   - compatible
41   - reg
42
43 additionalProperties: false
44
45 examples:
46   - |
47     i2c {
48       #address-cells = <1>;
49       #size-cells = <0>;
50
51       co2-sensor@68 {
52         compatible = "senseair,sunrise-006-0-0007";
53         reg = <0x68>;
54       };
55     };