public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add driver for HTU31
@ 2025-01-23 20:25 Andrei Lalaev
  2025-01-23 20:25 ` [PATCH 1/2] hwmon: add " Andrei Lalaev
  2025-01-23 20:25 ` [PATCH 2/2] dt-bindings: hwmon: Add description for sensor HTU31 Andrei Lalaev
  0 siblings, 2 replies; 13+ messages in thread
From: Andrei Lalaev @ 2025-01-23 20:25 UTC (permalink / raw)
  To: jdelvare, linux, conor+dt, krzk+dt, robh
  Cc: andrey.lalaev, linux-hwmon, devicetree, linux-kernel

This patch series adds support for HTU31 humidity and temperature
sensor.

Andrei Lalaev (2):
  hwmon: add driver for HTU31
  dt-bindings: hwmon: Add description for sensor HTU31

 .../devicetree/bindings/trivial-devices.yaml  |   2 +
 Documentation/hwmon/htu31.rst                 |  38 ++
 Documentation/hwmon/index.rst                 |   1 +
 drivers/hwmon/Kconfig                         |  11 +
 drivers/hwmon/Makefile                        |   1 +
 drivers/hwmon/htu31.c                         | 335 ++++++++++++++++++
 6 files changed, 388 insertions(+)
 create mode 100644 Documentation/hwmon/htu31.rst
 create mode 100644 drivers/hwmon/htu31.c

-- 
2.48.1


^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCH v2 0/2] Add driver for HTU31
@ 2025-01-26 14:40 Andrei Lalaev
  2025-01-26 14:40 ` [PATCH 2/2] dt-bindings: hwmon: Add description for sensor HTU31 Andrei Lalaev
  0 siblings, 1 reply; 13+ messages in thread
From: Andrei Lalaev @ 2025-01-26 14:40 UTC (permalink / raw)
  To: jdelvare, linux, conor+dt, robh, krzk, christophe.jaillet
  Cc: linux-hwmon, linux-kernel, devicetree, andrey.lalaev

This patch series adds support for HTU31 humidity and temperature
sensor.

Changes in v2:
- replace DIV_ROUND_CLOSEST with DIV_ROUND_CLOSEST_ULL to prevent
  possible overflow
- drop mutex locking from htu31_read_serial_number, as the function is
  only called from probe
- add description of the private data structure
- fix the issues pointed by Christophe
- add an entry to MAINTAINERS file
- add Krzysztof's ACK to dt-bindings patch

v1: https://lore.kernel.org/all/20250123202528.223966-1-andrey.lalaev@gmail.com/#t

Andrei Lalaev (2):
  hwmon: add driver for HTU31
  dt-bindings: hwmon: Add description for sensor HTU31

 .../devicetree/bindings/trivial-devices.yaml  |   2 +
 Documentation/hwmon/htu31.rst                 |  38 ++
 Documentation/hwmon/index.rst                 |   1 +
 MAINTAINERS                                   |   6 +
 drivers/hwmon/Kconfig                         |  11 +
 drivers/hwmon/Makefile                        |   1 +
 drivers/hwmon/htu31.c                         | 345 ++++++++++++++++++
 7 files changed, 404 insertions(+)
 create mode 100644 Documentation/hwmon/htu31.rst
 create mode 100644 drivers/hwmon/htu31.c

-- 
2.48.1


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

end of thread, other threads:[~2025-01-27 20:14 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-23 20:25 [PATCH 0/2] Add driver for HTU31 Andrei Lalaev
2025-01-23 20:25 ` [PATCH 1/2] hwmon: add " Andrei Lalaev
2025-01-24  8:31   ` Krzysztof Kozlowski
2025-01-24 14:56     ` Andrei Lalaev
2025-01-27 12:16       ` Krzysztof Kozlowski
2025-01-24 12:14   ` Christophe JAILLET
2025-01-23 20:25 ` [PATCH 2/2] dt-bindings: hwmon: Add description for sensor HTU31 Andrei Lalaev
2025-01-24  8:26   ` Krzysztof Kozlowski
  -- strict thread matches above, loose matches on Subject: below --
2025-01-26 14:40 [PATCH v2 0/2] Add driver for HTU31 Andrei Lalaev
2025-01-26 14:40 ` [PATCH 2/2] dt-bindings: hwmon: Add description for sensor HTU31 Andrei Lalaev
2025-01-27  7:07   ` Krzysztof Kozlowski
2025-01-27 19:21     ` Andrei Lalaev
2025-01-27 19:39       ` Krzysztof Kozlowski
2025-01-27 20:14         ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox