]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
dt-bindings: iio: chemical: sps30: add device tree support
authorTomasz Duszynski <tduszyns@gmail.com>
Fri, 14 Dec 2018 18:28:03 +0000 (19:28 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 16 Dec 2018 14:05:58 +0000 (14:05 +0000)
Add device tree support for Sensirion SPS30 particulate
matter sensor.

Signed-off-by: Tomasz Duszynski <tduszyns@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/chemical/sensirion,sps30.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/iio/chemical/sensirion,sps30.txt b/Documentation/devicetree/bindings/iio/chemical/sensirion,sps30.txt
new file mode 100644 (file)
index 0000000..6eee270
--- /dev/null
@@ -0,0 +1,12 @@
+* Sensirion SPS30 particulate matter sensor
+
+Required properties:
+- compatible: must be "sensirion,sps30"
+- reg: the I2C address of the sensor
+
+Example:
+
+sps30@69 {
+       compatible = "sensirion,sps30";
+       reg = <0x69>;
+};