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=1796389333; b=x+Ec9+WQ7X+KE1CU5Xnp7xFYaK4zEXaJzN16i46255JXP8O5qc+BhPdVSoVDYUmxMIlY P+3T6pjnz/fLL58PF7KqFElADQwcIwrrFWGcbWFZn7WKmA8U5hVjx9lyLwFUdJYuF+KM+ dCaz+c7uQ9/tgODviLD49BjZNJ5dbFiMMCLOmYAxH+BNjSHwnFWbzsGFdhKgZRxzkfxWv xCEydEbO8ZTPe2p4I+h7eEOfhgeUS/hS3X6TTa1lJVUF+C7TZtJf9iw5s5S6y3vGWXVYC oYtBxWybOwpTLTA7C7WVcDKASpUTMViXX313D3bUs+NGtvNos38u4wKTTP2BA4B1Ogg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796389333; 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=RxG4BCzTQIVBmeDCAUEOdbiuEOsUl7MyVO+j6twz26M=; b=JrQOyg0Z+MaXSN3vyzM0ZM64O0yZmB1hiuwcFKAvjm2WEb8/H53hVkqvikQ6/Ri7HiW8 NUOsZmsR13QIUDoh0OQfG9w/XnR0l8HDpsXBE6gohUJ9Z7KNALTdtqHDLklYpXISSqTZk c5jVTKj43IRV9TNl9BJuKaEAQpFTUhCOHs8hcg2agGC49674uhz0Qi2amhownfwEpPt9f mgR7EDvUmJsSkuxZJAIOO1srVbybw5kVaRA/DPgdlH1p606/T3kbZ7Kqw/ydHF7fJnn7l sV18Xn2V7uSOqJ3c6fB6hbIhz4OzF00xVa4kx6QT53zlehaMyzPecbeoDfRuEoK0e9Q== 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="VSEov/x3"; 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 CF4F6606A32C; Fri, 4 Dec 2026 13:02:13 +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=VSEov/x3 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B540B1F0093A; Fri, 4 Dec 2026 13:02:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796389333; bh=RxG4BCzTQIVBmeDCAUEOdbiuEOsUl7MyVO+j6twz26M=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=VSEov/x3KEI9oAFtQeutfhIkhwVklZhpP6nKfLOetlQIOc9efcwEGWkUgmdWhR0iP BNCiJDzKz/EFfWNiE3vugLxUgx6P6co8bLkjY1AhqqbtOslzgzgHH7zEiqxlcJ9XAe c0CYZvdOy/E5mITgv3AK4IJ/33fbtcNFcC6R81mQ= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Yuan Yao , Dmitry Torokhov Subject: [PATCH 6.1 0953/1059] Input: trackpoint - add new TP JYT_NDT device variant id 7 Date: Fri, 4 Dec 2026 19:08:04 +0900 Message-ID: <20261204100708.708515622@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100643.980430235@linuxfoundation.org> References: <20261204100643.980430235@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.1-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