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 3D6A622AE7C; Mon, 10 Mar 2025 17:53:50 +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=1741629230; cv=none; b=DgI5zrbbytWfNP+oFBW7Efy4OdhtbFn1LUs9qWZxGG+xy3YdaVGx4k+970FNqsVEjEpYrCFgaSm/Df3mbLkEUNcW1cByPrmZAXEaBXlxV3WZ1urlw1sBiXxaLrX0fJlfgW0q6c7YL8N8LkB8Ccr2ySxrhYslyTlP1KnP+GZolss= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741629230; c=relaxed/simple; bh=I7qYiFGQMhMk/5BwkrUeQcVurWR7tKWjHxTcfxE19l8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=jbgHhqyDATjvaU4feORszgvhFZpwMnnn0+NTOfVmbRgZwW0nnw03umbyoZJLINcJunH9TWu47B1dRzuERaGQ5426i6i//ijyVg/9AX4cZNk3KAe/JmRAqj7IDDw7jbkQ78y4pmL3qgkSmLoJhHdhx1A2kY25nUlVGm9kd1CubWU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YGsaeCji; 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="YGsaeCji" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B31D7C4CEE5; Mon, 10 Mar 2025 17:53:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1741629230; bh=I7qYiFGQMhMk/5BwkrUeQcVurWR7tKWjHxTcfxE19l8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YGsaeCjizCYZtDBcZGpzf6uKjWiiNjAlmTOY5nZ9aXm0RnpWq/dqyZ1MeKxp/xaF5 0raNp4/+w8wm3d8OMQJocU8N1ifflcQxY30UGPxY7rN3HNM/rWanz0o3qki0AE9LXS N2+2ALUi7e6MBBU5CqetSjYglsGc/Qaor08ZLnvM= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Illia Ostapyshyn , Dmitry Torokhov , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , Sasha Levin Subject: [PATCH 5.15 223/620] Input: allocate keycode for phone linking Date: Mon, 10 Mar 2025 18:01:09 +0100 Message-ID: <20250310170554.422360536@linuxfoundation.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250310170545.553361750@linuxfoundation.org> References: <20250310170545.553361750@linuxfoundation.org> User-Agent: quilt/0.68 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.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Illia Ostapyshyn [ Upstream commit 1bebc7869c99d466f819dd2cffaef0edf7d7a035 ] The F11 key on the new Lenovo Thinkpad T14 Gen 5, T16 Gen 3, and P14s Gen 5 laptops includes a symbol showing a smartphone and a laptop chained together. According to the user manual, it starts the Microsoft Phone Link software used to connect to Android/iOS devices and relay messages/calls or sync data. As there are no suitable keycodes for this action, introduce a new one. Signed-off-by: Illia Ostapyshyn Acked-by: Dmitry Torokhov Link: https://lore.kernel.org/r/20241114173930.44983-2-illia@yshyn.com Reviewed-by: Ilpo Järvinen Signed-off-by: Ilpo Järvinen Signed-off-by: Sasha Levin --- include/uapi/linux/input-event-codes.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/input-event-codes.h b/include/uapi/linux/input-event-codes.h index bed20a89c14c1..6128146bb133b 100644 --- a/include/uapi/linux/input-event-codes.h +++ b/include/uapi/linux/input-event-codes.h @@ -519,6 +519,7 @@ #define KEY_NOTIFICATION_CENTER 0x1bc /* Show/hide the notification center */ #define KEY_PICKUP_PHONE 0x1bd /* Answer incoming call */ #define KEY_HANGUP_PHONE 0x1be /* Decline incoming call */ +#define KEY_LINK_PHONE 0x1bf /* AL Phone Syncing */ #define KEY_DEL_EOL 0x1c0 #define KEY_DEL_EOS 0x1c1 -- 2.39.5