linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
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 v4 3/3] iio: chemical: sps30: add device tree support
Date: Fri, 14 Dec 2018 19:28:03 +0100	[thread overview]
Message-ID: <20181214182803.9006-4-tduszyns@gmail.com> (raw)
In-Reply-To: <20181214182803.9006-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.20.0


  parent reply	other threads:[~2018-12-14 18:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-14 18:28 [PATCH v4 0/3] add support for Sensirion SPS30 PM sensor Tomasz Duszynski
2018-12-14 18:28 ` [PATCH v4 1/3] iio: add IIO_MASSCONCENTRATION channel type Tomasz Duszynski
2018-12-16 13:15   ` Jonathan Cameron
2018-12-14 18:28 ` [PATCH v4 2/3] iio: chemical: add support for Sensirion SPS30 sensor Tomasz Duszynski
2018-12-16 13:14   ` Jonathan Cameron
2018-12-16 16:07     ` Tomasz Duszynski
2018-12-14 18:28 ` Tomasz Duszynski [this message]
2018-12-16 13:15   ` [PATCH v4 3/3] iio: chemical: sps30: add device tree support Jonathan Cameron

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=20181214182803.9006-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).