From patchwork Sat Dec 2 12:48:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Karel Balej X-Patchwork-Id: 17445 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp1753560vqy; Sat, 2 Dec 2023 05:15:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IGvic7UimpXbvICd/4xgpjwjEqYQvcils7y1N0YhVjcvMbNpfkmxXRuzX5PJmgFVEzVeakL X-Received: by 2002:a05:6a20:6a1b:b0:18b:4e8c:471d with SMTP id p27-20020a056a206a1b00b0018b4e8c471dmr1632815pzk.59.1701522935820; Sat, 02 Dec 2023 05:15:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701522935; cv=none; d=google.com; s=arc-20160816; b=TUV4tUlMDUzJbg+jvIWDEa7pzDPx4iaDIt+TVww2Z03cv6085AOhj9hO5ddTR6Ug+7 Ayt/jaoOmB4T+PjcD1agzV7nQdCHLpCKvF5sK5geHaIhb7vjC4F0dGelVOiesI4+Au/4 2LDdq2Oo/IGg+55SsHNSQ1tIJKRJtsjhx/nNrZkSrXgyK0Ipez7Pqu1XRHgmEKnRZ2LI paFLBXzxTRHGFa0Ce3HQxVOiT+NZtaJ/i/ef7VuVgcIDomgTrfdSS8yaq++BnRlzmMOb 8sEn5vR8as8ZDvNQWJ2wm5gc8eBQh+rA3F0D+FIRqq+WEFKidf44sWI3rRqx6fIEZCfT qFPg== 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=xcZHxF0TOnC7j0lzNEeq08B9JFECUUdheP0hD3aOB9U=; fh=JqA0Xee0/CWumczA5TuyC+7WXtsf+tJMEa8SbRnVgwI=; b=fp+ZHArSTAnasldZ4ydJivptBhLeTej+20x+ikKIW1tacFme4DDRHAWl8rFTbSWsA0 qLwtmla6utvcUTW0DiTorcdBhbVnFdwFOmW6imBsNi/zxqwjaDsVymajSiL4IkpZXWgU QLEw35uwpAHUDVAqC9LdRKm8v8SVrjo51+oLdQ7elHAHWeK7u+F+QKWKy9TRqFy03aYm 3HUa3oZHpCihqKetqLcNxwq5AucQ4gdgwSrMF7HloRwYzsiI3thIthOVnHChHAT4yMU/ XiPQA4o/4nSv6jtohm88Jr6NFnQT1Dd5tenANehknAN6k3qjtmYh4YwiGJsOyE2RGEsE n8xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gimli.ms.mff.cuni.cz header.s=gen1 header.b=DcC1Hdrn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gimli.ms.mff.cuni.cz Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id x21-20020a63f715000000b005bd04873387si4908309pgh.105.2023.12.02.05.15.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Dec 2023 05:15:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@gimli.ms.mff.cuni.cz header.s=gen1 header.b=DcC1Hdrn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gimli.ms.mff.cuni.cz Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 8FA77807C854; Sat, 2 Dec 2023 05:10:07 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232949AbjLBNJt (ORCPT + 99 others); Sat, 2 Dec 2023 08:09:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232768AbjLBNJg (ORCPT ); Sat, 2 Dec 2023 08:09:36 -0500 Received: from nikam.ms.mff.cuni.cz (nikam.ms.mff.cuni.cz [195.113.20.16]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFF26198; Sat, 2 Dec 2023 05:09:42 -0800 (PST) Received: from gimli.ms.mff.cuni.cz (gimli.ms.mff.cuni.cz [195.113.20.176]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by nikam.ms.mff.cuni.cz (Postfix) with ESMTPS id CB41528BDE5; Sat, 2 Dec 2023 14:00:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gimli.ms.mff.cuni.cz; s=gen1; t=1701522018; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=xcZHxF0TOnC7j0lzNEeq08B9JFECUUdheP0hD3aOB9U=; b=DcC1Hdrnh66CtqoxKlvEgAxrQRvSsBH9T20U46E+seBHNwP+ijXbh4l9l3LIHLApYhelqR kIgBevmC9Y3NWCUqBM0GlkC+fAJhh+27W85tYMk3IzEbzwfN0mX8lHXNSAf5eFnFuYdz2N u0JjyigAXg62HpOhLJSMrSyz1o5V4mE= Received: from localhost (internet5.mraknet.com [185.200.108.250]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: karelb) by gimli.ms.mff.cuni.cz (Postfix) with ESMTPSA id AA1EC4443E5; Sat, 2 Dec 2023 14:00:18 +0100 (CET) From: Karel Balej To: Markuss Broks , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Henrik Rydberg , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: =?utf-8?q?Duje_Mihanovi=C4=87?= , ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Karel Balej Subject: [PATCH v3 0/5] input/touchscreen: imagis: add support for IST3032C Date: Sat, 2 Dec 2023 13:48:31 +0100 Message-ID: <20231202125948.10345-1-karelb@gimli.ms.mff.cuni.cz> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Sat, 02 Dec 2023 05:10:07 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784175755612012245 X-GMAIL-MSGID: 1784176113782085472 From: Karel Balej This patch series generalizes the Imagis touchscreen driver to support other Imagis chips, namely IST3038B, which use a slightly different protocol. It also adds necessary information to the driver so that the IST3032C touchscreen can be used with it. The motivation for this is the samsung,coreprimevelte smartphone with which this series has been tested. However, the support for this device is not yet in-tree, the effort is happening at [1]. In particular, the driver for the regulator needed by the touchscreen on this device has not been rewritten for mainline yet. Note that this is a prerequisite for this patch [2] which implements support for touch keys for Imagis touchscreens that have it. [1] https://lore.kernel.org/all/20231102-pxa1908-lkml-v7-0-cabb1a0cb52b@skole.hr/ [2] https://lore.kernel.org/all/20231112194124.24916-1-duje.mihanovic@skole.hr/ --- v3: - Rebase to v6.7-rc3. - v2: https://lore.kernel.org/all/20231003133440.4696-1-karelb@gimli.ms.mff.cuni.cz/ v2: - Do not rename the driver. - Do not hardcode voltage required by the IST3032C. - Use Markuss' series which generalizes the driver. Link to the original series: https://lore.kernel.org/all/20220504152406.8730-1-markuss.broks@gmail.com/ - Separate bindings into separate patch. - v1: https://lore.kernel.org/all/20230926173531.18715-1-balejk@matfyz.cz/ --- Karel Balej (2): dt-bindings: input/touchscreen: imagis: add compatible for IST3032C input/touchscreen: imagis: add support for IST3032C 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 | 2 + drivers/input/touchscreen/imagis.c | 70 +++++++++++++++---- 2 files changed, 60 insertions(+), 12 deletions(-)