]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Input: edt-ft5x06 - add support for FocalTech FT8716
authorJens Reidel <adrian@mainlining.org>
Thu, 13 Mar 2025 20:20:17 +0000 (21:20 +0100)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 1 Jul 2025 18:44:27 +0000 (11:44 -0700)
This driver is compatible with the FocalTech FT8716 touchscreen, which
supports up to 10 concurrent touch points. Add a compatible for it.

Signed-off-by: Jens Reidel <adrian@mainlining.org>
Link: https://lore.kernel.org/r/20250313202017.19621-3-adrian@mainlining.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/edt-ft5x06.c

index abc5bbb5c8c9c53859c094e8e6153d0a5f22ad22..bf498bd4dea9651ac939fe137b1c0f05e8557962 100644 (file)
@@ -1491,6 +1491,10 @@ static const struct edt_i2c_chip_data edt_ft8201_data = {
        .max_support_points = 10,
 };
 
+static const struct edt_i2c_chip_data edt_ft8716_data = {
+       .max_support_points = 10,
+};
+
 static const struct edt_i2c_chip_data edt_ft8719_data = {
        .max_support_points = 10,
 };
@@ -1503,6 +1507,7 @@ static const struct i2c_device_id edt_ft5x06_ts_id[] = {
        /* Note no edt- prefix for compatibility with the ft6236.c driver */
        { .name = "ft6236", .driver_data = (long)&edt_ft6236_data },
        { .name = "ft8201", .driver_data = (long)&edt_ft8201_data },
+       { .name = "ft8716", .driver_data = (long)&edt_ft8716_data },
        { .name = "ft8719", .driver_data = (long)&edt_ft8719_data },
        { /* sentinel */ }
 };
@@ -1519,6 +1524,7 @@ static const struct of_device_id edt_ft5x06_of_match[] = {
        /* Note focaltech vendor prefix for compatibility with ft6236.c */
        { .compatible = "focaltech,ft6236", .data = &edt_ft6236_data },
        { .compatible = "focaltech,ft8201", .data = &edt_ft8201_data },
+       { .compatible = "focaltech,ft8716", .data = &edt_ft8716_data },
        { .compatible = "focaltech,ft8719", .data = &edt_ft8719_data },
        { /* sentinel */ }
 };