[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251020192443.33088-1-i@rong.moe>
Date: Tue, 21 Oct 2025 03:24:32 +0800
From: Rong Zhang <i@...g.moe>
To: Ike Panhc <ikepanhc@...il.com>,
Mark Pearson <mpearson-lenovo@...ebb.ca>,
"Derek J. Clark" <derekjohn.clark@...il.com>,
Hans de Goede <hansg@...nel.org>,
Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
Cc: Rong Zhang <i@...g.moe>,
platform-driver-x86@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] platform/x86: ideapad-laptop: Add charge_types:Fast (Rapid Charge)
The GBMD/SBMC interface on IdeaPad/ThinkBook supports Rapid Charge mode
(charge_types: Fast) in addition to Conservation Mode (charge_types:
Long_Life).
This patchset exposes these two modes while carefully maintaining their
mutually exclusive state, which aligns with the behavior of manufacturer
utilities on Windows.
Tested on ThinkBook 14 G7+ ASP.
Rong Zhang (2):
platform/x86: ideapad-laptop: Protect GBMD/SBMC calls with mutex
platform/x86: ideapad-laptop: Add charge_types [Fast] (Rapid Charge)
drivers/platform/x86/lenovo/ideapad-laptop.c | 144 ++++++++++++++-----
1 file changed, 108 insertions(+), 36 deletions(-)
base-commit: 211ddde0823f1442e4ad052a2f30f050145ccada
--
2.51.0
Powered by blists - more mailing lists