From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-vs1-f49.google.com (mail-vs1-f49.google.com [209.85.217.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7272037DABD for ; Tue, 25 Aug 2026 18:41:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.217.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787683288; cv=none; b=WaNNy9SbP1SotNc/Kk8kS8C5bEnASdYpplCFq0PUgcSrGqZwOBKrOmv1EUDx7EOZkaXSVVKrEeVPpLzErmQ58uFBC78yjvNvThoLq4ML1MhfP9hGLH82uO89QGnbCz2mf09e/6v/r7FTz5lZhVyQHRKOsrihtchjM2FF/ERhX5s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787683288; c=relaxed/simple; bh=Tb16IgVakmc+CdnVzLzlZmsZXBKmafpDroRRtjeKCcE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=UzByJidaSb1xMUwv92YZOQ95kxZbql6KZkpXveCN+bGlCqWTStGFbFYTxFOeEHGMbLc0Z4Qxps8K7MoVyg7mS76P3QbqYWbuHD9O/Z+40pz+pUv5lMezFkwAQhkSCc7hTRD7xOxIimb/TPswBNahVd5PI00zhPjyw02LO0cdhMA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=sSjBagxz; arc=none smtp.client-ip=209.85.217.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="sSjBagxz" Received: by mail-vs1-f49.google.com with SMTP id ada2fe7eead31-782df51b4c1so21220137.3 for ; Tue, 25 Aug 2026 11:41:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787683284; x=1788288084; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:message-id:date :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to :content-type; bh=p3QyZWg1WsZH3UzmNsJ7DFfIwK6PjCgdZzJDtgoRKH0=; b=sSjBagxzymuaE686txZ0W7Wx2HEQ2IeJrmCy++blG5CcADv+jJhYC4WhXB2KBjd9xU ZvpTwdFKl4xd7gZi9jEc2/P+nppnd93HfZp/MQDKS+z2UblPAH25uRHT4+hnBeKERMun kgInfIlfVhmtL6nNde5E0PgGmMimibS0XofHAxaMkC6aMd04Md6yrJQvQatFFsSQfB/m o97QwdcfLQiX3OxI+83CrRPLRyhMj/8QD9OIMpFQABJOz5/WV8FqXWWxCvvK8ftphbaQ 4GbWiK9Q3Fpc1vdk7ie//bUK8NhvZDKhLCqmCGW2IhgsqY00J0+upB6zYxfktPNIb/Lx Q7bA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787683284; x=1788288084; h=content-transfer-encoding:content-type:mime-version:message-id:date :subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to:content-type; bh=p3QyZWg1WsZH3UzmNsJ7DFfIwK6PjCgdZzJDtgoRKH0=; b=jnfr2eQduCR0dacFJp6Yq/6DDOlW/upAS1w6o0+etiVcZBDO+mHXU3929Pvx5S2UhQ D4g7/xMTAkwOQj1l9adQYMbR+ehIuahfUIaG0hMU8fh0eMlvAUGpVVJnfnCqfg6xUXT/ wAM7DGzvcPu/HLUUqpOxOSDpgmHm1sRtwLBh1T5HmWXj/7l/2Yqmb4WRToabDZB48gWg vww9KyrqcA26GaVAc/jMLLzMcHaBqvFcMwYNVLLCvnrPSaDSYVqKwBoUVWXMhNNTBs7a BYp2mz2Skn21iNFz9YzrdzArBRjJI06nifCwXBs1XmEH4/JBRRkcM3Ex4am6nz+YAH2r HyLg== X-Forwarded-Encrypted: i=1; AHgh+RrTd7SMS7YesLERrKa14Gn4TlgT3GQCApevq+5hspfm0Y18IEIkWMXBNoL9w7h6cE5pQG0dz0dH2n7ohY8=@vger.kernel.org X-Gm-Message-State: AFuF++llIJzuw5PelxMWAbfnHse8KLeLnIf8YlC3NmtMEG8ird52yQV8 viGx2SDrczX9ROQAyZaqAVJBSEDxJx6aJHuc1vt/IUkmoG5LLNStxVla6EAvTo7x+Lc= X-Gm-Gg: AR+sD11enWFGt2UQADs6Bpk7JEkTmD8SAbAOX49cqGTgd2WGiez80Ipy96O5s+mm+qi qL8q8S0B8XhEOJ6ef19R4Z/VrUrznaJJsmxo6O0emmBKY519m4jjb89uucN0u/0SPtAZMVhXDy4 hrWOepAPsFtKPNlDzPxXfRtk+eoz9XGQqGnCvvwMrE79fk1HWPo3DQ3DT8/wmSFTExJ1KiEwy1O aA8U8aueAYxAj9qGclzHCQ29y5LHbOVsF7Jb52dtFVeBo3iE1/s6TCBLj2hl7ZegcF/WFwuPfzs hPkhvDNtB2aTSk3t/vsx0Buz9YlKIyEMyZek3WRRBQbhzU+TbFd3pBsnHNg3EJuBeoI5MzndkRe 0rpYya1f0QmeWdMgBc5t/OfMJVSkAq1tV6gDO4wX4MJXvZ2Txue3cZHLVmAWTS/oEs/32p7A+nl WFN+9MJiP4y9r6hJR+uz6a/LUsIOdDY03wWv2PKSpnTZpkoNWeFF2UmEuL1UEizcsD X-Received: by 2002:a05:6102:1628:b0:74c:7fd8:73f5 with SMTP id ada2fe7eead31-782c07ff7a7mr381538137.6.1787683284313; Tue, 25 Aug 2026 11:41:24 -0700 (PDT) Received: from nixos-minipc ([2803:9810:b675:f600:452e:e094:2a4f:7300]) by smtp.gmail.com with ESMTPSA id a1e0cc1a2514c-97cbb258a00sm381605241.2.2026.08.25.11.41.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Aug 2026 11:41:23 -0700 (PDT) From: =?UTF-8?q?Sebasti=C3=A1n=20Peyrott?= To: Guenter Roeck Cc: linux-hwmon@vger.kernel.org, Jonathan Corbet , Shuah Khan , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/1] hwmon: Add Minisforum UM780 XTX EC monitoring and fan control Date: Tue, 25 Aug 2026 15:41:06 -0300 Message-ID: <20260825184107.355980-1-speyrott@gmail.com> X-Mailer: git-send-email 2.54.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 settings selected through its interface 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/20260818181345.203295-1-speyrott@gmail.com Sebastián Peyrott (1): hwmon: Add Minisforum UM780 XTX EC monitoring and fan control --- Changes in v3: - return -EIO after bounded RPM coherence retries and -ENODATA for an unknown CPU profile; - seed saved settings at probe, update them only after successful hwmon writes, and restore them at resume without reading the EC at suspend; - clarify saved-state naming, live threshold validation, and resume documentation. 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 | 501 ++++++++++++++++++++ 6 files changed, 594 insertions(+) create mode 100644 Documentation/hwmon/minisforum-um780xtx.rst create mode 100644 drivers/hwmon/minisforum-um780xtx.c base-commit: 75f2c0b3690702c90863c2e138cb5520670845ea -- 2.54.0