Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/chemical/sensirion,sps30.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Sensirion SPS30 particulate matter sensor
0008 
0009 maintainers:
0010   - Tomasz Duszynski <tduszyns@gmail.com>
0011 
0012 description: |
0013   Air pollution sensor capable of measuring mass concentration of dust
0014   particles.
0015 
0016 properties:
0017   compatible:
0018     enum:
0019       - sensirion,sps30
0020   reg:
0021     maxItems: 1
0022 
0023 required:
0024   - compatible
0025 
0026 additionalProperties: false
0027 
0028 examples:
0029   - |
0030     i2c {
0031       #address-cells = <1>;
0032       #size-cells = <0>;
0033 
0034       air-pollution-sensor@69 {
0035         compatible = "sensirion,sps30";
0036         reg = <0x69>;
0037       };
0038     };
0039   - |
0040     serial {
0041       air-pollution-sensor {
0042         compatible = "sensirion,sps30";
0043       };
0044     };
0045 
0046 ...