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/plantower,pms7003.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Plantower PMS7003 air pollution 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       - plantower,pms1003
0020       - plantower,pms3003
0021       - plantower,pms5003
0022       - plantower,pms6003
0023       - plantower,pms7003
0024       - plantower,pmsa003
0025 
0026   vcc-supply:
0027     description: regulator that provides power to the sensor
0028 
0029   plantower,set-gpios:
0030     description: GPIO connected to the SET line
0031     maxItems: 1
0032 
0033   reset-gpios:
0034     description: GPIO connected to the RESET line
0035     maxItems: 1
0036 
0037 required:
0038   - compatible
0039   - vcc-supply
0040 
0041 additionalProperties: false
0042 
0043 examples:
0044   - |
0045     serial {
0046       air-pollution-sensor {
0047         compatible = "plantower,pms7003";
0048         vcc-supply = <&reg_vcc5v0>;
0049       };
0050     };
0051 
0052 ...