Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1656326iob; Thu, 5 May 2022 06:01:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6pl9NT1haEHJhOgleWh/aYM0whpSnzEpxk0DGC5NlkR+I8Ce4Ns0IPYEuKrZisOPWmhr+ X-Received: by 2002:a17:907:1c89:b0:6f4:4089:8256 with SMTP id nb9-20020a1709071c8900b006f440898256mr19637310ejc.60.1651755665097; Thu, 05 May 2022 06:01:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651755665; cv=none; d=google.com; s=arc-20160816; b=G9sWHeYgrW8rsUazM+28hBO2UP6PQlgYVChfB/q4H6Diz3P4urNoW2g/25dq90nHE9 Zg818Vwgfxi3WJa4LF9mwGLDGrwnzQRQNqgJdJYFKF6aJkx6bYEILdqNudLkVMr7S44o RDe82/jG41AYQYgytc+sEn/sLg0Big9rQqVmZ6toifSmAMongPO5hDXX+oXcfsK0+Tg3 mStqhjfCoTCrVR6Y5B+2dk4MiJoJjakeQqBYlzikmVBZxhkCBMQR0xrhhUQm+uNQrOci g8QnCoH4E1bVhIpcjkKcxrmjNO0XdxSHdccZD8dujr47GZNFJzX7zrqqTL4DTYPvGFlT v01A== 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=Z1nMz8AV1XcW5h20PdvGECZTKrNaeXZIC73UZ/jHwIc=; b=nUbtEyeEudkTOSJZgEcUj0mXNDKpbZa2pUnbhVNpbWAau/6PuBM05klPc9OQwYfMyT 2WB5y0vCqxeypg0XaxiAMqssxTNWQ/VBEKPkXrFJcunrgUHlf6xUx8Mf19kp4Q4KgUQw lmKTAkDwfIUs+pQfh+baKnj3xlXU0+4MJ1O0DRUQQ4TCRV1269dM7TPJsvhNhJE83EVL B70f86Olk7LO/O4VwuAyFCHmMbnk2SDa+p1oLO+1Vxc+agW4GuS0G0z11mxl6l7HjOh3 W2ESgu7CBSqciRhbOd9/O0FX/XRaJTQ5vnsQV8+Mnj9BQO+GcXWABrTMR7+YCNPMNVD2 2Vbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="U1q/DgV8"; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b10-20020a056402084a00b00425c2de7c41si2281482edz.506.2022.05.05.06.00.39; Thu, 05 May 2022 06:01:05 -0700 (PDT) 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=pass header.i=@gmail.com header.s=20210112 header.b="U1q/DgV8"; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352327AbiEDP21 (ORCPT + 99 others); Wed, 4 May 2022 11:28:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229902AbiEDP2W (ORCPT ); Wed, 4 May 2022 11:28:22 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8A9C4474B; Wed, 4 May 2022 08:24:44 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id c190-20020a1c35c7000000b0038e37907b5bso3452146wma.0; Wed, 04 May 2022 08:24:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Z1nMz8AV1XcW5h20PdvGECZTKrNaeXZIC73UZ/jHwIc=; b=U1q/DgV8WmHyHZrPnWTw4Mo6VNO40cDt5sFdZXGGwGSxj2C10Jt3V1kH94HvOhuBhe Jl58Qqn39NgwpUAmANvXeQtsJy0Nax0dkVCNShi05Hy301IjRC2k1QU9QzOJ93J7EiZO HsFSSKIKUdY+JpyEOEWWTH+IcEJQ/GXRQhijjqvrQIm6AMRuIBYVEPz6JUQ/lYoqNYk5 BQxzaBS+WRw0c+FGsnwAPoq0O8YrRs6DAN7DWLiZ9bP6dBetN5sSWVbKHnDuDUulaCb1 rlMbBYlmUfyechE2jVkwe7h2dXXzNoVzOk+37N2qKKwk8S0mTzz1qGS2GyV7m6khsm1d W5GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Z1nMz8AV1XcW5h20PdvGECZTKrNaeXZIC73UZ/jHwIc=; b=tqPJWKQ8HuOpHQPSngtIkXGAmKUpgnI2uG1Jt08xOl4s2q2IMS6z1ACg78r8Wf1C90 qfF17GYufrGjroYaKarnQ4toO8TP4HnSWuVMdSQSv+vCxietz+BLnObDMKLpsEsy6gWd cA66NJ6Q/Pq5QnoZnp4bK2aaI3IPE21GphrEFuWCzH3nccqzzAJJoHzzRWuIWEQh0BML WLO1DFY3JLptmrqxU3fbZS/qNXptGqlXrmOQ7EGsHXSZ9h7FJIX+C3NVkY7lmuC/GFZT eOZwXco6P1CpZKUNHVGo18OmbTYEPc1yUjfguVm2gdyZzvGGxO5UplkZWF7UKJgEh4Um tEVA== X-Gm-Message-State: AOAM530+yj+1GGUC0ROX0MRzPJNmC/hDHYyB6wb4kXwpLUlwuUktzQ2K W9DhP0iKFZM3RHSdhgwECbwe9FSdsi4= X-Received: by 2002:a05:600c:12c9:b0:394:54ab:52c5 with SMTP id v9-20020a05600c12c900b0039454ab52c5mr5415489wmd.141.1651677883397; Wed, 04 May 2022 08:24:43 -0700 (PDT) Received: from nergzd-desktop.localdomain ([194.39.226.133]) by smtp.gmail.com with ESMTPSA id s14-20020adfa28e000000b0020c5253d91csm11541041wra.104.2022.05.04.08.24.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 May 2022 08:24:43 -0700 (PDT) From: Markuss Broks To: linux-kernel@vger.kernel.org Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Markuss Broks , Lin Meng-Bo , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Henrik Rydberg , linux-input@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 0/3] Add support for Imagis IST3038B Date: Wed, 4 May 2022 18:24:02 +0300 Message-Id: <20220504152406.8730-1-markuss.broks@gmail.com> X-Mailer: git-send-email 2.35.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,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org This series adds support for Imagis IST3038B IC support, which is a variant of Imagis IST3038 IC. It has a different register map (labeled protocol b), but otherwise it seems to be the same IC. It is also possible to support various other Imagis ICs using protocol b, such as (but not limited to) IST3044B, IST3026, IST3032, IST3026B, IST3032B. However, most of them (all except IST3044B) use a different coordinate format, so extra effort would be needed to support those. Tested by Lin Meng-Bo on Samsung Galaxy Core Prime. Cc: Lin Meng-Bo Markuss Broks (3): input/touchscreen: imagis: Correct the maximum touch area value dt-bindings: input/touchscreen: Add compatible for IST3038B input/touchscreen: imagis: Add support for Imagis IST3038B .../input/touchscreen/imagis,ist3038c.yaml | 1 + drivers/input/touchscreen/imagis.c | 60 +++++++++++++++---- 2 files changed, 49 insertions(+), 12 deletions(-) -- 2.35.1