From patchwork Fri Jun 28 08:35:51 2024
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Philipp Zabel
X-Patchwork-Id: 13715703
Received: from metis.whiteo.stw.pengutronix.de
(metis.whiteo.stw.pengutronix.de [185.203.201.7])
(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 AF60A14F9E7
for ; Fri, 28 Jun 2024 08:36:06 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
arc=none smtp.client-ip=185.203.201.7
ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1719563768; cv=none;
b=kQhh18jSKIY53sBi/ADOgRCHOAkORJu8HHZnBL1U7UOyRQHJtF/cK2mytMktpEfrYNb+cHkQxkEX+rFisskdORSfVFdSqImxMxf1A80+32A2+mI8tLXWlZrbfsdkRqTj+HBqZYq0PI8MTBv8lCBLt6na30Hug4cP6ScbbQUoR/U=
ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1719563768; c=relaxed/simple;
bh=vH1fp++601l8m8+CpdyZVk01Rgk1uREuDmwiUBp07mM=;
h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References:
In-Reply-To:To:Cc;
b=l9d6bJWKTV8EPI3KYN1FzhdfaaTcx99u7B5IjATcEdWpk1vJSRi0F6i8GLmF587U34jzzxUsHOQ70dxghw4nI45ng65CqlsfnVgM7gl2CjtclxmDKJmhp4SNyRvj9EfYj02lTK/TgFtoJ2N21rZV9u4HnwAsiW7sOYQpVxRji5s=
ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=none (p=none dis=none) header.from=pengutronix.de;
spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7
Authentication-Results: smtp.subspace.kernel.org;
dmarc=none (p=none dis=none) header.from=pengutronix.de
Authentication-Results: smtp.subspace.kernel.org;
spf=pass smtp.mailfrom=pengutronix.de
Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54])
by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92)
(envelope-from )
id 1sN75J-00079Y-Ej; Fri, 28 Jun 2024 10:35:57 +0200
From: Philipp Zabel
Date: Fri, 28 Jun 2024 10:35:51 +0200
Subject: [PATCH v2 1/2] dt-bindings: input: touchscreen: exc3000: add
EXC81W32
Precedence: bulk
X-Mailing-List: linux-input@vger.kernel.org
List-Id:
List-Subscribe:
List-Unsubscribe:
MIME-Version: 1.0
Message-Id: <20240628-input-exc3000-exc81w32-v2-1-c2b21a369c05@pengutronix.de>
References: <20240628-input-exc3000-exc81w32-v2-0-c2b21a369c05@pengutronix.de>
In-Reply-To:
<20240628-input-exc3000-exc81w32-v2-0-c2b21a369c05@pengutronix.de>
To: Dmitry Torokhov ,
Rob Herring , Krzysztof Kozlowski ,
Conor Dooley
Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, kernel@pengutronix.de,
Philipp Zabel
X-Mailer: b4 0.14-dev
X-SA-Exim-Connect-IP: 2a0a:edc0:0:1101:1d::54
X-SA-Exim-Mail-From: p.zabel@pengutronix.de
X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de);
SAEximRunCond expanded to false
X-PTX-Original-Recipient: linux-input@vger.kernel.org
Add compatible for EXC81W32 touchscreen controllers.
Signed-off-by: Philipp Zabel
---
v2: new patch, split out of driver patch
---
Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml b/Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml
index 9dc25d30a0a8..c299838e2680 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml
+++ b/Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml
@@ -18,6 +18,7 @@ properties:
- eeti,exc3000
- eeti,exc80h60
- eeti,exc80h84
+ - eeti,exc81w32
reg:
const: 0x2a
interrupts:
From patchwork Fri Jun 28 08:35:52 2024
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Philipp Zabel
X-Patchwork-Id: 13715702
Received: from metis.whiteo.stw.pengutronix.de
(metis.whiteo.stw.pengutronix.de [185.203.201.7])
(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 CDAA014E2C9
for ; Fri, 28 Jun 2024 08:36:05 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
arc=none smtp.client-ip=185.203.201.7
ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1719563767; cv=none;
b=tuj+hU8DXyFFrVaz8b1llO2ZFD5RnOmW5x/ttKtNB4nWQ0+4ck6pwQaqmfAYnIpfLeKv3H9b79MvP2zFnNKYXc5+K1V9Oxl2J5I3n9I9xRpTAoapBEhilKx5xyAxfYU3YArng5v7tlTKjVLMbCu80EvYWCcWaTNK69JwVTMhGUU=
ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1719563767; c=relaxed/simple;
bh=L/pgUwpgSrw/v5EABz0F3z0MFWWRAZFBSZNzpj8MzUM=;
h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References:
In-Reply-To:To:Cc;
b=AwAMJumCMKrJijlUY+cwJPX9/Pe/gkf6yCf4jv1iqblW/3WI20bSeMxdVivFpNwKKqmLkgAgyq5q2+qANi2hh0cZeI35MlBDeTAN3dJWrW9pvNNi3dpa3ZAnxKw79u3578OU9SR53zmIWb6BgsK7Ta9sbSXnNzaYTWPVEsXw/fE=
ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=none (p=none dis=none) header.from=pengutronix.de;
spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7
Authentication-Results: smtp.subspace.kernel.org;
dmarc=none (p=none dis=none) header.from=pengutronix.de
Authentication-Results: smtp.subspace.kernel.org;
spf=pass smtp.mailfrom=pengutronix.de
Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54])
by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92)
(envelope-from )
id 1sN75J-00079Y-G2; Fri, 28 Jun 2024 10:35:57 +0200
From: Philipp Zabel
Date: Fri, 28 Jun 2024 10:35:52 +0200
Subject: [PATCH v2 2/2] Input: exc3000 - add EXC81W32 support
Precedence: bulk
X-Mailing-List: linux-input@vger.kernel.org
List-Id:
List-Subscribe:
List-Unsubscribe:
MIME-Version: 1.0
Message-Id: <20240628-input-exc3000-exc81w32-v2-2-c2b21a369c05@pengutronix.de>
References: <20240628-input-exc3000-exc81w32-v2-0-c2b21a369c05@pengutronix.de>
In-Reply-To:
<20240628-input-exc3000-exc81w32-v2-0-c2b21a369c05@pengutronix.de>
To: Dmitry Torokhov ,
Rob Herring , Krzysztof Kozlowski ,
Conor Dooley
Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, kernel@pengutronix.de,
Philipp Zabel
X-Mailer: b4 0.14-dev
X-SA-Exim-Connect-IP: 2a0a:edc0:0:1101:1d::54
X-SA-Exim-Mail-From: p.zabel@pengutronix.de
X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de);
SAEximRunCond expanded to false
X-PTX-Original-Recipient: linux-input@vger.kernel.org
Add support for EXC81W32 controllers.
Tested with firmware reported as type "PCAP81X32 Series",
model "Orion_0183_1019", fw_version "8001280G".
Signed-off-by: Philipp Zabel
---
v2: split device tree binding compatible update out of this patch
---
drivers/input/touchscreen/exc3000.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/input/touchscreen/exc3000.c b/drivers/input/touchscreen/exc3000.c
index a4030cc9ff60..2e77cfb63f32 100644
--- a/drivers/input/touchscreen/exc3000.c
+++ b/drivers/input/touchscreen/exc3000.c
@@ -53,6 +53,7 @@ enum eeti_dev_id {
EETI_EXC3000,
EETI_EXC80H60,
EETI_EXC80H84,
+ EETI_EXC81W32,
};
static struct eeti_dev_info exc3000_info[] = {
@@ -68,6 +69,10 @@ static struct eeti_dev_info exc3000_info[] = {
.name = "EETI EXC80H84 Touch Screen",
.max_xy = SZ_16K - 1,
},
+ [EETI_EXC81W32] = {
+ .name = "EETI EXC81W32 Touch Screen",
+ .max_xy = SZ_16K - 1,
+ },
};
struct exc3000_data {
@@ -441,6 +446,7 @@ static const struct i2c_device_id exc3000_id[] = {
{ "exc3000", EETI_EXC3000 },
{ "exc80h60", EETI_EXC80H60 },
{ "exc80h84", EETI_EXC80H84 },
+ { "exc81w32", EETI_EXC81W32 },
{ }
};
MODULE_DEVICE_TABLE(i2c, exc3000_id);
@@ -450,6 +456,7 @@ static const struct of_device_id exc3000_of_match[] = {
{ .compatible = "eeti,exc3000", .data = &exc3000_info[EETI_EXC3000] },
{ .compatible = "eeti,exc80h60", .data = &exc3000_info[EETI_EXC80H60] },
{ .compatible = "eeti,exc80h84", .data = &exc3000_info[EETI_EXC80H84] },
+ { .compatible = "eeti,exc81w32", .data = &exc3000_info[EETI_EXC81W32] },
{ }
};
MODULE_DEVICE_TABLE(of, exc3000_of_match);