diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2019-09-28 22:38:14 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2019-09-28 22:38:14 +0000 |
commit | 01e5ca170569c10889ed1bb2efcf4d19eae1353c (patch) | |
tree | 7883bf6d7a02e0f8746cc213596f65f90951b46b /Bindings/iio/chemical/sensirion,sps30.yaml | |
parent | ddee9fd0fa975df750c12dd63cdf18715e51a634 (diff) |
Notes
Diffstat (limited to 'Bindings/iio/chemical/sensirion,sps30.yaml')
-rw-r--r-- | Bindings/iio/chemical/sensirion,sps30.yaml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Bindings/iio/chemical/sensirion,sps30.yaml b/Bindings/iio/chemical/sensirion,sps30.yaml new file mode 100644 index 000000000000..50a50a0d7070 --- /dev/null +++ b/Bindings/iio/chemical/sensirion,sps30.yaml @@ -0,0 +1,39 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/chemical/sensirion,sps30.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sensirion SPS30 particulate matter sensor + +maintainers: + - Tomasz Duszynski <tduszyns@gmail.com> + +description: | + Air pollution sensor capable of measuring mass concentration of dust + particles. + +properties: + compatible: + enum: + - sensirion,sps30 + reg: + maxItems: 1 + +required: + - compatible + - reg + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + air-pollution-sensor@69 { + compatible = "sensirion,sps30"; + reg = <0x69>; + }; + }; + +... |