Re: [RFC PATCH 0/3] Add Sensirion STS30 temperature sensor driver
From: Jonathan Cameron
Date: Thu Jul 02 2026 - 16:15:45 EST
On Fri, 19 Jun 2026 23:40:04 -0500
Maxwell Doose <m32285159@xxxxxxxxx> wrote:
> 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.
Hi Maxwell,
If sending a driver out prior to getting access to hardware (nothing wrong
with doing that to get early feebdack!) Then mark it RFC and state
at top of cover letter it's because it is untested on real hardware.
Note there are exceptions to this where we will merge kernel code against
emulation but that is normally about large cross industry standards or similar
not small drivers like this one.
Thanks,
Jonathan
>
> 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
>