From: Tomasz Duszynski <tduszyns@gmail.com>
To: linux-iio@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
robh+dt@kernel.org, jic23@jic23.retrosnub.co.uk,
a.brauchli@elementarea.net, Tomasz Duszynski <tduszyns@gmail.com>
Subject: [PATCH v2 3/3] iio: chemical: sps30: add device tree support
Date: Thu, 6 Dec 2018 22:04:43 +0100 [thread overview]
Message-ID: <20181206210443.21052-4-tduszyns@gmail.com> (raw)
In-Reply-To: <20181206210443.21052-1-tduszyns@gmail.com>
Add device tree support for Sensirion SPS30 particulate
matter sensor.
Signed-off-by: Tomasz Duszynski <tduszyns@gmail.com>
---
.../bindings/iio/chemical/sensirion,sps30.txt | 12 ++++++++++++
1 file changed, 12 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/chemical/sensirion,sps30.txt
diff --git a/Documentation/devicetree/bindings/iio/chemical/sensirion,sps30.txt b/Documentation/devicetree/bindings/iio/chemical/sensirion,sps30.txt
new file mode 100644
index 000000000000..6eee2709b5b6
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/chemical/sensirion,sps30.txt
@@ -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>;
+};
--
2.19.2
prev parent reply other threads:[~2018-12-06 21:05 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-06 21:04 [PATCH v2 0/3] add support for Sensirion SPS30 PM sensor Tomasz Duszynski
2018-12-06 21:04 ` [PATCH v2 1/3] iio: add IIO_MASSCONCENTRATION channel type Tomasz Duszynski
2018-12-08 15:47 ` Jonathan Cameron
2018-12-06 21:04 ` [PATCH v2 2/3] iio: chemical: add support for Sensirion SPS30 sensor Tomasz Duszynski
2018-12-08 15:55 ` Jonathan Cameron
2018-12-08 20:09 ` Tomasz Duszynski
2018-12-11 18:11 ` Jonathan Cameron
2018-12-10 4:23 ` kbuild test robot
2018-12-10 4:23 ` kbuild test robot
2018-12-10 4:23 ` [PATCH] iio: chemical: fix semicolon.cocci warnings kbuild test robot
2018-12-10 4:23 ` kbuild test robot
2018-12-06 21:04 ` Tomasz Duszynski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181206210443.21052-4-tduszyns@gmail.com \
--to=tduszyns@gmail.com \
--cc=a.brauchli@elementarea.net \
--cc=devicetree@vger.kernel.org \
--cc=jic23@jic23.retrosnub.co.uk \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.