From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796383871; b=s6lE6Lmido7KuJb2uVoG13/Dpkk5R6aLVkD8I+PYtlMca+4HYJlHdGhJvTAuz1eTu2hO fyQMZ6SDEcQw6tgtDKC4a8pDAn/bXyaxPHtfZe0pP9J3gJ3t4QYTDgvpqDyDNSifu+kYB cRTuQxHinIm4EOQxI40mu1tc5rq88u/XmATcxtWCZPIpQvd0ozzvqNFE2NXsINetdvVjX fNmfiuZ9Z9fMUj5/27zc7z5Qb2+rlVjoagO8HEVKhow/SgPvcyt1i5fwweSaEOW4NVI6u G5reEuIWBIv/g07LHITu4KVKOTp0fFHpOdKUL/lJHwpCkoFXvU0vEq5yLWVcr7mzi7A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796383871; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Transfer-Encoding; bh=cfq6+9+q7FHCDAmOcoI+9LgUoj1HaW34+UEiaa8vGqk=; b=gfZvaADqcGdzbIgSRoQhq0OqkQ5Rf636B+bEnern/URptDIFiUZXLKn47YGnviltveuH ZTS9Q9V6KB4ZFikVIxS0B6bQcExrvWUeDZg47NrG9LwogPZd6kSeWtuihEpU1FN7v+KMe MxVeUCeshxxeCvZDURX96nwSoeCvRfq/BWsC0bp4FylZZpdlCKCELetdnewhmpBKO+l1t ArmRFpGQi/8RUO7yW+M541WEECDR/Z+15dehdO1p35DHigyhU38VKGFjsyDkXpcAGRQVa 0PNKPMJtjflJcy+RzDsYdCN1LzbkqU9rFs3GWbC/TKbvlPNbAG4FX9qSOqRkCLp6xZA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=MIot3Nzx; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 17D8D606A332; Fri, 4 Dec 2026 11:31:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=MIot3Nzx Received: by smtp.kernel.org (Postfix) with ESMTPSA id 838941F000C2; Fri, 4 Dec 2026 11:31:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796383871; bh=cfq6+9+q7FHCDAmOcoI+9LgUoj1HaW34+UEiaa8vGqk=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=MIot3Nzx+jDb5YESgeo0wMQVv8Y3BOaB4erA5vuuXYEa/oBCnSId5Vy950QQmKdLe BIVNyGwpv8mY+edT5Z+iwyCcSZ+ZhHbYLqtnyT2R2dObuh7SsMyzQlCOL3WXzBonTN A/C+8xnTCxTTVOGpRQ2ITPEe2RIHXn7rVKp3QPuk= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Yuan Yao , Dmitry Torokhov Subject: [PATCH 6.12 402/555] Input: trackpoint - add new TP JYT_NDT device variant id 7 Date: Fri, 4 Dec 2026 19:07:25 +0900 Message-ID: <20261204100624.905864284@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100603.988357525@linuxfoundation.org> References: <20261204100603.988357525@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: stable@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: Yuan Yao commit ce8010f11f3ea62f8675e9bc921ee485aef82019 upstream. The new trackpoint variant id 7 is found on Lenovo Thinkpad X14 Gen1 laptop(Product Name: 21XMA006CD), it belongs to JYT_NDT with confirmation from Vishnu Sankar in Lenovo. now it's incorrectly probed as Generic or Logitech PS/2 mouse. Add the variant id 7 to match the TP_READ_ID command return value, probe the device as trackpoint correctly. BEFORE: input: PS/2 Generic Mouse as /devices/platform/i8042/serio1/input/input63 AFTER: psmouse serio1: trackpoint: JYT_NDT TrackPoint firmware: 0xa1, buttons: 3/3 input: TPPS/2 JYT_NDT TrackPoint as /devices/platform/i8042/serio1/input/input8 Signed-off-by: Yuan Yao Link: https://patch.msgid.link/20261113112202.10304-2-yaoyuan@linux.alibaba.com Cc: stable@vger.kernel.org Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman --- drivers/input/mouse/trackpoint.c | 2 ++ drivers/input/mouse/trackpoint.h | 1 + 2 files changed, 3 insertions(+) --- a/drivers/input/mouse/trackpoint.c +++ b/drivers/input/mouse/trackpoint.c @@ -23,6 +23,7 @@ static const char * const trackpoint_var [TP_VARIANT_NXP] = "NXP", [TP_VARIANT_JYT_SYNAPTICS] = "JYT_Synaptics", [TP_VARIANT_SYNAPTICS] = "Synaptics", + [TP_VARIANT_JYT_NDT] = "JYT_NDT" }; /* @@ -283,6 +284,7 @@ static int trackpoint_start_protocol(str case TP_VARIANT_ELAN: case TP_VARIANT_NXP: case TP_VARIANT_JYT_SYNAPTICS: + case TP_VARIANT_JYT_NDT: case TP_VARIANT_SYNAPTICS: if (variant_id) *variant_id = param[0]; --- a/drivers/input/mouse/trackpoint.h +++ b/drivers/input/mouse/trackpoint.h @@ -30,6 +30,7 @@ #define TP_VARIANT_NXP 0x04 #define TP_VARIANT_JYT_SYNAPTICS 0x05 #define TP_VARIANT_SYNAPTICS 0x06 +#define TP_VARIANT_JYT_NDT 0x07 /* * Commands