[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250128191730.739428-1-andrey.lalaev@gmail.com>
Date: Tue, 28 Jan 2025 20:16:39 +0100
From: Andrei Lalaev <andrey.lalaev@...il.com>
To: linux@...ck-us.net,
krzk@...nel.org,
robh@...nel.org,
christophe.jaillet@...adoo.fr,
jdelvare@...e.com
Cc: linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org,
conor+dt@...nel.org,
andrey.lalaev@...il.com
Subject: [PATCH v3 0/2] Add driver for HTU31
This patch series adds support for HTU31 humidity and temperature
sensor.
Changes in v3:
- move serial number attribute to debugfs
- fix the position of entry in Makefile to keep alphabetical order
- fix the patch versioning
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 | 37 ++
Documentation/hwmon/index.rst | 1 +
MAINTAINERS | 6 +
drivers/hwmon/Kconfig | 11 +
drivers/hwmon/Makefile | 1 +
drivers/hwmon/htu31.c | 351 ++++++++++++++++++
7 files changed, 409 insertions(+)
create mode 100644 Documentation/hwmon/htu31.rst
create mode 100644 drivers/hwmon/htu31.c
--
2.48.1
Powered by blists - more mailing lists