Linux Documentation
 help / color / mirror / Atom feed
* [PATCH v2 0/1] hwmon: Add Minisforum UM780 XTX EC monitoring and fan control
@ 2026-08-18 18:13 Sebastián Peyrott
  2026-08-18 18:13 ` [PATCH v2 1/1] " Sebastián Peyrott
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastián Peyrott @ 2026-08-18 18:13 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: linux-hwmon, Jonathan Corbet, Shuah Khan, linux-doc, linux-kernel

Add a DMI-gated hwmon driver for both fans on the Minisforum UM780 XTX. The
EC is an ITE IT5571E, but its register layout and OEM commands are defined
by machine-specific firmware, so the driver only binds to the exact board
revision and BIOS version on which it was tested.

The driver exposes both fan-control temperatures and tachometers, two OEM
automatic CPU fan profiles, and two writable system-fan transition
temperatures. It preserves the selected settings across s2idle.

Tested on the target system with concurrent RPM reads, OEM profile changes,
system-fan threshold changes, unload/reload stress, and s2idle resume. The
settings were correct from the first userspace sample after resume and
remained stable for 15 seconds.

OpenAI Codex assisted with reverse-engineering review, code editing, test
orchestration, and patch and email preparation across a long interactive
session. I reviewed every change, ran the live tests on the target
hardware, and take responsibility for the submission.

Link: https://lore.kernel.org/r/20260807003842.249957-1-speyrott@gmail.com

Sebastián Peyrott (1):
  hwmon: Add Minisforum UM780 XTX EC monitoring and fan control

---
Changes in v2:
- use standard hwmon callbacks for pwm1_enable and the hwmon lock for extra
  attributes and PM operations;
- remove constant pwm2 attributes;
- align CPU/SYS temperature and fan channels and simplify their labels;
- round and clamp system-fan threshold writes, and cache the fixed limit;
- replace delayed work with suspend/save and synchronous resume/restore;
- simplify callback dispatch and error handling.

 Documentation/hwmon/index.rst               |   1 +
 Documentation/hwmon/minisforum-um780xtx.rst |  68 +++
 MAINTAINERS                                 |   7 +
 drivers/hwmon/Kconfig                       |  16 +
 drivers/hwmon/Makefile                      |   1 +
 drivers/hwmon/minisforum-um780xtx.c         | 509 ++++++++++++++++++++
 6 files changed, 602 insertions(+)
 create mode 100644 Documentation/hwmon/minisforum-um780xtx.rst
 create mode 100644 drivers/hwmon/minisforum-um780xtx.c


base-commit: 75f2c0b3690702c90863c2e138cb5520670845ea
-- 
2.54.0

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

end of thread, other threads:[~2026-08-18 18:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-18 18:13 [PATCH v2 0/1] hwmon: Add Minisforum UM780 XTX EC monitoring and fan control Sebastián Peyrott
2026-08-18 18:13 ` [PATCH v2 1/1] " Sebastián Peyrott

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox