* [PATCH] Input: exc3000 - add EXC81W32 support
@ 2024-06-26 14:26 Philipp Zabel
2024-06-27 16:51 ` Dmitry Torokhov
0 siblings, 1 reply; 3+ messages in thread
From: Philipp Zabel @ 2024-06-26 14:26 UTC (permalink / raw)
To: Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-input, devicetree, linux-kernel, kernel, Philipp Zabel
This adds support for EXC81W32 controllers.
Tested with firmware reported as type "PCAP81X32 Series",
model "Orion_0183_1019", fw_version "8001280G".
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
.../devicetree/bindings/input/touchscreen/eeti,exc3000.yaml | 1 +
drivers/input/touchscreen/exc3000.c | 7 +++++++
2 files changed, 8 insertions(+)
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:
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);
---
base-commit: 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
change-id: 20240626-input-exc3000-exc81w32-58585ba4a98f
Best regards,
--
Philipp Zabel <p.zabel@pengutronix.de>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Input: exc3000 - add EXC81W32 support
2024-06-26 14:26 [PATCH] Input: exc3000 - add EXC81W32 support Philipp Zabel
@ 2024-06-27 16:51 ` Dmitry Torokhov
2024-06-28 8:35 ` Philipp Zabel
0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Torokhov @ 2024-06-27 16:51 UTC (permalink / raw)
To: Philipp Zabel
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-input,
devicetree, linux-kernel, kernel
Hi Philipp,
On Wed, Jun 26, 2024 at 04:26:48PM +0200, Philipp Zabel wrote:
> This adds support for EXC81W32 controllers.
>
> Tested with firmware reported as type "PCAP81X32 Series",
> model "Orion_0183_1019", fw_version "8001280G".
>
> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
> ---
> .../devicetree/bindings/input/touchscreen/eeti,exc3000.yaml | 1 +
> drivers/input/touchscreen/exc3000.c | 7 +++++++
> 2 files changed, 8 insertions(+)
>
> 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:
Could you please split this chunk into a separate patch so that DT folks
can chime in on it separately from the driver change?
Thanks.
--
Dmitry
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Input: exc3000 - add EXC81W32 support
2024-06-27 16:51 ` Dmitry Torokhov
@ 2024-06-28 8:35 ` Philipp Zabel
0 siblings, 0 replies; 3+ messages in thread
From: Philipp Zabel @ 2024-06-28 8:35 UTC (permalink / raw)
To: Dmitry Torokhov
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-input,
devicetree, linux-kernel, kernel
On Do, 2024-06-27 at 09:51 -0700, Dmitry Torokhov wrote:
> Hi Philipp,
>
> On Wed, Jun 26, 2024 at 04:26:48PM +0200, Philipp Zabel wrote:
> > This adds support for EXC81W32 controllers.
> >
> > Tested with firmware reported as type "PCAP81X32 Series",
> > model "Orion_0183_1019", fw_version "8001280G".
> >
> > Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
> > ---
> > .../devicetree/bindings/input/touchscreen/eeti,exc3000.yaml | 1 +
> > drivers/input/touchscreen/exc3000.c | 7 +++++++
> > 2 files changed, 8 insertions(+)
> >
> > 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:
>
> Could you please split this chunk into a separate patch so that DT folks
> can chime in on it separately from the driver change?
Sorry, fixed in v2.
regards
Philipp
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-06-28 8:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-26 14:26 [PATCH] Input: exc3000 - add EXC81W32 support Philipp Zabel
2024-06-27 16:51 ` Dmitry Torokhov
2024-06-28 8:35 ` Philipp Zabel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).