Re: [PATCH 0/2] platform/x86: uniwill: add read-only WMI EC backend

From: Armin Wolf

Date: Fri Dec 04 2026 - 15:39:58 EST


Am 23.11.26 um 22:05 schrieb Renan Biegelmeyer:
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@xxxxxxxxx>

Hi,

Werner Sembach from Tuxedo is already working for full support for the WMI EC backend, so i suggest you drop this series and instead wait till
Werners series appears on the mailing list. This way we can enable full
support for your device.

Thanks,
Armin Wolf

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