From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D8F05317152; Mon, 13 Apr 2026 16:52:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776099178; cv=none; b=b0DmYKfuS4E5yBasMuz1CxPg5cvycKev2IKJ9d2CS0Jp0aJFXfWg4aOxyVgRaVE/Tz0SpPclpc4+U/rAwU+xfnvROIv3VdSLPjDWDq1DL3bBbkg80vM0Ndpxb95v9gCgaImRGqUn5X/wwWhvs7iQzlgcLOR0pjgaGX1NKklNEDk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776099178; c=relaxed/simple; bh=CjTnLIkfSlh+raT4XDx3l34sFCqqvnPpQuP2fh01rEg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=RBFpsStlgTIUiUTW5NKvucWnX7KQHFJ4VszLrBDheJrf/QUdrDNiofvyuiFo/a2/80qWE2l3dxYWNnegncJXwv1OCUMoAYFDGo9/imXIZx/o2HzRe30vqDE4tGrI380QfDUxQdL9GQAZuMWabJb2o6621RXhzzuzxUn15uX+bwI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gtSz0x6j; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="gtSz0x6j" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 67282C2BCB7; Mon, 13 Apr 2026 16:52:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1776099178; bh=CjTnLIkfSlh+raT4XDx3l34sFCqqvnPpQuP2fh01rEg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gtSz0x6jSuC43R/l8jIVcwsAdK6senDX5scF7ISYvZd7G+x7WkixXJNx/m9lxIcIm liYDI5KDSi5eoM0RGcdr2cIBPpAGzoFI9X6e0GgcB8gjCf6bpchrCvH/HpoIuzjXkX PvWmCzj1fE/4nhGREtRbZrH+IC0nTadnbFz+0dGA= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Leif Skunberg , Hans de Goede , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , Sasha Levin Subject: [PATCH 5.10 239/491] platform/x86: intel-hid: Enable 5-button array on ThinkPad X1 Fold 16 Gen 1 Date: Mon, 13 Apr 2026 17:58:04 +0200 Message-ID: <20260413155828.004805910@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260413155819.042779211@linuxfoundation.org> References: <20260413155819.042779211@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 5.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: Leif Skunberg [ Upstream commit b38d478dad79e61e8a65931021bdfd7a71741212 ] 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 Reviewed-by: Hans de Goede Link: https://patch.msgid.link/20260210085625.34380-1-diamondback@cohunt.app Reviewed-by: Ilpo Järvinen Signed-off-by: Ilpo Järvinen Signed-off-by: Sasha Levin --- drivers/platform/x86/intel-hid.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/platform/x86/intel-hid.c b/drivers/platform/x86/intel-hid.c index 9bc2652b15e71..12d695adf3f74 100644 --- a/drivers/platform/x86/intel-hid.c +++ b/drivers/platform/x86/intel-hid.c @@ -93,6 +93,13 @@ static const struct dmi_system_id button_array_table[] = { DMI_MATCH(DMI_PRODUCT_FAMILY, "ThinkPad X1 Tablet Gen 2"), }, }, + { + .ident = "Lenovo ThinkPad X1 Fold 16 Gen 1", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_FAMILY, "ThinkPad X1 Fold 16 Gen 1"), + }, + }, { .ident = "Microsoft Surface Go 3", .matches = { -- 2.51.0