]> git.ipfire.org Git - thirdparty/linux.git/commit
platform: arm64: thinkpad-t14s-ec: add system PM hooks
authorSebastian Reichel <sre@kernel.org>
Wed, 19 Nov 2025 00:41:42 +0000 (01:41 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 24 Nov 2025 17:05:54 +0000 (19:05 +0200)
commitfc62cb6a3e118a7633ca2217203b6293bb742a23
tree9b4e756ed2e0195bfb80b386a42f930b983b7db6
parentf72c8ab57927653199da6e35405eadffb40d7e54
platform: arm64: thinkpad-t14s-ec: add system PM hooks

Improve support for system suspend. The register information has been
extracted from the ACPI DSDT code handling Windows Modern Standby. I
took over the weird multi-write function from the ACPI DSDT code where
it is called ECWS.

In addition to writing to the 0xE0 register, the ACPI Windows Modern
Standby code also does some changes to the thermal configuration. This
part is not implemented.

After this patch the laptop's power and LID LEDs will switch into the
typical breathing animation when the system is suspended and enabled
normally again after resuming.

Signed-off-by: Sebastian Reichel <sre@kernel.org>
Link: https://patch.msgid.link/20251119-thinkpad-t14s-ec-improvements-v2-3-441219857c02@kernel.org
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/arm64/lenovo-thinkpad-t14s.c