From patchwork Tue Oct 3 13:34:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Karel Balej X-Patchwork-Id: 14870 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2a8e:b0:403:3b70:6f57 with SMTP id in14csp2090569vqb; Tue, 3 Oct 2023 06:36:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGQAcl9SVhqTZUJW/6bj8l4Xe7tySzUayfS+fGfO08L55GB9SoL/1fjIGbdgjlEMGxS3F0F X-Received: by 2002:a05:6e02:1b8b:b0:351:5acb:281 with SMTP id h11-20020a056e021b8b00b003515acb0281mr18034028ili.31.1696340190747; Tue, 03 Oct 2023 06:36:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696340190; cv=none; d=google.com; s=arc-20160816; b=rAR0KZmCVvdvoruzDclAfjBG6dc6t8i3TiaH40+PbAU8CLrRAjCPL1iZfmCJl3qgmN dxZkN7T0u7KiPDw3d4Mf79Q3Eh8xuD+iCzRCLhlUUSQ1Se5oHt3clXnGPzEGdyHzQbnJ cyWYg3/GnC1Q/qUeInJtDczqq0I0/ebtbCAwqSs+vbnYPCgro7HW6Tr7ZRvBlC0X1GUW yFs7XaBlNfJiael0ip8DwUwewNezt6vL0EellckAZeAWGdzULc8f7J4If8dQBIadx0SC 6LcI5mWWpHGuRxuuyixpm5Mqz5/AW0VMXnPbJ9UQdlEOA0ujo2U/7Z4I6Iaxox73gPbH 56Ag== 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=B4vTHC41c5OG36z6s8T2SbcOR+HJgCfAGARZnZUjEAE=; fh=ZMC1fXZ7hRdkQyB61I0ixwdjcegc0kux50101210oNg=; b=MacQioiwCsPI3L29Mce/4nVr4zFIgZSZKbHugJKyHnj+f0zFtj5QPEYUWzw1VU9MdE n5LjxIgxQu2BlWBTH1DsWGew/Vd4ju9hjUphcUVARGQ8ZrdWlbwNBbOs/SN9luMvqHMr jVI7Cv9Rk+exOobXzwqiaFu/bHSz8ArvM02vBP3iCCEALhUDwJkg51im/0unRZtndNPt r6vQU6zKlC4AIXEFVgI5ceAoypTTrpJ1DtnUTZL0S90gG/g99a8BIR6kUKyp8YgMille XQw+c+XRv3Ut4l1qYrsO+v8tqW3A4DyG1yRmJKPi0gny+OqSP1lgFsvXqCHVtHLLBB1t iRmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gimli.ms.mff.cuni.cz header.s=gen1 header.b=VBOMG7Q8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id c5-20020a6566c5000000b0056ad01ddc36si1488066pgw.509.2023.10.03.06.36.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 06:36:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@gimli.ms.mff.cuni.cz header.s=gen1 header.b=VBOMG7Q8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id 7A90080732B3; Tue, 3 Oct 2023 06:35:56 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231944AbjJCNfn (ORCPT + 17 others); Tue, 3 Oct 2023 09:35:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231627AbjJCNfl (ORCPT ); Tue, 3 Oct 2023 09:35:41 -0400 Received: from nikam.ms.mff.cuni.cz (nikam.ms.mff.cuni.cz [195.113.20.16]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88597A6; Tue, 3 Oct 2023 06:35:37 -0700 (PDT) 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 76537284EB5; Tue, 3 Oct 2023 15:35:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gimli.ms.mff.cuni.cz; s=gen1; t=1696340134; 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=B4vTHC41c5OG36z6s8T2SbcOR+HJgCfAGARZnZUjEAE=; b=VBOMG7Q81Jman43aAtHd0D7FWgWK9uNi9aK2KNa84U0a0n99AsmTQB6iKZfHUUOg906Up/ nIW/pq22xKx+ivGtYFKZrrUgMqChcPLqzvAZHoQgZTNo9unTPT5gi+ZJNgJEojI/ItnXEi SlbuoJIxlgpl2tOYRNn8wYEAUZRqrTs= Received: from localhost (koleje-wifi-0029.koleje.cuni.cz [78.128.191.29]) (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 541BE441AC5; Tue, 3 Oct 2023 15:35:34 +0200 (CEST) From: karelb@gimli.ms.mff.cuni.cz 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, ~postmarketos/upstreaming@lists.sr.ht Cc: =?utf-8?q?Duje_Mihanovi=C4=87?= , Karel Balej Subject: [PATCH v2 0/5] input/touchscreen: imagis: add support for IST3032C Date: Tue, 3 Oct 2023 15:34:14 +0200 Message-ID: <20231003133440.4696-1-karelb@gimli.ms.mff.cuni.cz> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,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: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 03 Oct 2023 06:35:56 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778741611576963314 X-GMAIL-MSGID: 1778741611576963314 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. [1] https://lore.kernel.org/all/20230812-pxa1908-lkml-v5-0-a5d51937ee34@skole.hr/ --- Changes in v2: - Do not rename the driver. - Do not hardcode voltage required by the IST3032C. - Use Markuss' series which generalizes the driver. - 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(-)