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 2E4321A5BA4; Tue, 11 Mar 2025 15:26:43 +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=1741706803; cv=none; b=Tejs3+GcwHs6QcD/ivP2mEXPP3sm8hIOyyfsU6b1qPOqdcewb+7ZMWlG/UgplS+5p9MGMEUBuexu80JMq0I0Bh2h+OdV0+1WtsWpDRndJCplMuPUkpwTaYSFw/zzOzdfJH2wDMn6g+7Ei+qG9Fp5xnP3Nk8j0dqxvExwf4Y66HE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741706803; c=relaxed/simple; bh=cZEGuMjC1ZCuNYbZunJ+B19t/h/kXOcvZgGuphqdZ1o=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=VBGKgjyVNyvUAeZ1xYW6V4i/cn2KV4UbjOQ2/esTQu7FTsYvois7y/+k+wJmvKJ0V8ZK6JRHaSoKOnaLXDJgC+RRaOjRLLb7uwBYt1CaiVNP1opRj5fQ/xCgbSo/SBchV3tIVWD5XheNh9xrQKUUfagQNf6FM+O0Xdpn3v4P7CE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=iwsld1Al; 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="iwsld1Al" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A9D52C4CEE9; Tue, 11 Mar 2025 15:26:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1741706803; bh=cZEGuMjC1ZCuNYbZunJ+B19t/h/kXOcvZgGuphqdZ1o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iwsld1Al4nWsXuS83MMfFNZFe1NcrLPuKv7tU+41LLZMby1aa2jeVxzczjJMVnxC/ 4FoPP9T475VQ9bxiDRJjtSC2kJPHkZ3RRn3zy36Y39+BLTXPgkuk/aHDXpdagV75E0 p5PBp+b1BB+B+DD/+fez00gH09MaSodzR6YoUJMg= 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.10 145/462] Input: allocate keycode for phone linking Date: Tue, 11 Mar 2025 15:56:51 +0100 Message-ID: <20250311145804.082791713@linuxfoundation.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250311145758.343076290@linuxfoundation.org> References: <20250311145758.343076290@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.10-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