Message ID | 20221116181715.2118436-1-vincent.knecht@mailoo.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp288218wru; Wed, 16 Nov 2022 10:20:54 -0800 (PST) X-Google-Smtp-Source: AA0mqf4+iY/GmIobz8SgvRUaZ70tZVdyoAm+ua9ubtLQJonbNqG+7KSkeb0B/n40xKsf1XsLfTjL X-Received: by 2002:a50:fd91:0:b0:463:ff10:4ff with SMTP id o17-20020a50fd91000000b00463ff1004ffmr20715184edt.290.1668622853927; Wed, 16 Nov 2022 10:20:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668622853; cv=none; d=google.com; s=arc-20160816; b=PzKypoSuKUONMrDgbQf26ZOJ79jljqHToOTdiupkNtjtOAMYmrOuFW8jME6AyJOcbs xDyxN825u+xGctS0CeZLLjx4rSZSMPM9T7ZmCCntumK4eqJ60zshZQOk06AWz//f/Qx4 ZFyisjTDUPNoTIjrJOak0GUxodnjC2+i4AmfVw9tCrIatvIdICek+lEiVYEklqWLJxbj GCWY5z42R8Vx3vjMYD5eTzitI9VjVbRxVxakejIfQw4ZrwH/+8CJLS9PyHqWvBi06b8/ qAKMuc5rktk7MV2Hoe6b4FKBEBT02eZ32djAiIIrSWOEtnhPnww8lgpXXrbb3JNRqJXP X2vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=pQfwAs0IBwRsG+JWM4h/SkM4LuksNTvgi8HMFTOd9Hc=; b=l2uGlReNRkzHLmvYkMNk0lCV5Kh+P11y4r5FWfyqCnzGBbcSeu/O6JItctWEf9mGhm Jo34EMQPmJ9YXxcKlbSLogz2V43ovZ6i0+dHaQc5FDnLODCQb0Whwif/O8DvFfAsGufF NXlcoFmSH1K+kizpKax+WQIwnckwaj71V6k43FVEWcfFMR+a5RecJ/UKPn4Mcu99K78Z q5SKSX8rwBHb2fmPh1e6mbu/t8hgG6gm4mjYE34j0DGgRIYJ6PMaRDMWU+h0IEkbUHTy nihXclaSQhE7KQ/EpIAOOg3Vt09kUTaK7BbjWJjdW71wGtsLOcX7cbuNACZWJ4o6HYHj yHRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mailoo.org header.s=mailo header.b=AXzbQSLA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mailoo.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s11-20020a056402520b00b0045d8bff7afesi16755668edd.376.2022.11.16.10.20.29; Wed, 16 Nov 2022 10:20:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@mailoo.org header.s=mailo header.b=AXzbQSLA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mailoo.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239144AbiKPSSI (ORCPT <rfc822;just.gull.subs@gmail.com> + 99 others); Wed, 16 Nov 2022 13:18:08 -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 <rfc822;linux-kernel@vger.kernel.org>); 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 <vincent.knecht@mailoo.org> To: Dmitry Torokhov <dmitry.torokhov@gmail.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Vincent Knecht <vincent.knecht@mailoo.org>, 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749677877789059589?= X-GMAIL-MSGID: =?utf-8?q?1749677877789059589?= |
Series |
Input: msg2638: Add support for msg2138 and key events
|
|
Message
Vincent Knecht
Nov. 16, 2022, 6:17 p.m. UTC
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(-)