Received: by 2002:ab2:6f44:0:b0:1fd:c486:4f03 with SMTP id l4csp126856lqq; Wed, 12 Jun 2024 19:57:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXGh8tnFlJ3wwEpX15Wzi6zagp3nI5xZK04k578aJrH085SLkk8zHNMH9M1YSE/QF0GlndzOaRiZArpCKTnILn/D/on2vENjOCLStkXjg== X-Google-Smtp-Source: AGHT+IEUUmMf7M30xhNqUFahMY7vg+hYhygDn3hRcV8LEVEbJr5xmsrPzAGMNbvH35SSQo/Qc2gS X-Received: by 2002:a05:6a00:b41:b0:704:3521:fb58 with SMTP id d2e1a72fcca58-705bceac04fmr4501697b3a.27.1718247426892; Wed, 12 Jun 2024 19:57:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718247426; cv=pass; d=google.com; s=arc-20160816; b=COa5e2qfo9teDvahy41755o2MxwCrx9u64EajD5Htz7aYwY0VYyAlcOdx/gtNv0N2w +8ShxYvdATFin3cF0Ym7f0rLX0tcDIYnETOkY0ETzTbWcOUmZQ1nuQQ3qhd9JzygGT1t pdqzs6237XNzN/4w/hAP/AjJ0kv3toKSpjTrhI5U/BAs84jyPsIfJhnRsLsLh6BUgVZc l7G51d3s/atutd7XzHw7p7DaPOl6yX90ljVMXW+rzHWXOzpDnawrCd+p/PK6TR/BOAgR /A3cR90DC72K+SRTFuohisTY8/HeMvQG0NFEqdeJ8CeiSlMZ/TAB0LVpYZqH6f6Is+Sd W03g== 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:feedback-id:message-id:subject:cc :from:to:date:dkim-signature; bh=/WF9YMVVkLWBKK5C0uFSZxjSXeVeRPdRrY1i4Gk6e8s=; fh=vbaZ37OneDKmGgFkyZcXNDAABBQjl6F5iHgrhTgZ25U=; b=wh+1Uy/pMAHT9eGlgY8DinSfrzCJxocAISlQls6GdZEGJwJ2dA3aqB3EnbimByApS1 MdYkFaa0BDFNrXwjJrXk298V1j5NAz8d6kS31A1NnOJqP99hk2YKhpxtPErLqaPZNX66 cvC7lHTSZKQkH1wpQils+Zcu4dcHmZq49HSpnDnIXyIhkmFDqvxuDcx/Q0pYK2a66pn+ /yMg9ocP1jRnH6Gy06dO0Rhm51eUT4Fub7FpoCNWGdPUdh+8C4czmt6/KWjNvbrhDHZc mp61Q+XJpdV5YwwDWKVKX0B0KBIo/+U4YLPm2ZLIIj8VVhCxaWHedVug9tWF5ZfbmrbE PA9w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=mAcO7s4G; arc=pass (i=1 spf=pass spfdomain=protonmail.com dkim=pass dkdomain=protonmail.com dmarc=pass fromdomain=protonmail.com); spf=pass (google.com: domain of linux-kernel+bounces-212505-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212505-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d2e1a72fcca58-705ccb3a6f1si464295b3a.157.2024.06.12.19.57.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 19:57:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-212505-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=mAcO7s4G; arc=pass (i=1 spf=pass spfdomain=protonmail.com dkim=pass dkdomain=protonmail.com dmarc=pass fromdomain=protonmail.com); spf=pass (google.com: domain of linux-kernel+bounces-212505-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212505-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id A883DB22627 for ; Thu, 13 Jun 2024 02:57:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 85F1112CD91; Thu, 13 Jun 2024 02:56:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b="mAcO7s4G" Received: from mail-43166.protonmail.ch (mail-43166.protonmail.ch [185.70.43.166]) (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 1388779C0; Thu, 13 Jun 2024 02:56:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.43.166 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718247413; cv=none; b=Fr2F62uwU6NTyAATlrIkqtDvk0CF+1hB4/iEvDHfLzraQ6ta/WRuIjEDbm0u5OnOybumhmTtPuUQBvwDu0cQZ7Wm2tutEpSWDlmzivIotbmGO8o6luVHdEC1lBMtYmD5HyCTECKSOybg3B8u/PVgX8/4fAINToPOdlW0Zz66Ww0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718247413; c=relaxed/simple; bh=v6EHWvK61kiveLsS+vOvVRR1JYgbPNmon5wekWK080M=; h=Date:To:From:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=IgW/CVh07ZbFT/sHSWDziLB9z30/jfIbiXCn0IRwkpxDkoLl3V16qs7mC8xzAY9oQJKF8aXYhPUOudOeQViV7YWsjamPhkOXy7BnS3h68Svnhd0ayusQ45uSVF0dfrvfjTukEjEh9J8/sidbdnlNMewLVKy//Qan359Ix5GbnSk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com; spf=pass smtp.mailfrom=protonmail.com; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b=mAcO7s4G; arc=none smtp.client-ip=185.70.43.166 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=protonmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1718247410; x=1718506610; bh=/WF9YMVVkLWBKK5C0uFSZxjSXeVeRPdRrY1i4Gk6e8s=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=mAcO7s4GJqRKPZfRU7za40B6etNmBxqHs0GSDJQlrXG9LFbjCBIm6X1cZUElmKx+p CjCKqORxTDz3+xb0Oq8zCWINyVIeq+GZoGk/s/lDVAOhtH99uDLrDV6+4ratdijE36 yc+zwCqgErcyLErTapoc4lG0JLswsNCPPyctLi04PPjcmtN7Ihn6Hm6JyzmNkYr2E3 zOJw87/ktTscHh9TU7j+dU1sBluMzI/YM8dh7YKctCsVocK8/MXj5BGBxQ9h3s8ZQM iY/VNRe1jfLskJYTQMkQMXWrhjBsBfT9oeXkEwe514mPJ0yWF4Q1rfnWwzAXGbisS1 GBTidlnPmqKBg== Date: Thu, 13 Jun 2024 02:56:46 +0000 To: linux-kernel@vger.kernel.org From: Raymond Hackley Cc: Markuss Broks , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , 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 and clarify the usage of protocol_b Message-ID: <20240613025631.5425-1-raymondhackley@protonmail.com> Feedback-ID: 49437091:user:proton X-Pm-Message-ID: 29b1f6575173bd119d3055ab5b1e3baec68ba92b Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Imagis IST3038 is another variant of Imagis IST3038 IC, which has a different register interface from IST3038C (possibly firmware defined). Unlike IST3038C/IST3032C, IST3038 has different registers for commands, which means IST3038 doesn't use protocol B. Similar to IST3032C and maybe the other variants, IST3038 has touch keys support, which provides KEY_APPSELECT and KEY_BACK. Add support for IST3038 with touch keys. protocol_b is a property, which tells Imagis panel to use a different format for coordinates. IST30XXC series is known for using protocol B, while the other series aren't. Note this could be confusing, unlike the model name implies. Adjust the usage of protocol_b to avoid confusion. --- v2: Sort the compatible enties in alphabetical order. Document the binding before using in the driver.