linux-hwmon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/4] hwmon: (sht21) Add devicetree support
@ 2025-09-08 15:54 Kurt Borja
  2025-09-08 15:54 ` [PATCH v4 1/4] hwmon: (sht21) Documentation cleanup Kurt Borja
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Kurt Borja @ 2025-09-08 15:54 UTC (permalink / raw)
  To: Jean Delvare, Guenter Roeck, Jonathan Corbet, Andy Shevchenko,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: linux-hwmon, linux-doc, linux-kernel, devicetree, Kurt Borja

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 v4:
- Reorder dt-bindings patch
- Drop stable tags
- Link to v3: https://lore.kernel.org/r/20250907-sht2x-v3-0-bf846bd1534b@gmail.com

Changes in v3:
- Add MODULE_DEVICE_TABLE() (I forgot, sorry for the noise!)
- Link to v2: https://lore.kernel.org/r/20250907-sht2x-v2-0-1c7dc90abf8e@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
      dt-bindings: trivial-devices: Add sht2x sensors
      hwmon: (sht21) Add devicetree support

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


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

end of thread, other threads:[~2025-09-09 17:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-08 15:54 [PATCH v4 0/4] hwmon: (sht21) Add devicetree support Kurt Borja
2025-09-08 15:54 ` [PATCH v4 1/4] hwmon: (sht21) Documentation cleanup Kurt Borja
2025-09-08 19:20   ` Guenter Roeck
2025-09-08 15:54 ` [PATCH v4 2/4] hwmon: (sht21) Add support for SHT20, SHT25 chips Kurt Borja
2025-09-08 19:21   ` Guenter Roeck
2025-09-08 15:54 ` [PATCH v4 3/4] dt-bindings: trivial-devices: Add sht2x sensors Kurt Borja
2025-09-09  7:02   ` Krzysztof Kozlowski
2025-09-09 12:25   ` Guenter Roeck
2025-09-09 17:18     ` Kurt Borja
2025-09-08 15:54 ` [PATCH v4 4/4] hwmon: (sht21) Add devicetree support Kurt Borja
2025-09-09 12:26   ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).