[PATCH v2 0/2] hwmon: Add Sensirion STS4x temperature sensor support
Alessandro Zini <[email protected]>
| Newsgroups | org.kernel.vger.linux-hwmon,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
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