Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / iio / chemical / plantower,pms7003.yaml
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 examples:
42   - |
43     serial {
44       air-pollution-sensor {
45         compatible = "plantower,pms7003";
46         vcc-supply = <&reg_vcc5v0>;
47       };
48     };
49
50 ...