From patchwork Fri Nov 18 18:21:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lin, Meng-Bo" X-Patchwork-Id: 1924 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp343708wrr; Fri, 18 Nov 2022 10:22:34 -0800 (PST) X-Google-Smtp-Source: AA0mqf5tK/pI6vz+U0b+ASWaAf9/X3fXz1VGYbyw5WhAh37c1P5YbjNkzbXykplfGZxxyljSUI4B X-Received: by 2002:a17:90a:aa93:b0:218:94ff:ce1f with SMTP id l19-20020a17090aaa9300b0021894ffce1fmr797574pjq.217.1668795753818; Fri, 18 Nov 2022 10:22:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668795753; cv=none; d=google.com; s=arc-20160816; b=rmaRneN50gdHmnKliWcjOqnyqIpxBSgZwz+Htbj9E3CD2T3q3rJqM6YrmZKOR1Tqe4 BSk2Cv47QvOHkf/afcDX0OfdwB6gBEglXSWKixkSAxdgpFzq1xAsfDBUx0S/MKkAtd8o qsPAN1TjHEo0pZlfHZ/rMUzybZ8K6ZjNMQc2tRJnm9h0olnTVCZQke7snIkrMq7EayL2 L1H8e3EqQJMXTX03Vbd4SKLc+e3rX8qTudfBLJNZuN5EcjXx2cyBpJlvjEnPg8v1WqkX Cfp0THxNEyYivrllOawPqvm+0pbEB37UBfKix/SGTNDWsJwFLmWgaEkyhryxPu+2zAF2 sVnw== 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 :feedback-id:message-id:subject:cc:from:to:dkim-signature:date; bh=HgXLOqW8YZDy/6BgDftp8Q5C+odX4Kj1c/qv3mh3a2U=; b=mP9ANC1Ai64QgiAHxD9TW2R52+gVvbedk9uPgOAWiuf6RFSYjrS0NK+B9SqbbESFOG WvADtNe8tGskhCqoMR++8D8yvRdu2S9EE4RY8iajGyQ4Glk5v5xOJb9rQNgUMpz4Pjih jsvx+QJg5cz6+zNu30QJGJpEZADQhpz1z5XrrREqMcsWREhe6B1d7iEweV97ckqQk18R CTVohhZt8BO2u9m7++kTxOdrvgqocsvWRpu/9eB1tGueab3qWqNzpCwznvB7Fpb3spur OVMsav1hf6bqYPsA6hDcVPZ0te63dLJHAEgzIOKK/ht5mYSAXUqb1rpbXCo+cPLdpqaS /r1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=lANDadsB; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p18-20020a631e52000000b00476e022bf0esi4797086pgm.643.2022.11.18.10.22.20; Fri, 18 Nov 2022 10:22:33 -0800 (PST) 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=@protonmail.com header.s=protonmail3 header.b=lANDadsB; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242625AbiKRSVt (ORCPT + 99 others); Fri, 18 Nov 2022 13:21:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241807AbiKRSVj (ORCPT ); Fri, 18 Nov 2022 13:21:39 -0500 Received: from mail-4318.protonmail.ch (mail-4318.protonmail.ch [185.70.43.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC9987D533; Fri, 18 Nov 2022 10:21:31 -0800 (PST) Date: Fri, 18 Nov 2022 18:21:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1668795689; x=1669054889; bh=HgXLOqW8YZDy/6BgDftp8Q5C+odX4Kj1c/qv3mh3a2U=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=lANDadsB+2EPEpzGgdkB6Xxf4Owh+1EWZV0uwixSAQl4/f4p/BkppkH3VogwpOBE8 VT4Blk+W8XAlPOGj2URKNndtnbGXJnXhuPkCcuk3egL8TyOn+frdzK2Fr5A3pm3QBR nzHEeKMLi+zOk7gmz2vYSIfbNnqd40LvTSusZ4y5ek+lmaPg4v5aXPz9cNeowEHPrS rFAlHZiWy/RNf7Wg3yTYdHr+8C0Bol85YTHHqH54Xn0rgVmglB0IE8jE5Oi2h6NtPA HaxeSzMBG8nrd8mVUhnJHo89mDGSiHdu+YJXo1DrWvjgFfC3g0CnfCKO64Cnxw9gsn I2k8N9/h3rZrw== To: linux-kernel@vger.kernel.org From: "Lin, Meng-Bo" Cc: Markuss Broks , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Henrik Rydberg , Stephan Gerhold , Nikita Travkin , linux-input@vger.kernel.org, devicetree@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH v2 0/3] Add support for Imagis IST3038 Message-ID: <20221118182103.3405-1-linmengbo0689@protonmail.com> Feedback-ID: 40467236:user:proton MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,SPF_HELO_PASS,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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749859176286273059?= X-GMAIL-MSGID: =?utf-8?q?1749859176286273059?= v2: Drop untested, wildcard ist30xxb This series adds support for Imagis IST3038, which is a variants 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 on Samsung Galaxy Core Prime and Grand Max.