All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] (ftsteutates) Various fixes
@ 2023-01-05 22:51 Armin Wolf
  2023-01-05 22:51 ` [PATCH v2 1/3] hwmon: (ftsteutates) Convert to devm_hwmon_device_register_with_info() Armin Wolf
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Armin Wolf @ 2023-01-05 22:51 UTC (permalink / raw)
  To: jdelvare, linux; +Cc: linux-hwmon, linux-kernel

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


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

end of thread, other threads:[~2023-01-15 16:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-05 22:51 [PATCH v2 0/3] (ftsteutates) Various fixes Armin Wolf
2023-01-05 22:51 ` [PATCH v2 1/3] hwmon: (ftsteutates) Convert to devm_hwmon_device_register_with_info() Armin Wolf
2023-01-15 16:22   ` Guenter Roeck
2023-01-05 22:51 ` [PATCH v2 2/3] hwmon: (ftsteutates) Replace fanX_source with pwmX_auto_channels_temp Armin Wolf
2023-01-15 16:23   ` Guenter Roeck
2023-01-05 22:51 ` [PATCH v2 3/3] hwmon: (ftsteutates) Add support for fanX_fault attributes Armin Wolf
2023-01-15 16:24   ` Guenter Roeck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.