From patchwork Thu Nov 17 19:14:50 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: 1849 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp578233wrr; Thu, 17 Nov 2022 11:16:16 -0800 (PST) X-Google-Smtp-Source: AA0mqf5485upcHej6+wo0Pl4WEsyZZP1E+Hfbh6U3MMaujBGvAKuwvefUXvOGs4nzjB/ZlgynnAA X-Received: by 2002:a17:907:77c1:b0:7b2:ace3:f3 with SMTP id kz1-20020a17090777c100b007b2ace300f3mr381563ejc.341.1668712576387; Thu, 17 Nov 2022 11:16:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668712576; cv=none; d=google.com; s=arc-20160816; b=qCQ3W8E1D8KF8rbxScv86fyyfRYIfysvE9EW/Vf/qR0VoswQTm1jo+YhNFbAbeRdr3 BabHqckAmLn/xgB/GcDD0kzBZl8uvlsGEMhN3I2BMMysOApGTLyPhLCmxHjVlVQNjOmF oXFR61ZKq0U5+YL1j60eXZCOXvSxitb41SZM6LxDA7RmItWu6xUjIzfuqFZHKK/eOQgD h6BblgX82t8Aun4d82bucBQUlf//UMWarXCk+nIMvyP3uMxzA8hvOybaAnVhxll+fz/F vJJtzSCQywlNX1o7wMwmLiG1Pj1su1CXcBWjUKSUQyJnefauBbLVvrpaauVgDopSWHGt /jTA== 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=UHkvVZhelkt87lb5NxW5b94WAvZpnGxgLmfBH+Voh+Y=; b=Zqgbw1uTFWQqyemOazkUpnNGYZSsdamhAxMwff17pGBipAGQo4UUp0zU6w7KnjUlPE PkqK3RepgHE8LLhH5aFJAwMYIRcj7F7E2yIvM32c2HA7m0ZFiAnqzr7TMh9RNsk2FKR6 yrGfr125bpvT3sseXEnDwS4FnHjx8ykjiNfFucMDl69lyZHaHOAb9UP0nNrq7DBLEYHm Y1PVI0g1I4faUpqsXmjSuT6MTIgDkwT7TvuBkUjh+AnemMbTSVBp5Jv0iZAqDKnrO5CY 8KZMrAcixjOjLGeKfl5pKIucoYTt+jwSeMgFM7oMN+9yJcf6zV940kzBmh3+xwoLQZQy ftdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=zlZDbCMP; 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 xd4-20020a170907078400b007ae98a880dcsi1272459ejb.424.2022.11.17.11.15.48; Thu, 17 Nov 2022 11:16:16 -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=zlZDbCMP; 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 S239999AbiKQTPI (ORCPT + 99 others); Thu, 17 Nov 2022 14:15:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234861AbiKQTPG (ORCPT ); Thu, 17 Nov 2022 14:15:06 -0500 Received: from mail-4318.protonmail.ch (mail-4318.protonmail.ch [185.70.43.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C33EC14D38; Thu, 17 Nov 2022 11:15:05 -0800 (PST) Date: Thu, 17 Nov 2022 19:14:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1668712503; x=1668971703; bh=UHkvVZhelkt87lb5NxW5b94WAvZpnGxgLmfBH+Voh+Y=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=zlZDbCMP+HCK6Gg+23TVi2Euz3znZ6FE+eFeNGK2glZkksObrzW3N5Oy5DAM4VyFL 26MxHYtRCjmTxD5yxR8VdszNMsg2CD13DMiaxFXkYI669VV96LG3ICQSp/VRovXHVO dxCktZmUCLNtzynRYqYfW/lek/nNYYzmCNbgfk3t5S6rASEAsc24+BF1F5/AbO6t3G x0iVcaS2V3uNLVntyKDrSIVIZM7r43XzCsdopnHmBAUrK79jAC7sw9mOxgaNpDI2OW gpQADYRuXRILdUAErRVxnHpdtfULUKWF6vAwnapGbKiyawuipcuRdzWXnIaNlaTUQZ Jv3HN+blkTQcw== 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: [RESEND PATCH 0/3] Add supports for Imagis IST3038 and IST30XXB Message-ID: <20221117191436.87938-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=unavailable 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?1749761956809104714?= X-GMAIL-MSGID: =?utf-8?q?1749771958507647751?= This series adds supports for Imagis IST3038 and IST30XXB IC, which are variants of Imagis IST3038 IC. They have 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.