Skip to content

Commit fc289d3

Browse files
kaecheledtor
authored andcommitted
Input: edt-ft5x06 - add support for FocalTech FT8201
The driver supports the FT8201 chip as well. It registers up to 10 touch points. Tested on: Lenovo ThinkSmart View (CD-18781Y), LCM: BOE TV080WXM-LL4 Signed-off-by: Felix Kaechele <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 70d76b0 commit fc289d3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/input/touchscreen/edt-ft5x06.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1474,6 +1474,10 @@ static const struct edt_i2c_chip_data edt_ft6236_data = {
14741474
.max_support_points = 2,
14751475
};
14761476

1477+
static const struct edt_i2c_chip_data edt_ft8201_data = {
1478+
.max_support_points = 10,
1479+
};
1480+
14771481
static const struct edt_i2c_chip_data edt_ft8719_data = {
14781482
.max_support_points = 10,
14791483
};
@@ -1485,6 +1489,7 @@ static const struct i2c_device_id edt_ft5x06_ts_id[] = {
14851489
{ .name = "ft5452", .driver_data = (long)&edt_ft5452_data },
14861490
/* Note no edt- prefix for compatibility with the ft6236.c driver */
14871491
{ .name = "ft6236", .driver_data = (long)&edt_ft6236_data },
1492+
{ .name = "ft8201", .driver_data = (long)&edt_ft8201_data },
14881493
{ .name = "ft8719", .driver_data = (long)&edt_ft8719_data },
14891494
{ /* sentinel */ }
14901495
};
@@ -1500,6 +1505,7 @@ static const struct of_device_id edt_ft5x06_of_match[] = {
15001505
{ .compatible = "focaltech,ft5452", .data = &edt_ft5452_data },
15011506
/* Note focaltech vendor prefix for compatibility with ft6236.c */
15021507
{ .compatible = "focaltech,ft6236", .data = &edt_ft6236_data },
1508+
{ .compatible = "focaltech,ft8201", .data = &edt_ft8201_data },
15031509
{ .compatible = "focaltech,ft8719", .data = &edt_ft8719_data },
15041510
{ /* sentinel */ }
15051511
};

0 commit comments

Comments
 (0)