Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/chemical/sensirion,scd4x.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Sensirion SCD4X carbon dioxide sensor
0008 
0009 maintainers:
0010   - Roan van Dijk <roan@protonic.nl>
0011 
0012 description: |
0013   Air quality sensor capable of measuring co2 concentration, temperature
0014   and relative humidity.
0015 
0016 properties:
0017   compatible:
0018     enum:
0019       - sensirion,scd40
0020       - sensirion,scd41
0021 
0022   reg:
0023     maxItems: 1
0024 
0025   interrupts:
0026     maxItems: 1
0027 
0028   vdd-supply: true
0029 
0030 required:
0031   - compatible
0032   - reg
0033 
0034 additionalProperties: false
0035 
0036 examples:
0037   - |
0038     i2c {
0039       #address-cells = <1>;
0040       #size-cells = <0>;
0041 
0042       co2-sensor@62 {
0043         compatible = "sensirion,scd41";
0044         reg = <0x62>;
0045       };
0046     };