Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp186196lqp; Tue, 11 Jun 2024 20:21:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVGe5+PTYxnP/djFKOsCCpyhTA8Int6xNj5xUm2YSHhrxpc+NUbBo+0UVEGCfVUbbhhzd22MEPMyjAZk9c/eH2R0pZHBCtrxE3oJ1Kocw== X-Google-Smtp-Source: AGHT+IHgcV7MdXh43XR/pJG0LX/3twgPjzmpaMcdAJ6SvGhri4RUyYRwqoQTZeC+c0kyWbBKkj9g X-Received: by 2002:a17:906:178a:b0:a6e:f8c1:8395 with SMTP id a640c23a62f3a-a6f34c9a457mr297234566b.9.1718162484898; Tue, 11 Jun 2024 20:21:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718162484; cv=pass; d=google.com; s=arc-20160816; b=NdMRYiCNfwOfqgMISyzTbgleAPW3yiLCW9SH6uQEqptQoY6NAOEbObibynVlpvlqHu fQudjj7kO5mVEa5bQeG5Gzoors8D/SZD9W/xAzd2cX0pDcPtLXqSfvW87sA1qWWTDgJc rTIW79haBZ1xMZfUh77YYCJCelwC/LH6dsl1oMrWyX0Ap9Wk1G76i14H0S4kdim1G/8X 3bPYL36cOo6so9Z1hZomBWQAXP6T4ZJI0bGE8UIZAcxM+0VawSODkIvbXsOQTXEFD+Ye r8A2ZJXVnd2aRGOJaWqwP+Q3OoBoUyg5BAHh8F85dpQFsoRhzqbUSTgBA9u55MFqrvKJ 1nBg== 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=xoraK43U16pXlakxdHI1pgYWCBDNzBssPxameDeDePM=; fh=vbaZ37OneDKmGgFkyZcXNDAABBQjl6F5iHgrhTgZ25U=; b=Q/mlNrTzBg34ZkFSXts9mRCCgsyR4xJIyGw/GuutcggMA86+x5rCujT90yRL5D+Mj6 8NkYBZrIXN+it5Rs3/lE3AusVykWRVdxsNDIucguZK6bLxs9Pxhi04g251S0R7YqQQzc 6UGDJH8ywIoVorRoqLf+mgZ3oJe8WgsbaOgO6ZI8IC1D9YE/SxLU3eq0sIXUOJSUV86Y BNeUCvim5mDoC7/rTOIyxchOVhsB5XCcXZswtPcF4SjXIRUcwXaAWDRbdrT4ItV1JbYk SuqDkdd0XT8zOzTtjGSz9v2TPUVXAJMwe+1vIrjNftzPXdWGWfY+o+67dIxV8DQ5F5I/ ANIg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=OQ7cf4T+; 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-210854-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210854-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a6efaece611si448097366b.935.2024.06.11.20.21.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 20:21:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210854-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=OQ7cf4T+; 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-210854-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210854-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 9AD081F248D6 for ; Wed, 12 Jun 2024 03:21:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3D9751C6BD; Wed, 12 Jun 2024 03:21:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b="OQ7cf4T+" Received: from mail-0201.mail-europe.com (mail-0201.mail-europe.com [51.77.79.158]) (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 DDFF3F4FA; Wed, 12 Jun 2024 03:21:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=51.77.79.158 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718162473; cv=none; b=u+536NAHH7a0zJ07/cu+M2iMsG/WLTtEotYqqEmTVVl+qk4wLoECjnVZqhNu8HKYa4wd5rV6YFXrlBZ6LqH96T5Isp5a6TJYbsicE1dlq7WzQs3zkli+DrGGnA5EHFhA6UnhY412jnHyx5emC14BwP1m1czjm5Ybj0mYDyYJP7c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718162473; c=relaxed/simple; bh=xoraK43U16pXlakxdHI1pgYWCBDNzBssPxameDeDePM=; h=Date:To:From:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=YVhdnkq6cV0QJvfrDP8tvvuJs+ROKk0E31JrFssFTnBWKyzQHLtSfj9Lof+8HH9svLw8SqWyGsaa1UZMbw7YieZH1SkdcciEAUYVz0z4NEPLR8ak4EEcz4nEwlwJbW9CM0t2wxpT+NS3O6Cs8Gto6Hu4MgdDmPsYF81riJQnMmE= 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=OQ7cf4T+; arc=none smtp.client-ip=51.77.79.158 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=1718162461; x=1718421661; bh=xoraK43U16pXlakxdHI1pgYWCBDNzBssPxameDeDePM=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=OQ7cf4T+ezoHkxugoTjXFGbL/7XU5YYbdCLpT+YpfPoylRZ7MH6zbOCpA1WovWgR/ V8kDC/KQgIe9a2rc7PBZsPwrldsQxKehqGz49jx67/tdoOpEsJKMgJGyFTuTpC7k7U MXCkz/9q0bsJwNgVkVtS96+ICSkkvgEmIYMa452kBAOp1NuaPzcdagl+q7e8dqHpfX vSBnyScC5b66E+GgGJxp3hpLS3WZ0nm3W/6OWTbx9ke3D7qrKgbn140hEalPCSVEM8 A4wqGH3BW6h6LAFaFzv+mEA87iQJPR8a4Lz4cgppLp3XLLN5avkX8iweaPGYc2SeGM 3aypE1wsaDX7g== Date: Wed, 12 Jun 2024 03:20:55 +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 0/3] Add support for Imagis IST3038 and clarify the usage of protocol_b Message-ID: <20240612032036.33103-1-raymondhackley@protonmail.com> Feedback-ID: 49437091:user:proton X-Pm-Message-ID: 30ee4ca33747296f4316c28bf11e4877e14966c1 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.