Skip to content

platform/x86: uniwill-laptop: Charging-related improvements

Armin Wolf lkml platform-driver-x86 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest8 patches 4 repliesIn review
  2. v27 patches 17 repliesSuperseded
  3. v16 patches 15 repliesSuperseded

Changes in v3 from the cover letter

- add Reviewed-by tags
- rework first patch to use a common helper function
- add last patch from Werner

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8platform/x86: uniwill-laptop: Properly initialize charging thresholddrivers/platform/x86/uniwill/uniwill-acpi.c+34 -10 replies
2/8platform/x86: uniwill-laptop: Accept charging threshold of 0drivers/platform/x86/uniwill/uniwill-acpi.c+2 -20 replies
3/8platform/x86: uniwill-laptop: Fix behavior of "force" module paramdrivers/platform/x86/uniwill/uniwill-acpi.c+6 -20 replies
4/8platform/x86: uniwill-laptop: Do not enable the charging limit even when forcedDocumentation/admin-guide/laptops/uniwill-laptop.rst drivers/platform/x86/uniwill/uniwill-acpi.c+12 -20 replies
5/8platform/x86: uniwill-laptop: Rework FN lock/super key suspend handlingdrivers/platform/x86/uniwill/uniwill-acpi.c+73 -440 replies
6/8platform/x86: uniwill-laptop: Mark EC_ADDR_OEM_4 as volatiledrivers/platform/x86/uniwill/uniwill-acpi.c+60 -100 replies
7/8platform/x86: uniwill-laptop: Add support for battery charge modesDocumentation/admin-guide/laptops/uniwill-laptop.rst drivers/platform/x86/uniwill/uniwill-acpi.c drivers/platform/x86/uniwill/uniwill-wmi.c+215 -530 replies
8/8platform/x86: uniwill-laptop: Enable battery charge modes on supported devicesdrivers/platform/x86/uniwill/uniwill-acpi.c+7 -00 replies

Reviews trailers per patch

7 of 8 patches have a Reviewed-by or Acked-by.

PatchWerner SembachIlpo Järvinen
1/8R-b
2/8R-b R-b
3/8R-b R-b
4/8R-b R-b
5/8R-b R-b
6/8R-b R-b
7/8R-b R-b
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/8] platform/x86: uniwill-laptop: Charging-related improvements

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 main patch. Said patch introduces support for controlling the charging modes available on many Uniwill-based devices not sold by Intel. The last patch whitelists most Tuxedo devices for using the battery charge modes.

All patches have been tested on a Tuxedo InfinityBook Pro 15 Gen10 AMD and work just fine.

Changes since v2:
- add Reviewed-by tags
- rework first patch to use a common helper function
- add last patch from Werner

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

Werner Sembach (1):
platform/x86: uniwill-laptop: Enable battery charge modes on supported
devices

 .../admin-guide/laptops/uniwill-laptop.rst    |  25 +-
 drivers/platform/x86/uniwill/uniwill-acpi.c   | 443 ++++++++++++++----
 drivers/platform/x86/uniwill/uniwill-wmi.c    |   5 +-
 3 files changed, 384 insertions(+), 89 deletions(-)
Signature · 1 line
2.39.5