| From: |
| Maxwell Doose <m32285159-AT-gmail.com> |
| To: |
| Jonathan Cameron <jic23-AT-kernel.org>, David Lechner <dlechner-AT-baylibre.com>, Nuno Sá <nuno.sa-AT-analog.com>, Andy Shevchenko <andy-AT-kernel.org>, Rob Herring <robh-AT-kernel.org>, Krzysztof Kozlowski <krzk+dt-AT-kernel.org>, Conor Dooley <conor+dt-AT-kernel.org>, linux-iio-AT-vger.kernel.org (open list:IIO SUBSYSTEM AND DRIVERS), devicetree-AT-vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel-AT-vger.kernel.org (open list) |
| Subject: |
| [RFC PATCH 0/3] Add Sensirion STS30 temperature sensor driver |
| Date: |
| Fri, 19 Jun 2026 23:40:04 -0500 |
| Message-ID: |
| <20260620044010.1082621-1-m32285159@gmail.com> |
| Archive-link: |
| Article |
Hi all,
This patch adds support for the Sensirion STS30 family of temperature
sensor drivers. It currently supports single-shot non-clock stretched
readings as well as the entirety of the STS30 family.
I'm sending this as an RFC patch as I unfortunately do not have the
hardware right now. I have compile-tested it successfully and have done
a tad bit of testing on QEMU, with it properly registering with no
errors reported in dmesg. Unfortunately due to the way I had compiled
the kernel used to test the driver it did not expose the I2C bus to
userspace properly and I was not able to retrieve values from the
driver, but I can continue more testing over the next few days and am
happy to answer any questions anyone may have. Additionally, regarding
dmesg logs, I neglected to save them while in my testing, but as stated
previously, I can continue more testing over the next couple of days.
Maxwell Doose (3):
dt-bindings: iio: temperature: Add STS30 devicetree bindings
iio: temperature: Add STS30 temperature sensor driver
MAINTAINERS: Add entry for Sensirion STS30 driver
.../iio/temperature/sensirion,sts30.yaml | 49 +++
MAINTAINERS | 6 +
drivers/iio/temperature/Kconfig | 11 +
drivers/iio/temperature/Makefile | 1 +
drivers/iio/temperature/sts30.c | 321 ++++++++++++++++++
5 files changed, 388 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/temperature/sensirion,sts30.yaml
create mode 100644 drivers/iio/temperature/sts30.c
--
2.54.0