Files
erofs-linux/drivers/platform/arm64
Sebastian Reichel 60b7ab6ce0 platform: arm64: thinkpad-t14s-ec: new driver
Introduce EC driver for the ThinkPad T14s Gen6 Snapdragon, which is in
theory compatible with ThinkPad ACPI. On Linux the system is booted with
device tree, which is not supported by the ThinkPad ACPI driver
(drivers/platform/x86/lenovo/thinkpad_acpi.c). Also most of the hardware
compatibility is handled via ACPI tables, which are obviously not used
when booting via device tree. Thus adding DT compatibility to the
existing driver is not worth it as there is almost no code sharing.

The driver currently exposes features, which are not available
via other means:

 * Extra Keys
 * System LEDs
 * Keyboard Backlight Control

The driver has been developed by reading the ACPI DSDT. There
are some more features around thermal control, which are not
yet supported by the driver.

The speaker mute and mic mute LEDs need some additional changes
in the ALSA UCM to be set automatically.

Tested-by: Neil Armstrong <[email protected]> # on Thinkpad T14S OLED
Reviewed-by: Bryan O'Donoghue <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Link: https://patch.msgid.link/[email protected]
[ij: folded in patch from Chen Ni <[email protected]>]
Link: https://patch.msgid.link/[email protected]
[ij: folded in patch from Lukas Bulwahn <[email protected]>]
Link: https://patch.msgid.link/[email protected]
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>
2025-09-26 14:24:16 +03:00
..