mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] platform/x86: uniwill: add read-only WMI EC backend
@ 2026-11-23 21:05 Renan Biegelmeyer
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Renan Biegelmeyer @ 2026-11-23 21:05 UTC (permalink / raw)
  To: Armin Wolf, platform-driver-x86
  Cc: Hans de Goede, Ilpo Järvinen, linux-kernel, 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@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


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

end of thread, other threads:[~2026-11-23 21:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23 21:05 [PATCH 0/2] platform/x86: uniwill: add read-only WMI EC backend Renan Biegelmeyer
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

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®