All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] hwmon: Add Sensirion STS4x temperature sensor support
@ 2026-08-21  9:19 Alessandro Zini
  2026-08-21  9:19 ` [PATCH v2 1/2] dt-bindings: trivial-devices: Add Sensirion STS4x series Alessandro Zini
  2026-08-21  9:19 ` [PATCH v2 2/2] hwmon: (sht4x): Add support for Sensirion STS4x temperature sensors Alessandro Zini
  0 siblings, 2 replies; 7+ messages in thread
From: Alessandro Zini @ 2026-08-21  9:19 UTC (permalink / raw)
  To: Guenter Roeck, Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: linux-hwmon, devicetree, linux-doc, linux-kernel, Alessandro Zini

This patch series adds support for the Sensirion STS4x family of digital
temperature sensors by extending the existing sht4x driver and adding
the "sensirion,sts40" compatible string to trivial-devices.

The STS4x series shares the same I2C commands, conversion formulas,
CRC-8 checksum, and measurement timings with the SHT4x humidity and
temperature sensors, but returns 3 bytes of temperature data instead
of 6 bytes.

Changes in v2:
- Fixed heating_complete initialization in probe to prevent msleep
  delays on boot.
- Bypassed heater delay checks in sht4x_read_values() for STS4x.

Alessandro Zini (2):
  dt-bindings: trivial-devices: Add Sensirion STS4x series
  hwmon: (sht4x): Add support for Sensirion STS4x temperature sensors

 .../devicetree/bindings/trivial-devices.yaml  |  2 +
 Documentation/hwmon/sht4x.rst                 | 17 ++++-
 drivers/hwmon/sht4x.c                         | 62 ++++++++++++++-----
 3 files changed, 61 insertions(+), 20 deletions(-)

-- 
2.55.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-08-21 14:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-21  9:19 [PATCH v2 0/2] hwmon: Add Sensirion STS4x temperature sensor support Alessandro Zini
2026-08-21  9:19 ` [PATCH v2 1/2] dt-bindings: trivial-devices: Add Sensirion STS4x series Alessandro Zini
2026-08-21  9:23   ` sashiko-bot
2026-08-21 14:21   ` Guenter Roeck
2026-08-21  9:19 ` [PATCH v2 2/2] hwmon: (sht4x): Add support for Sensirion STS4x temperature sensors Alessandro Zini
2026-08-21  9:29   ` sashiko-bot
2026-08-21 14:23   ` Guenter Roeck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.