Skip to content

Commit 8c98ddd

Browse files
pH5dtor
authored andcommitted
Input: exc3000 - add EXC81W32 support
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 87d9d1e commit 8c98ddd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

drivers/input/touchscreen/exc3000.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ enum eeti_dev_id {
5353
EETI_EXC3000,
5454
EETI_EXC80H60,
5555
EETI_EXC80H84,
56+
EETI_EXC81W32,
5657
};
5758

5859
static struct eeti_dev_info exc3000_info[] = {
@@ -68,6 +69,10 @@ static struct eeti_dev_info exc3000_info[] = {
6869
.name = "EETI EXC80H84 Touch Screen",
6970
.max_xy = SZ_16K - 1,
7071
},
72+
[EETI_EXC81W32] = {
73+
.name = "EETI EXC81W32 Touch Screen",
74+
.max_xy = SZ_16K - 1,
75+
},
7176
};
7277

7378
struct exc3000_data {
@@ -441,6 +446,7 @@ static const struct i2c_device_id exc3000_id[] = {
441446
{ "exc3000", EETI_EXC3000 },
442447
{ "exc80h60", EETI_EXC80H60 },
443448
{ "exc80h84", EETI_EXC80H84 },
449+
{ "exc81w32", EETI_EXC81W32 },
444450
{ }
445451
};
446452
MODULE_DEVICE_TABLE(i2c, exc3000_id);
@@ -450,6 +456,7 @@ static const struct of_device_id exc3000_of_match[] = {
450456
{ .compatible = "eeti,exc3000", .data = &exc3000_info[EETI_EXC3000] },
451457
{ .compatible = "eeti,exc80h60", .data = &exc3000_info[EETI_EXC80H60] },
452458
{ .compatible = "eeti,exc80h84", .data = &exc3000_info[EETI_EXC80H84] },
459+
{ .compatible = "eeti,exc81w32", .data = &exc3000_info[EETI_EXC81W32] },
453460
{ }
454461
};
455462
MODULE_DEVICE_TABLE(of, exc3000_of_match);

0 commit comments

Comments
 (0)