From patchwork Thu Sep 22 10:21:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yunlong Jia X-Patchwork-Id: 12984935 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 072B8C6FA86 for ; Thu, 22 Sep 2022 10:23:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231473AbiIVKXR (ORCPT ); Thu, 22 Sep 2022 06:23:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231251AbiIVKXQ (ORCPT ); Thu, 22 Sep 2022 06:23:16 -0400 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CED3BD8260; Thu, 22 Sep 2022 03:23:14 -0700 (PDT) Received: by mail-pj1-x1029.google.com with SMTP id rt12so6834407pjb.1; Thu, 22 Sep 2022 03:23:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date; bh=TCc/gOvTHOL2F7Ue8s9kl1byTSwmPAIbmIyaPtaEwiM=; b=B63v5JfB2QpdVWKDCWbpGo28vPsDyQjPhOsEs429tsqG1h1JNK9/V4CLJ+4J6pcVj+ L0d3olMJR710z7PyunmYSGm6Vdco277lqWjsUQy0r/NFoiWVcwjw/Lnmm3Igrs8if7bB f2d1i3OEq7InLzoqWyiQ/4tpaFN0xLHLfzj+vp8+2Dy0y5nGF/zvkkvCfui7RV1ieWkJ XOeG9sxgsC6udAs66Yw571KtvYb5auxwi9ZoUSbLAg08s52fUfnHg7/bmNAnwFMQYg7t vYtB/y+8qG7M0NWwxEswIFVow8TJ6nI+azcBSrtpTcNkfCd7RR9WKzukhLdaHYKT5mJF JjXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date; bh=TCc/gOvTHOL2F7Ue8s9kl1byTSwmPAIbmIyaPtaEwiM=; b=FM8uV/xhcDcWcAQwHHPeWByVkHOMqBaDXyivYPq4H35QlOU/AcASEHZoCAey38I+ov UlgvkAkJtsd4wbhf7gdAH3RWTwxScOS4qlxnphrWYZhB0jU9F6gMIyTXMAo1n9IU+9Ha MDf57od4vbKsDpGZ+icNQYd2uqTytjEWLEZEKNcU+uQgOS9l3PkA5XnjV4CDdPDV1PnH IBbcan+gDhrx75v+jKb+tIXvzmjQWT4WJQgsE0UVPcbjGSAWT3a16y9IC6MjIvMKZxVz eoRMNe3DtwwILqnxipqwYn2tiVi+REKGoyAhu394U9A4GQa9W07AKTIptSPXPTi32wM4 pdFg== X-Gm-Message-State: ACrzQf3eF3MPJr73y//Ktl4IWGU0blHfSGUDjD0wMsSbzD0yqVjneF1C fI2p7Ltwf/A6XeCM4gM3l+cHKQVu60g= X-Google-Smtp-Source: AMsMyM4kfuZosAAZxMcsajDHXKIGopFg2NGyv/VoRgOD6U8/wnIhttZNebZzdCaNRTsetUK6HBoJyw== X-Received: by 2002:a17:90b:388c:b0:202:a29d:6e6f with SMTP id mu12-20020a17090b388c00b00202a29d6e6fmr2950086pjb.231.1663842193394; Thu, 22 Sep 2022 03:23:13 -0700 (PDT) Received: from localhost.localdomain ([103.104.171.43]) by smtp.gmail.com with ESMTPSA id v16-20020a63f210000000b0042a713dd68csm3422050pgh.53.2022.09.22.03.23.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Sep 2022 03:23:12 -0700 (PDT) From: Yunlong Jia To: LKML Cc: Douglas Anderson , Yunlong Jia , Henry Sun , Bob Moragues , Yunlong Jia , David Heidelberg , Dmitry Torokhov , Rob Herring , devicetree@vger.kernel.org, linux-input@vger.kernel.org Subject: [PATCH v4 3/4] dt-bindings: input: touchscreen: elants_i2c: Add eth3915n touchscreen chip Date: Thu, 22 Sep 2022 10:21:19 +0000 Message-Id: <20220922101813.v4.3.Ic4e8f03868f88b8027a81bc3d414bae68978e6b7@changeid> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220922101813.v4.1.I3aa360986c0e7377ea5e96c116f014ff1ab8c968@changeid> References: <20220922101813.v4.1.I3aa360986c0e7377ea5e96c116f014ff1ab8c968@changeid> Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Add an elan touch screen chip eth3915n. Signed-off-by: Yunlong Jia Reviewed-by: Douglas Anderson --- (no changes since v1) .../devicetree/bindings/input/touchscreen/elan,elants_i2c.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/input/touchscreen/elan,elants_i2c.yaml b/Documentation/devicetree/bindings/input/touchscreen/elan,elants_i2c.yaml index a9b53c2e6f0ab..d28625372f5ac 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/elan,elants_i2c.yaml +++ b/Documentation/devicetree/bindings/input/touchscreen/elan,elants_i2c.yaml @@ -17,6 +17,7 @@ properties: enum: - elan,ektf3624 - elan,ekth3500 + - elan,ekth3915 reg: maxItems: 1 From patchwork Thu Sep 22 10:21:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yunlong Jia X-Patchwork-Id: 12984936 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 5D864C6FA8B for ; Thu, 22 Sep 2022 10:23:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231321AbiIVKXb (ORCPT ); Thu, 22 Sep 2022 06:23:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231494AbiIVKX0 (ORCPT ); Thu, 22 Sep 2022 06:23:26 -0400 Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B31FCD826C; Thu, 22 Sep 2022 03:23:22 -0700 (PDT) Received: by mail-pg1-x531.google.com with SMTP id 207so8681785pgc.7; Thu, 22 Sep 2022 03:23:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date; bh=BFG7E5DQJVUzp3LwJ0qUmDTHBE0wFMMStZtZRS9w0FI=; b=p6OgPDiugJa58P2dqy+RxH4tSjw8T8QF9a2cw8mLLSvqwifJPi1Hm41LGHuvtQwvKM WrcowYC7QIaM4d9RX5J3M/dfzZtpg334wbFWAwqnXQC8c7WI82stlg8GVMxwaICMczun /d5nZC/Y0/HV0+2jqTokMAqKRX/xjeE49WS5ImrNwCTaWopsCrDcIYmw9mf0F9jkapoO nJuA7NbpAp54xVOsLDPELaZm4ccCBm8AuF2or/3LpxP2yqK9X2UbvOMn2rTC+3KTAcgl 3OIX5Um1rDU/fEK5OYm3EaO2dNpPqiFmwoMQ+RHVnK9h91JaaIPg9sajnh09faScPWZE mFvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date; bh=BFG7E5DQJVUzp3LwJ0qUmDTHBE0wFMMStZtZRS9w0FI=; b=RFQNHzlWA1mot7lQfq72mmts8kYRIoJT0wbp1f8wzXRW3L6Opz9pWQ8dMDHt8eOKft Isp/beQRqawcKRgEVEDTAimvOuGSk2LRhIFArDncci9ljuFnXXH4qbz7lKlDQnufvFVa LdUYi7Tqoise8Q1ToZerMoj2dmEJ1X2aWYp09hJYpqGV7y3E46YRaEXrk5o8gvR8yLn1 wvUnGNcJzCAXLHC4rSWSf35LmFlFnH7nauNKRhwJjybWJjY/vbxnqibO4XgRxi83EF+2 f1eRmF3qKqZ30Fq3woY8+6mlW8+WZyEvLFvR+Vjo/a5zri47uf2ar907fa5b2gJvzZRP +aFg== X-Gm-Message-State: ACrzQf1AbxCrn7qUVy7Rwi/aqY7XwDcD5QFs+ysIghriBIziUYHeaL4B qJWbkpN4vBOAtkQt9puv8JzZOUosLPY= X-Google-Smtp-Source: AMsMyM464+W1YojxacSNxYCT0+NhdSqCJD0ZmlA5G5L+2pOLg07xJjaoGq0shr8PisYzpGONaPWtMA== X-Received: by 2002:a63:e507:0:b0:42c:65d3:f3b6 with SMTP id r7-20020a63e507000000b0042c65d3f3b6mr2405035pgh.395.1663842201521; Thu, 22 Sep 2022 03:23:21 -0700 (PDT) Received: from localhost.localdomain ([103.104.171.43]) by smtp.gmail.com with ESMTPSA id v16-20020a63f210000000b0042a713dd68csm3422050pgh.53.2022.09.22.03.23.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Sep 2022 03:23:20 -0700 (PDT) From: Yunlong Jia To: LKML Cc: Douglas Anderson , Yunlong Jia , Henry Sun , Bob Moragues , Yunlong Jia , Dmitry Torokhov , Greg Kroah-Hartman , Guenter Roeck , Johnny Chuang , linux-input@vger.kernel.org Subject: [PATCH v4 4/4] input: touchscreen: elants_i2c: Add eth3915n touchscreen chip Date: Thu, 22 Sep 2022 10:21:20 +0000 Message-Id: <20220922101813.v4.4.I0cebec46a06dd3ea8f6b7abde038faed917dd5d4@changeid> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220922101813.v4.1.I3aa360986c0e7377ea5e96c116f014ff1ab8c968@changeid> References: <20220922101813.v4.1.I3aa360986c0e7377ea5e96c116f014ff1ab8c968@changeid> Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org The ekth3915 and ekth3500 are almost the same. Signed-off-by: Yunlong Jia Reviewed-by: Douglas Anderson --- (no changes since v1) drivers/input/touchscreen/elants_i2c.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/input/touchscreen/elants_i2c.c b/drivers/input/touchscreen/elants_i2c.c index c9dd703b0c7d8..a21c9c9ed4d78 100644 --- a/drivers/input/touchscreen/elants_i2c.c +++ b/drivers/input/touchscreen/elants_i2c.c @@ -133,6 +133,7 @@ enum elants_chip_id { EKTH3500, EKTF3624, + EKTH3915, }; enum elants_state { @@ -664,6 +665,7 @@ static int elants_i2c_initialize(struct elants_data *ts) switch (ts->chip_id) { case EKTH3500: + case EKTH3915: if (!error) error = elants_i2c_query_ts_info_ekth(ts); break; @@ -1686,6 +1688,7 @@ static const struct i2c_device_id elants_i2c_id[] = { { DEVICE_NAME, EKTH3500 }, { "ekth3500", EKTH3500 }, { "ektf3624", EKTF3624 }, + { "ekth3915", EKTH3915 }, { } }; MODULE_DEVICE_TABLE(i2c, elants_i2c_id); @@ -1702,6 +1705,7 @@ MODULE_DEVICE_TABLE(acpi, elants_acpi_id); static const struct of_device_id elants_of_match[] = { { .compatible = "elan,ekth3500", .data = (void *)EKTH3500 }, { .compatible = "elan,ektf3624", .data = (void *)EKTF3624 }, + { .compatible = "elan,ekth3915", .data = (void *)EKTH3915 }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, elants_of_match);