]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: intel-hid: Enable 5-button array on ThinkPad X1 Fold 16 Gen 1
authorLeif Skunberg <diamondback@cohunt.app>
Tue, 10 Feb 2026 08:56:25 +0000 (09:56 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 23 Feb 2026 15:50:55 +0000 (17:50 +0200)
commitb38d478dad79e61e8a65931021bdfd7a71741212
treebe8a1463b0306e8f3bf41512e45bc8824ffed481
parent2a7b7652b1bb3fadc3bd47d622bfb127a93ab6b0
platform/x86: intel-hid: Enable 5-button array on ThinkPad X1 Fold 16 Gen 1

The Lenovo ThinkPad X1 Fold 16 Gen 1 has physical volume up/down
buttons that are handled through the intel-hid 5-button array
interface. The firmware does not advertise 5-button array support via
HEBC, so the driver relies on a DMI allowlist to enable it.

Add the ThinkPad X1 Fold 16 Gen 1 to the button_array_table so the
volume buttons work out of the box.

Signed-off-by: Leif Skunberg <diamondback@cohunt.app>
Reviewed-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
Link: https://patch.msgid.link/20260210085625.34380-1-diamondback@cohunt.app
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/intel/hid.c