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 19E8F3EE1DD; Tue, 31 Mar 2026 16:24:12 +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=1774974253; cv=none; b=qWYGUvfpOlWClk67C4ScMFZWK95rx7wB4QqhujY2zu7NMqvp53Jr/KNTsNg9/CWWa5Y3JEv0SmWHxNArbDKq8YRtMNL6ahgS7vRFLMOgOwAsTcvFR8RmLczUmvNHd9jkVdit7V87mMzvTvbtS+tUNGf1wj34sjlaM1TWgbUdJ/M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774974253; c=relaxed/simple; bh=ImSP+WjU4y5lavsqIUfIkHNyr59zKi0xqwdUFc3V67o=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=qvukt0pjm7gnHQ7+67LglcSWHZOR9KMjecZYm60i+gMD4kibTM5w7Rgj6HAQ6keqdGu+5J8rEsSybERDFgZE0coLrNtDMi6oyyq1Gn0/Iv3i91+EazuPugYwsfPjwnU8pbqWg1L5FnW+hGIX0hgZjgA0Or8KSX7ZcG3Kj4lL494= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vdTwSfEq; 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="vdTwSfEq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5DCB7C19423; Tue, 31 Mar 2026 16:24:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774974252; bh=ImSP+WjU4y5lavsqIUfIkHNyr59zKi0xqwdUFc3V67o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vdTwSfEqN0JTS3E9VFAwEuBDNpMwrbgkr+XgOvttpR0uDMHLFGVBHuuSI8t/SefoG tb61sDslWM6qiV1lu+h7aDAqwa2zsJVPRzCiIVmkHc4x19PrYb4IBOf+7eAA+FQ7EG YxYKVuRkwQEZgZceV0UyZRk1f93xVr3kNBlZ9Apg= 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.6 014/175] platform/x86: intel-hid: Enable 5-button array on ThinkPad X1 Fold 16 Gen 1 Date: Tue, 31 Mar 2026 18:19:58 +0200 Message-ID: <20260331161730.305283445@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260331161729.779738837@linuxfoundation.org> References: <20260331161729.779738837@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.6-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 7937ad20c2941..79390e9e888a7 100644 --- a/drivers/platform/x86/intel/hid.c +++ b/drivers/platform/x86/intel/hid.c @@ -121,6 +121,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