[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230105225107.58308-1-W_Armin@gmx.de>
Date: Thu, 5 Jan 2023 23:51:04 +0100
From: Armin Wolf <W_Armin@....de>
To: jdelvare@...e.com, linux@...ck-us.net
Cc: linux-hwmon@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/3] (ftsteutates) Various fixes
This patch series contains the missing changes from the previous series.
The first patch converts the driver to use the modern *_with_info() API,
while the second patch replaces the nonstandard fanX_source attributes
with standard pwmX_auto_channels_temp attributes. Since the behaviour of
the pwmX_auto_channels_temp attributes is a bit special with the teutates BMC,
it is added to the drivers documentation. The last patch adds support
for fanX_fault attributes, using information already available inside
the driver but not exported to userspace.
Changes since v1:
- Omit patches regarding the scaling of measurements and watchdog
registration
- Split the patch regarding the API conversion into three separate
patches
- introduce FTS_FAN_SOURCE_INVALID so the pwmX_auto_channels_temp
attributes display proper values for unconnected fans
Armin Wolf (3):
hwmon: (ftsteutates) Convert to devm_hwmon_device_register_with_info()
hwmon: (ftsteutates) Replace fanX_source with pwmX_auto_channels_temp
hwmon: (ftsteutates) Add support for fanX_fault attributes
Documentation/hwmon/ftsteutates.rst | 5 +
drivers/hwmon/ftsteutates.c | 550 +++++++++++-----------------
2 files changed, 210 insertions(+), 345 deletions(-)
--
2.30.2
Powered by blists - more mailing lists