From nobody Wed Dec 17 12:05:28 2025 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 30D0C18FC7E for ; Wed, 10 Jul 2024 10:28:40 +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=1720607322; cv=none; b=Vek+PgACmof7zEI+z8M36MUOYgd/unJ+tq7bbAmgdv+i6NDsFX14KYFGBYgYG3ekt3hMdCZfkmtvgVwfj0QMrFZnNhaswdykEzPOfZQQWNt4kv9Uwz6QvSQJaGaQdVgvir36ESHy7R9HBSbj3R42s3lVUl1Twfviwb8RUiVZMXk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720607322; c=relaxed/simple; bh=jZwBAA681i2M486mbPO5auvpZEWdrPrRNSop60OMZwo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=blcPV4U1BY29jxdCmWmk8+iQZb28hbAbNAl4XipudyBELu96/xLeilqV+gBjwJI4SRL5d3375sRkiltyDGym1NP4qK23A8BQxX4t8gcl/lYdxyJLXKpQIKicGfE+sTvKrfmv64N+R3MMDfj1txyFsORvPbt7lzNQdgOUIfiYuqM= 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 1sRUYs-0001Y8-Vq; Wed, 10 Jul 2024 12:28:34 +0200 From: Philipp Zabel Date: Wed, 10 Jul 2024 12:28:31 +0200 Subject: [PATCH v3 1/2] dt-bindings: input: touchscreen: exc3000: add EXC81W32 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 Message-Id: <20240710-input-exc3000-exc81w32-v3-1-4272183628b4@pengutronix.de> References: <20240710-input-exc3000-exc81w32-v3-0-4272183628b4@pengutronix.de> In-Reply-To: <20240710-input-exc3000-exc81w32-v3-0-4272183628b4@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.15-dev-13183 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-kernel@vger.kernel.org Add compatible for EXC81W32 touchscreen controllers. They use the same protocol and have the same resolution as EXC80H84. Signed-off-by: Philipp Zabel Acked-by: Conor Dooley --- v3: Mark exc81w32 as compatible with exc80h84. --- .../devicetree/bindings/input/touchscreen/eeti,exc3000.yaml | 12 ++++++++= ---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/input/touchscreen/eeti,exc30= 00.yaml b/Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.= yaml index 9dc25d30a0a8..1c7ae05a8c15 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml +++ b/Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml @@ -14,10 +14,14 @@ allOf: =20 properties: compatible: - enum: - - eeti,exc3000 - - eeti,exc80h60 - - eeti,exc80h84 + oneOf: + - const: eeti,exc3000 + - const: eeti,exc80h60 + - const: eeti,exc80h84 + - items: + - enum: + - eeti,exc81w32 + - const: eeti,exc80h84 reg: const: 0x2a interrupts: --=20 2.39.2 From nobody Wed Dec 17 12:05:28 2025 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 CF0AF18FC85 for ; Wed, 10 Jul 2024 10:28:41 +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=1720607323; cv=none; b=SuHAcES+rKchvLdwfF6/EHxC/iqm8F2RK0wmAn0IWDk35A3hE59jeKX5riMlGb6ellmP76yn0oCoL6vNPi4kqz9byUyFiN8yxLQETaKBHm5y7gfhVmXy4ZjRPGNq6g39dICvnYK9lNNhrhTztSEqFYD9+86FHUBvsCUhYQJCV+k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720607323; c=relaxed/simple; bh=L/pgUwpgSrw/v5EABz0F3z0MFWWRAZFBSZNzpj8MzUM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=LZBFNTdjnW5JeHJ6QL4lUyfmVlUvseAS+F7382IVFGp7SvQZ+7yllLS0XFZlmt8O6/dKtbZJqw1cZCdqsuYBRwHHpunW1o77IrFlTaMaqPwppE/+Hd8H9F8JwpCCC+6aqK2TFVrJtFntDvZs3TwjOXQxEbm1mWjuC04yFvsKcbM= 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 1sRUYt-0001Y8-0f; Wed, 10 Jul 2024 12:28:35 +0200 From: Philipp Zabel Date: Wed, 10 Jul 2024 12:28:32 +0200 Subject: [PATCH v3 2/2] Input: exc3000 - add EXC81W32 support 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 Message-Id: <20240710-input-exc3000-exc81w32-v3-2-4272183628b4@pengutronix.de> References: <20240710-input-exc3000-exc81w32-v3-0-4272183628b4@pengutronix.de> In-Reply-To: <20240710-input-exc3000-exc81w32-v3-0-4272183628b4@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.15-dev-13183 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-kernel@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/touchscree= n/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, }; =20 static struct eeti_dev_info exc3000_info[] =3D { @@ -68,6 +69,10 @@ static struct eeti_dev_info exc3000_info[] =3D { .name =3D "EETI EXC80H84 Touch Screen", .max_xy =3D SZ_16K - 1, }, + [EETI_EXC81W32] =3D { + .name =3D "EETI EXC81W32 Touch Screen", + .max_xy =3D SZ_16K - 1, + }, }; =20 struct exc3000_data { @@ -441,6 +446,7 @@ static const struct i2c_device_id exc3000_id[] =3D { { "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[] =3D= { { .compatible =3D "eeti,exc3000", .data =3D &exc3000_info[EETI_EXC3000] }, { .compatible =3D "eeti,exc80h60", .data =3D &exc3000_info[EETI_EXC80H60]= }, { .compatible =3D "eeti,exc80h84", .data =3D &exc3000_info[EETI_EXC80H84]= }, + { .compatible =3D "eeti,exc81w32", .data =3D &exc3000_info[EETI_EXC81W32]= }, { } }; MODULE_DEVICE_TABLE(of, exc3000_of_match); --=20 2.39.2