xref: /freebsd/sys/contrib/device-tree/Bindings/iio/chemical/sensirion,sps30.yaml (revision e6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5)
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
7title: Sensirion SPS30 particulate matter 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      - sensirion,sps30
20  reg:
21    maxItems: 1
22
23required:
24  - compatible
25
26additionalProperties: false
27
28examples:
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...
47