lkml.org 
[lkml]   [2023]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] (ftsteutates) Various fixes
Date
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

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