From: "Sebastián Peyrott" <speyrott@gmail.com>
To: Guenter Roeck <linux@roeck-us.net>
Cc: linux-hwmon@vger.kernel.org, Jonathan Corbet <corbet@lwn.net>,
Shuah Khan <skhan@linuxfoundation.org>,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [RFC PATCH 0/1] hwmon: Add Minisforum UM780 XTX EC monitoring and fan control
Date: Thu, 6 Aug 2026 21:38:41 -0300 [thread overview]
Message-ID: <20260807003842.249957-1-speyrott@gmail.com> (raw)
This RFC adds a board-specific hwmon driver for the embedded controller in
the Minisforum UM780 XTX. It exposes two fan-control temperatures, both fan
tachometers, the two OEM CPU fan profiles, and the configurable system-fan
transition temperatures.
The controller is an ITE IT5571E, but its observable register layout, OEM
commands, and fan-control behavior are defined by machine-specific
firmware. The driver therefore does not attempt to support arbitrary
IT5571E systems and is limited to the exact board revision and BIOS version
on which the interface was reverse engineered and tested.
The firmware reloads its default fan settings several seconds after s2idle
resume. The driver performs one delayed check and restores the last
coherent settings if they changed. It does not poll during normal
operation.
The EC does not expose the currently applied duty cycle, so pwm1 and pwm2
values are not synthesized. Only automatic modes and known curve settings
are exposed.
A research prototype can also report the seven CPU curve boundaries and
modify six while retaining the firmware slopes and fixed 93 C safety
boundary. This is omitted because adjacent bands require paired EC writes
and the visible values do not fully describe firmware interpolation.
I would appreciate feedback on:
1. Whether direct use of the ACPI EC helpers and placement in hwmon are
appropriate for this DMI-gated driver.
2. Whether pwm1_enable values 2 and 3 appropriately represent the two
firmware-controlled CPU profiles.
3. Whether the two stepped system-fan transitions are appropriately
represented as pwm2 automatic curve points.
4. Whether read-only CPU curve boundaries would be useful in a follow-up,
and where experimental writes should live.
The driver was tested on the target hardware with concurrent RPM reads,
profile and curve changes, unload/reload stress, and s2idle resume. The
patch passes checkpatch.pl --strict and builds against hwmon-next.
OpenAI Codex assisted with review, editing, test orchestration, and patch
preparation. I reviewed the result and take responsibility for the
submission.
Sebastián Peyrott (1):
hwmon: Add Minisforum UM780 XTX EC monitoring and fan control
Documentation/hwmon/index.rst | 1 +
Documentation/hwmon/minisforum-um780xtx.rst | 79 +++
MAINTAINERS | 7 +
drivers/hwmon/Kconfig | 16 +
drivers/hwmon/Makefile | 1 +
drivers/hwmon/minisforum-um780xtx.c | 648 ++++++++++++++++++++
6 files changed, 752 insertions(+)
create mode 100644 Documentation/hwmon/minisforum-um780xtx.rst
create mode 100644 drivers/hwmon/minisforum-um780xtx.c
base-commit: f18a46518561205cd6ff775a488a0c9d9d5edbfb
--
2.54.0
next reply other threads:[~2026-08-07 0:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-07 0:38 Sebastián Peyrott [this message]
2026-08-07 0:38 ` [RFC PATCH 1/1] hwmon: Add Minisforum UM780 XTX EC monitoring and fan control Sebastián Peyrott
2026-08-07 0:47 ` sashiko-bot
2026-08-07 1:59 ` Guenter Roeck
2026-08-08 4:21 ` Sebastián Peyrott
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=20260807003842.249957-1-speyrott@gmail.com \
--to=speyrott@gmail.com \
--cc=corbet@lwn.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=skhan@linuxfoundation.org \
/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 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.