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 D25E03FADEE; Tue, 31 Mar 2026 16:32:24 +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=1774974744; cv=none; b=mXxCzhSDcfALSzwi7a2oAGP1Ewasuo4iB/ChWQTwh9OI7W+JC9A3sIMvK2avCTG/Li4Vm/yyQ0ivW36iNQsqv5mtQM5pxrpncZy4l+hNA+arMkY9e3iCbKgo7/IeBGBEe555VoVvo82t22ALdIOp/VHZaaA7UD5mdSwwXSH7Wfs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774974744; c=relaxed/simple; bh=52yuQQrIU0O0pWXioa22aUKMvJLdq0GWGIrNKCxSHDA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=WDm9dAVLQw2G7JWTAqAq1lmnFhIBM+mOcT4geclBAxxEQ1CmF3n0czmOCyUcarUfFy4QMYhsZE6ye7MaX0G3b4nSrp8K5VrVKj2wQDU4DOhlzbfV0Lknt1csrNJzGaR5xERnv7EeLSiH1PuAFVd/mbB/APNmQd2CdDanZsyUaz0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LXZxLoDk; 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="LXZxLoDk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 69293C19424; Tue, 31 Mar 2026 16:32:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774974744; bh=52yuQQrIU0O0pWXioa22aUKMvJLdq0GWGIrNKCxSHDA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LXZxLoDk/B+EHJPanKNbXGveGsqQzgM+RSj534StvjTyaZh5KSPIrn6izpWRMXA37 jjGBFflsZT7kvGbfVbyDn1GfdWcbeLfWdge7NTvRmXkQnVbqzIq1ws6HFsHBHNElDd HQtdfVEZqH8noucVXbmsx09KcjBjhPmbHBd/7gME= 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 6.19 028/342] platform/x86: intel-hid: Enable 5-button array on ThinkPad X1 Fold 16 Gen 1 Date: Tue, 31 Mar 2026 18:17:41 +0200 Message-ID: <20260331161759.944879834@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260331161758.909578033@linuxfoundation.org> References: <20260331161758.909578033@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 6.19-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 5b475a09645a3..f2b309f6e458a 100644 --- a/drivers/platform/x86/intel/hid.c +++ b/drivers/platform/x86/intel/hid.c @@ -135,6 +135,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