From: Hermes Zhang <Hermes.Zhang@axis.com>
To: <jic23@kernel.org>, <robh@kernel.org>, <lars@metafoo.de>,
<krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>,
Hermes Zhang <chenhuiz@axis.com>
Cc: <kernel@axis.com>, Hermes Zhang <Hermes.Zhang@axis.com>,
<linux-iio@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Subject: [PATCH 2/3] dt-bindings: iio: chemical: sensirion,senxx: Add yaml description
Date: Thu, 6 Feb 2025 14:15:16 +0800 [thread overview]
Message-ID: <20250206061521.2546108-3-Hermes.Zhang@axis.com> (raw)
In-Reply-To: <20250206061521.2546108-1-Hermes.Zhang@axis.com>
Add documentation for the SEN5x/SEN6x environmental sensor from Sensirion.
Signed-off-by: Hermes Zhang <Hermes.Zhang@axis.com>
---
.../iio/chemical/sensirion,senxx.yaml | 49 +++++++++++++++++++
1 file changed, 49 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/chemical/sensirion,senxx.yaml
diff --git a/Documentation/devicetree/bindings/iio/chemical/sensirion,senxx.yaml b/Documentation/devicetree/bindings/iio/chemical/sensirion,senxx.yaml
new file mode 100644
index 000000000000..4d998eabe441
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/chemical/sensirion,senxx.yaml
@@ -0,0 +1,49 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/iio/chemical/sensirion,senxx.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Sensirion SEN5x/SEN6x environmental sensor
+
+maintainers:
+ - Hermes Zhang <chenhuiz@axis.com>
+
+description: |
+ The SEN5x/SEN6x is a sensor module family combining the measurement of air
+ quality parameters: particulate matter, VOC, NOx, humidity, and temperature.
+
+ Datasheet:
+ https://sensirion.com/media/documents/6791EFA0/62A1F68F/Sensirion_Datasheet_Environmental_Node_SEN5x.pdf
+ https://sensirion.com/media/documents/FAFC548D/6731FFFA/Sensirion_Datasheet_SEN6x.pdf
+
+properties:
+ compatible:
+ enum:
+ - sensirion,sen50
+ - sensirion,sen54
+ - sensirion,sen55
+ - sensirion,sen60
+ - sensirion,sen65
+ - sensirion,sen66
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ sen55@69 {
+ compatible = "sensirion,sen55";
+ reg = <0x69>;
+ };
+ };
--
2.45.2
next parent reply other threads:[~2025-02-06 6:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20250206061521.2546108-1-Hermes.Zhang@axis.com>
2025-02-06 6:15 ` Hermes Zhang [this message]
2025-02-06 18:20 ` [PATCH 2/3] dt-bindings: iio: chemical: sensirion,senxx: Add yaml description Conor Dooley
2025-02-08 7:07 ` Hermes Zhang
2025-02-11 18:44 ` Conor Dooley
2025-02-12 6:27 ` Hermes Zhang
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=20250206061521.2546108-3-Hermes.Zhang@axis.com \
--to=hermes.zhang@axis.com \
--cc=chenhuiz@axis.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jic23@kernel.org \
--cc=kernel@axis.com \
--cc=krzk+dt@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@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