[PATCH v2 0/2] hwmon: Add Sensirion STS4x temperature sensor support

Alessandro Zini posted 2 patches 1 month, 1 week ago
.../devicetree/bindings/trivial-devices.yaml  |  2 +
Documentation/hwmon/sht4x.rst                 | 17 ++++-
drivers/hwmon/sht4x.c                         | 62 ++++++++++++++-----
3 files changed, 61 insertions(+), 20 deletions(-)
[PATCH v2 0/2] hwmon: Add Sensirion STS4x temperature sensor support
Posted by Alessandro Zini 1 month, 1 week ago
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