lkml.org 
[lkml]   [2022]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] hwmon: (ftsteutates) Various fixes
Date
Merry Christmas,

a user reported strange sensors values when using the ftsteutates driver
on kernel 6.1. A bit of research revealed that the drivers was omiting
any scaling of the measurements, causing strange sensor values being
reported with the sensors command. This was likely done since when the
ftsteutates driver was still out-of-tree, all scaling was done by
libsensors with an custom config file provided by Fujitsu.
The first patch fixes this issue.

The seconds patch converts the driver to use the modern *_with_info() API
and also adds support for fanX_fault and 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 is a minor improvement regarding the watchdog registration.

All changes where tested on a Fujitsu DS3401-B1 and apppear to work.

Armin Wolf (3):
hwmon: (ftsteutates) Fix scaling of measurements
hwmon: (ftsteutates) Convert to devm_hwmon_device_register_with_info()
hwmon: (ftsteutates) Use devm_watchdog_register_device()

Documentation/hwmon/ftsteutates.rst | 9 +
drivers/hwmon/ftsteutates.c | 551 ++++++++++------------------
2 files changed, 213 insertions(+), 347 deletions(-)

--
2.30.2

\
 
 \ /
  Last update: 2023-03-26 23:19    [W:0.071 / U:0.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site