From: Renan Biegelmeyer <renan.biegel@gmail.com>
To: Armin Wolf <W_Armin@gmx.de>, platform-driver-x86@vger.kernel.org
Cc: "Hans de Goede" <hansg@kernel.org>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
linux-kernel@vger.kernel.org,
"Renan Biegelmeyer" <renan.biegel@gmail.com>
Subject: [PATCH 0/2] platform/x86: uniwill: add read-only WMI EC backend
Date: Mon, 23 Nov 2026 18:05:52 -0300 [thread overview]
Message-ID: <20261123210554.3357528-1-renan.biegel@gmail.com> (raw)
Some Uniwill-based devices do not expose the INOU0000 ACPI device, so the
in-tree driver cannot bind even though the EC is still reachable through the
AcpiTest_MULong WMI interface. This is the case on the Avell A62 LIV used for
testing.
Patch 1 adds a read-only regmap backend over that WMI interface, makes the WMI
driver instantiate the platform device when INOU0000 is absent and the EC
answers a test read, and restricts the WMI path to the hwmon sensors (CPU/GPU
temperature, fan speed and PWM). All write-oriented features are skipped; the
WMI backend intentionally has no write callback.
Patch 2 documents the fallback.
The series is based on platform-drivers-x86/for-next at 2268d837d and is
compile-tested with W=1 and checkpatch --strict. Runtime-tested on an Avell
A62 LIV (i7-10750H, BIOS N.1.02) with the same change backported to 7.3.5:
the driver exposes fan1/fan2, temp1/temp2 and pwm1/pwm2, with values matching
coretemp/nvidia-smi (3157/3084 RPM, 60/56 °C, PWM 102).
Tested-by: Renan Biegelmeyer <renan.biegel@gmail.com>
Renan Biegelmeyer (2):
platform/x86: uniwill: add read-only WMI EC backend
platform/x86: uniwill: document the WMI EC fallback
Documentation/wmi/devices/uniwill-laptop.rst | 8 ++
drivers/platform/x86/uniwill/uniwill-acpi.c | 138 +++++++++++++++++--
drivers/platform/x86/uniwill/uniwill-wmi.c | 76 ++++++++++
drivers/platform/x86/uniwill/uniwill-wmi.h | 12 ++
4 files changed, 225 insertions(+), 9 deletions(-)
base-commit: 2268d837dea13a78639fa3dad60472bb67478709
--
2.56.1
next reply other threads:[~2026-11-23 21:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 21:05 Renan Biegelmeyer [this message]
2026-11-23 21:05 ` [PATCH 1/2] " Renan Biegelmeyer
2026-11-23 21:05 ` [PATCH 2/2] platform/x86: uniwill: document the WMI EC fallback Renan Biegelmeyer
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=20261123210554.3357528-1-renan.biegel@gmail.com \
--to=renan.biegel@gmail.com \
--cc=W_Armin@gmx.de \
--cc=hansg@kernel.org \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=platform-driver-x86@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®