[PATCH v2 0/4] hwmon: (sht21) Add devicetree support

Kurt Borja posted 4 patches 1 day, 15 hours ago
There is a newer version of this series
.../devicetree/bindings/trivial-devices.yaml       |  3 +++
Documentation/hwmon/sht21.rst                      | 26 +++++++++++++---------
drivers/hwmon/Kconfig                              |  4 ++--
drivers/hwmon/sht21.c                              | 14 +++++++++++-
4 files changed, 33 insertions(+), 14 deletions(-)
[PATCH v2 0/4] hwmon: (sht21) Add devicetree support
Posted by Kurt Borja 1 day, 15 hours ago
Hi all,

The sht21 driver actually supports all i2c sht2x chips so add support
for those names and additionally add DT support.

Tested for sht20 and verified against the datasheet for sht25.

Thanks!

Signed-off-by: Kurt Borja <kuurtb@gmail.com>
---
Changes in v2:
- Add a documentation cleanup patch
- Add entry for each chip instead of sht2x placeholder
- Update Kconfig too
- Link to v1: https://lore.kernel.org/r/20250907-sht2x-v1-0-fd56843b1b43@gmail.com

---
Kurt Borja (4):
      hwmon: (sht21) Documentation cleanup
      hwmon: (sht21) Add support for SHT20, SHT25 chips
      hwmon: (sht21) Add devicetree support
      dt-bindings: trivial-devices: Add sht2x sensors

 .../devicetree/bindings/trivial-devices.yaml       |  3 +++
 Documentation/hwmon/sht21.rst                      | 26 +++++++++++++---------
 drivers/hwmon/Kconfig                              |  4 ++--
 drivers/hwmon/sht21.c                              | 14 +++++++++++-
 4 files changed, 33 insertions(+), 14 deletions(-)
---
base-commit: b236920731dd90c3fba8c227aa0c4dee5351a639
change-id: 20250907-sht2x-9b96125a0cf5
-- 
 ~ Kurt