[PATCH v2 0/7] platform/x86: uniwill-laptop: Charging-related improvements
From: Armin Wolf
Date: Fri Apr 17 2026 - 01:11:45 EST
This patch series contains various charging-related improvements
for the uniwill-laptop driver. The first two patches fix some minor
issues inside the charging threshold code, while the third patch
fixes an issue inside the module initialization code. The next two
patches contain some preparations for the last patch. Said patch
introduces support for controlling the charging modes available
on many Uniwill-based devices not sold by Intel.
All patches have been tested on a Tuxedo InfinityBook Pro 15 Gen10 AMD
and work just fine.
I know that this series is too late for kernel 7.1, but i decided to
send it anyway to give any reviewers/testers some additional time.
Changes since v1:
- add Reviewed-by tags
- fix spelling errors
- split third patch into two separate patches
- restructure code for battery initialization
Armin Wolf (7):
platform/x86: uniwill-laptop: Properly initialize charging threshold
platform/x86: uniwill-laptop: Accept charging threshold of 0
platform/x86: uniwill-laptop: Fix behavior of "force" module param
platform/x86: uniwill-laptop: Do not enable the charging limit even
when forced
platform/x86: uniwill-laptop: Rework FN lock/super key suspend
handling
platform/x86: uniwill-laptop: Mark EC_ADDR_OEM_4 as volatile
platform/x86: uniwill-laptop: Add support for battery charge modes
.../admin-guide/laptops/uniwill-laptop.rst | 25 +-
drivers/platform/x86/uniwill/uniwill-acpi.c | 430 ++++++++++++++----
drivers/platform/x86/uniwill/uniwill-wmi.c | 5 +-
3 files changed, 371 insertions(+), 89 deletions(-)
--
2.39.5