From: Akshat Chandra <notmissinge@gmail.com>
To: linux-iio@vger.kernel.org
Cc: jic23@kernel.org, andy@kernel.org,
"Lukasz Kulga" <lukasz.kulga@gmail.com>,
"David Lechner" <dlechner@baylibre.com>,
"Nuno Sá" <nuno.sa@analog.com>, "Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2 1/2] dt-bindings: iio: chemical: Add Sensirion SGP41 binding
Date: Sun, 15 Nov 2026 11:29:39 +0530 [thread overview]
Message-ID: <20261115055941.362185-2-notmissinge@gmail.com> (raw)
In-Reply-To: <20261115055941.362185-1-notmissinge@gmail.com>
Add a Device Tree binding for the Sensirion SGP41 VOC and NOx gas
sensor, including its VDD supply.
Signed-off-by: Akshat Chandra <notmissinge@gmail.com>
---
.../iio/chemical/sensirion,sgp41.yaml | 43 +++++++++++++++++++
1 file changed, 43 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/chemical/sensirion,sgp41.yaml
diff --git a/Documentation/devicetree/bindings/iio/chemical/sensirion,sgp41.yaml b/Documentation/devicetree/bindings/iio/chemical/sensirion,sgp41.yaml
new file mode 100644
index 000000000000..28528a695cf3
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/chemical/sensirion,sgp41.yaml
@@ -0,0 +1,43 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/iio/chemical/sensirion,sgp41.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Sensirion SGP41 VOC and NOx gas sensor
+
+maintainers:
+ - Akshat Chandra <notmissinge@gmail.com>
+
+description: |
+ Sensirion SGP41 indoor air quality sensor measuring raw VOC and NOx
+ signals over I2C.
+
+properties:
+ compatible:
+ const: sensirion,sgp41
+
+ reg:
+ const: 0x59
+
+ vdd-supply: true
+
+required:
+ - compatible
+ - reg
+ - vdd-supply
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ gas-sensor@59 {
+ compatible = "sensirion,sgp41";
+ reg = <0x59>;
+ vdd-supply = <&vdd>;
+ };
+ };
+...
--
2.53.0
next prev parent reply other threads:[~2026-11-15 6:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-15 5:59 [PATCH v2 0/2] iio: chemical: add support for SGP41 sensor Akshat Chandra
2026-11-15 5:59 ` Akshat Chandra [this message]
2026-11-15 5:59 ` [PATCH v2 2/2] iio: chemical: Add support for Sensirion SGP41 Akshat Chandra
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=20261115055941.362185-2-notmissinge@gmail.com \
--to=notmissinge@gmail.com \
--cc=andy@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lukasz.kulga@gmail.com \
--cc=nuno.sa@analog.com \
--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