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>
Subject: [PATCH v2 0/2] iio: chemical: add support for SGP41 sensor
Date: Sun, 15 Nov 2026 11:29:38 +0530 [thread overview]
Message-ID: <20261115055941.362185-1-notmissinge@gmail.com> (raw)
The SGP41 is a gas sensor used for air quality monitoring by sensing
VOC and NOx.
This driver follows the approach of exposing raw resistance values to userspace, where the gas-index algorithm can
be applied.
Temperature and relative humidity compensation are supported and can
be configured through the driver's IIO attributes.
The SGP41 is similar to the existing SGP40, but requires its own driver
for the following reasons:
- It has a dedicated conditioning command that must be performed before
raw measurements.
- A measurement returns a 6-byte response containing two raw tick
values, each with its own CRC, rather than the SGP40's single value.
- It supports both VOC and NOx measurements and requires the heater to
be powered off after use.
The series consists of two patches:
1/2: dt-bindings: iio: chemical: Add Sensirion SGP41 binding
Add a dedicated Device Tree binding, including the VDD supply.
2/2: iio: chemical: Add support for Sensirion SGP41
Add the IIO driver for the sensor.
Changes in v2:
- Split the binding and driver into separate patches.
- Add a dedicated Device Tree binding documenting the VDD supply.
- Update the driver and patch descriptions following review feedback.
- Fixed some issues in driver.
v1: https://patchew.org/linux/20260831151235.64076-1-notmissinge%40gmail.com/
Signed-off-by: Akshat Chandra <notmissinge@gmail.com>
next 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 Akshat Chandra [this message]
2026-11-15 5:59 ` [PATCH v2 1/2] dt-bindings: iio: chemical: Add Sensirion SGP41 binding Akshat Chandra
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-1-notmissinge@gmail.com \
--to=notmissinge@gmail.com \
--cc=andy@kernel.org \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=lukasz.kulga@gmail.com \
/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