[PATCH 0/2] platform/x86: uniwill: add read-only WMI EC backend
From: Renan Biegelmeyer
Date: Mon Nov 23 2026 - 16:06:06 EST
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>
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