From patchwork Fri Mar 1 16:40:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Karel Balej X-Patchwork-Id: 21221 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:fa17:b0:10a:f01:a869 with SMTP id ju23csp11739dyc; Fri, 1 Mar 2024 09:00:45 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU9UVBjSACakc3InOvKIxPB61jyBDz/47+8D7iW7Jvf9Hv2E2w/rD15WnCRN55a77zqmHpiPJLhxTzvLFCF5cDpEUWSvA== X-Google-Smtp-Source: AGHT+IE03vzde9c4SPbf4m0RC4iRDGlK2OJjaUgTexbFH2m7fPDYkVg/UAWI2dQ7CmoR6P2VuVrX X-Received: by 2002:a05:6602:2c53:b0:7c8:13cc:32af with SMTP id x19-20020a0566022c5300b007c813cc32afmr2646987iov.2.1709312445544; Fri, 01 Mar 2024 09:00:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709312445; cv=pass; d=google.com; s=arc-20160816; b=P1YxpW/JOCn+KhVVaAHDAyDJwMyUJ8KOtH+4cXXdixHB9aYWSHae4S7f2PvWkTWjOs viqzsk0mAa9XoYGEjL4+NBFzD9YhdFaRMIcK4Lkh6iYCJN0FiHH/Ec9xMv1jTnACs4qE pHcOfIauK5nns/bacTsJ6j5F1KJuYAfd0MgunnQNU2PbrTyhdy8jaTf7zAXoezwSicYo VtYf9AexdMDsuXWWqY9Dc0txhusKSRL/qftWnbgFWSiJUopbVhpvtVfHAHFAQHJVu4s0 Ywkw1seHWjSho83CJR31nfQEwu6E6vlld0UZLrzzXfhc9iAX/R9WTF9435gnj5z/6m5W fWAA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=ZKFkvBt1S5xU1bBrsZOUCamFfWJO3BsAN++Q3u8O0uo=; fh=3dN3s9rK30FPLMWv6b8wsC55ZALaDhhrbsSyCcljd7Q=; b=a/3QWmq5IbS69FbK5RAeALvB8yL5RlNlD93iHXFr6tjqSYEzeHq/dAynkwYCWiop07 YY9+W/OuEqtOBHi/lf2ioc/DS65NYy5MwaKjui0O8nTU3632uy7sf5fVRGue6WCT7Dyu MyKxk0wvPv1DogeRoTzprBwkuBSOIV6527DzO97o7tRLN9srY78KhJYhZhS0JzA4FcvN ZR8Aj9cPkb6WfO/QDTriRRY6OR2QdxeTwYm3X4v4CpSpsF2Q2hEQZjhHJ4hYQLkzs83k 1zdF7zGh3PWnYafrqavwbO9hfnIPw6VvJd28YPGaBi0ir7cI3X+8B7jFOfTQxxSNsANg 8qYA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gimli.ms.mff.cuni.cz header.s=gen1 header.b=GYTWwKDi; arc=pass (i=1 spf=pass spfdomain=gimli.ms.mff.cuni.cz dkim=pass dkdomain=gimli.ms.mff.cuni.cz dmarc=pass fromdomain=gimli.ms.mff.cuni.cz); spf=pass (google.com: domain of linux-kernel+bounces-88771-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88771-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gimli.ms.mff.cuni.cz Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 26-20020a05660220da00b007c768772c3csi1251187ioz.72.2024.03.01.09.00.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 09:00:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88771-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gimli.ms.mff.cuni.cz header.s=gen1 header.b=GYTWwKDi; arc=pass (i=1 spf=pass spfdomain=gimli.ms.mff.cuni.cz dkim=pass dkdomain=gimli.ms.mff.cuni.cz dmarc=pass fromdomain=gimli.ms.mff.cuni.cz); spf=pass (google.com: domain of linux-kernel+bounces-88771-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88771-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gimli.ms.mff.cuni.cz Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 1FC4228818C for ; Fri, 1 Mar 2024 16:56:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3312B4DA02; Fri, 1 Mar 2024 16:47:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=gimli.ms.mff.cuni.cz header.i=@gimli.ms.mff.cuni.cz header.b="GYTWwKDi" Received: from nikam.ms.mff.cuni.cz (nikam.ms.mff.cuni.cz [195.113.20.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C24C7EADF; Fri, 1 Mar 2024 16:47:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.113.20.16 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709311666; cv=none; b=uwJlghJsBeB5eTpezEBc8ofo5fw2XN9t4KmFAChh7r+oG+1XLABCJWnBJNd6IwNQLoFHK95AJJKzaQTJXj6VtiGQ5f+NyjVkqEl0v0VOpovzrpmwTerov4iDTh23tB/6F2NuTL4d+Wg889mH4F06XEt3srMB2atMkd5JbIxOHO0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709311666; c=relaxed/simple; bh=GNxAIlesOWEc6ADQOe2bdHiQI5xZvX9zwAnqPAkPVmc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=t4ctX0brlgPk7KbsgF1hwsfvDlkkRAhkM6+OFyEHVnbkvFVsvgcV4MRcsL6YdKIR7PM6XI17DkdShy0usuc8dLKkg9TfpvblBHJBvRYSk4h5mGivIeNGM5l8Wp6vbs97HdWFQalmuweU7a/CF8pxCTwWsszf7gRG97Ng5lJS+MQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gimli.ms.mff.cuni.cz; spf=pass smtp.mailfrom=gimli.ms.mff.cuni.cz; dkim=pass (1024-bit key) header.d=gimli.ms.mff.cuni.cz header.i=@gimli.ms.mff.cuni.cz header.b=GYTWwKDi; arc=none smtp.client-ip=195.113.20.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gimli.ms.mff.cuni.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gimli.ms.mff.cuni.cz 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 180A1284253; Fri, 1 Mar 2024 17:47:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gimli.ms.mff.cuni.cz; s=gen1; t=1709311653; 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=ZKFkvBt1S5xU1bBrsZOUCamFfWJO3BsAN++Q3u8O0uo=; b=GYTWwKDi7F/is8Gnwp64ERodGYRvJqXDWCjBjYgy8iVsQOS2lkmNJw44F2q5Wzb93ifWFK TjSuu8znmBk3UZbFPXwX1V1PmOvLRtn2aYyqhRtx0qtadqFqPRiPBrXm+P6lxdD/w5ct63 6eQQFjDe0+nnn/A62zSwcYhdeANpiIU= 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 (prime256v1) 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 EA5234587C6; Fri, 1 Mar 2024 17:47:32 +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, karelb@gimli.ms.mff.cuni.cz Subject: [RESEND PATCH v5 0/5] input/touchscreen: imagis: add support for IST3032C Date: Fri, 1 Mar 2024 17:40:59 +0100 Message-ID: <20240301164659.13240-1-karelb@gimli.ms.mff.cuni.cz> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792344007039380075 X-GMAIL-MSGID: 1792344007039380075 From: Karel Balej Hello, this patch series generalizes the Imagis touchscreen driver to support other Imagis chips, namely IST3038B and IST3032C. The motivation for IST3032C 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]. Preliminary version of the regulator driver needed to use the touchscreen on this phone can be found here [2]. Note that this is a prerequisite for (at least a part of) this series [3] which among other things implements support for touch keys for Imagis touchscreens that have it. [1] https://lore.kernel.org/all/20240110-pxa1908-lkml-v8-0-fea768a59474@skole.hr/ [2] https://lore.kernel.org/all/20240211094609.2223-1-karelb@gimli.ms.mff.cuni.cz/ [3] https://lore.kernel.org/all/20240120-b4-imagis-keys-v2-0-d7fc16f2e106@skole.hr/ Best regards, K. B. --- v5: - Rebase to v6.8-rc3. - v4: https://lore.kernel.org/all/20240120191940.3631-1-karelb@gimli.ms.mff.cuni.cz/ v4: - Rebase to v6.7. - v3: https://lore.kernel.org/all/20231202125948.10345-1-karelb@gimli.ms.mff.cuni.cz/ - Address feedback and add trailers. 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(-)