| 
     1 # SPDX-License-Identifier: GPL-2.0
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/iio/chemical/plantower,pms7003.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Plantower PMS7003 air pollution sensor
    8 
    9 maintainers:
   10   - Tomasz Duszynski <tduszyns@gmail.com>
   11 
   12 description: |
   13   Air pollution sensor capable of measuring mass concentration of dust
   14   particles.
   15 
   16 properties:
   17   compatible:
   18     enum:
   19       - plantower,pms1003
   20       - plantower,pms3003
   21       - plantower,pms5003
   22       - plantower,pms6003
   23       - plantower,pms7003
   24       - plantower,pmsa003
   25 
   26   vcc-supply:
   27     description: regulator that provides power to the sensor
   28 
   29   plantower,set-gpios:
   30     description: GPIO connected to the SET line
   31     maxItems: 1
   32 
   33   reset-gpios:
   34     description: GPIO connected to the RESET line
   35     maxItems: 1
   36 
   37 required:
   38   - compatible
   39   - vcc-supply
   40 
   41 additionalProperties: false
   42 
   43 examples:
   44   - |
   45     serial {
   46       air-pollution-sensor {
   47         compatible = "plantower,pms7003";
   48         vcc-supply = <®_vcc5v0>;
   49       };
   50     };
   51 
   52 ...
Cache object: 43843c5c85277f364db7ada4ba9d9bc1 
 
 |