From patchwork Wed Nov 16 18:17:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Knecht X-Patchwork-Id: 625312 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7FE5EC43217 for ; Wed, 16 Nov 2022 18:18:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239086AbiKPSSF (ORCPT ); Wed, 16 Nov 2022 13:18:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239138AbiKPSRu (ORCPT ); Wed, 16 Nov 2022 13:17:50 -0500 Received: from msg-2.mailo.com (msg-2.mailo.com [213.182.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF1BC63B9D; Wed, 16 Nov 2022 10:17:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailoo.org; s=mailo; t=1668622651; bh=pIy+Cj4xeM9LppiDe7/6ny/Pcoi/J/hwJx6TzU3v4ro=; h=X-EA-Auth:From:To:Cc:Subject:Date:Message-Id:X-Mailer: MIME-Version:Content-Transfer-Encoding; b=AXzbQSLAJDcu4HNQLJNbJ5qfIfns0U4WKU2+WzGnHbOaLQg5GlDJVOmPlyjW+R7wK BkSV55r7qXaZg6EYvV7NMSXv8hKTSqedTMFclEag/uwzTPe9ULdOa/H7VkLuGLNMmm bRwi16pwO7AhjgAZQWKTZAoZj6xGeirT8sD8YVew= Received: by b-3.in.mailobj.net [192.168.90.13] with ESMTP via proxy.mailoo.org [213.182.55.207] Wed, 16 Nov 2022 19:17:31 +0100 (CET) X-EA-Auth: IJtCEAs0o9qqKsgtvJnDm5gJesMXrinNUyhAJLVS/KolLnLBrB6Zo/MqXNJYALKJzINTJbAcvA2zNYbMQofn9bDXyBnA3GcvN9BoYe8Jofc= From: Vincent Knecht To: Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Vincent Knecht , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: w.david0@protonmail.com, stephan@gerhold.net, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH v5 0/2] Input: msg2638: Add support for msg2138 and key events Date: Wed, 16 Nov 2022 19:17:10 +0100 Message-Id: <20221116181715.2118436-1-vincent.knecht@mailoo.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org This series is the continuation of v4 [1] from which the first 3 patches have been merged already. v5: - keep only the non-merged patch - remove double-negation in call to input_report_key() (Dmitry) - change keycodes retrieval to use device property API (Dmitry) - due to previous point, add a check and a warning if more than the supported number of keys are found. Should that happen, ignore the keys in excess. [1] https://lore.kernel.org/linux-input/20221110171952.34207-1-vincent.knecht@mailoo.org/T/#t Vincent Knecht (2): dt-bindings: input: touchscreen: msg2638: Document keys support Input: msg2638 - Add support for msg2138 key events .../input/touchscreen/mstar,msg2638.yaml | 4 ++ drivers/input/touchscreen/msg2638.c | 57 +++++++++++++++++-- 2 files changed, 57 insertions(+), 4 deletions(-)