Merge tag 'block-5.14-2021-08-07' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / iio / chemical / sensirion,sps30.yaml
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/iio/chemical/sensirion,sps30.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Sensirion SPS30 particulate matter 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       - sensirion,sps30
20   reg:
21     maxItems: 1
22
23 required:
24   - compatible
25
26 additionalProperties: false
27
28 examples:
29   - |
30     i2c {
31       #address-cells = <1>;
32       #size-cells = <0>;
33
34       air-pollution-sensor@69 {
35         compatible = "sensirion,sps30";
36         reg = <0x69>;
37       };
38     };
39   - |
40     serial {
41       air-pollution-sensor {
42         compatible = "sensirion,sps30";
43       };
44     };
45
46 ...