Input: goodix - add support for Goodix GT9286 chip

commit 2dce6db70c upstream.

The Goodix GT9286 is a capacitive touch sensor IC based on GT1x.

This chip can be found on a number of smartphones, including the
F(x)tec Pro 1 and the Elephone U.

This has been tested on F(x)Tec Pro1 (MSM8998).

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Link: https://lore.kernel.org/r/20210109135512.149032-2-angelogioacchino.delregno@somainline.org
Reviewed-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
AngeloGioacchino Del Regno 2021-01-09 22:14:39 -08:00 committed by Greg Kroah-Hartman
parent 2ce5be67d1
commit b442912f67

View file

@ -157,6 +157,7 @@ static const struct goodix_chip_id goodix_chip_ids[] = {
{ .id = "5663", .data = &gt1x_chip_data }, { .id = "5663", .data = &gt1x_chip_data },
{ .id = "5688", .data = &gt1x_chip_data }, { .id = "5688", .data = &gt1x_chip_data },
{ .id = "917S", .data = &gt1x_chip_data }, { .id = "917S", .data = &gt1x_chip_data },
{ .id = "9286", .data = &gt1x_chip_data },
{ .id = "911", .data = &gt911_chip_data }, { .id = "911", .data = &gt911_chip_data },
{ .id = "9271", .data = &gt911_chip_data }, { .id = "9271", .data = &gt911_chip_data },
@ -1445,6 +1446,7 @@ static const struct of_device_id goodix_of_match[] = {
{ .compatible = "goodix,gt927" }, { .compatible = "goodix,gt927" },
{ .compatible = "goodix,gt9271" }, { .compatible = "goodix,gt9271" },
{ .compatible = "goodix,gt928" }, { .compatible = "goodix,gt928" },
{ .compatible = "goodix,gt9286" },
{ .compatible = "goodix,gt967" }, { .compatible = "goodix,gt967" },
{ } { }
}; };