xref: /freebsd/sys/contrib/device-tree/Bindings/iio/chemical/plantower,pms7003.yaml (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
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
7title: Plantower PMS7003 air pollution sensor
8
9maintainers:
10  - Tomasz Duszynski <tduszyns@gmail.com>
11
12description: |
13  Air pollution sensor capable of measuring mass concentration of dust
14  particles.
15
16properties:
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
37required:
38  - compatible
39  - vcc-supply
40
41additionalProperties: false
42
43examples:
44  - |
45    serial {
46      air-pollution-sensor {
47        compatible = "plantower,pms7003";
48        vcc-supply = <&reg_vcc5v0>;
49      };
50    };
51
52...
53