linux-hwmon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Armin Wolf <W_Armin@gmx.de>
To: jdelvare@suse.com, linux@roeck-us.net
Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2 0/3] (ftsteutates) Various fixes
Date: Thu,  5 Jan 2023 23:51:04 +0100	[thread overview]
Message-ID: <20230105225107.58308-1-W_Armin@gmx.de> (raw)

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


             reply	other threads:[~2023-01-05 22:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-05 22:51 Armin Wolf [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230105225107.58308-1-W_Armin@gmx.de \
    --to=w_armin@gmx.de \
    --cc=jdelvare@suse.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).