Skip to content

Commit b9a1c11

Browse files
YFESTMdtor
authored andcommitted
Input: goodix - support gt9147 touchpanel
Add support for it by adding compatible and supported chip data (default settings used). The chip data on GT9147 is similar to GT912, like - config data register has 0x8047 address - config data register max len is 240 - config data checksum has 8-bit Signed-off-by: Yannick Fertre <[email protected]> Reviewed-by: Bastien Nocera <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent ec7f23e commit b9a1c11

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/input/touchscreen/goodix.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ static const struct goodix_chip_id goodix_chip_ids[] = {
160160
{ .id = "928", .data = &gt911_chip_data },
161161

162162
{ .id = "912", .data = &gt967_chip_data },
163+
{ .id = "9147", .data = &gt967_chip_data },
163164
{ .id = "967", .data = &gt967_chip_data },
164165
{ }
165166
};
@@ -1398,6 +1399,7 @@ static const struct of_device_id goodix_of_match[] = {
13981399
{ .compatible = "goodix,gt911" },
13991400
{ .compatible = "goodix,gt9110" },
14001401
{ .compatible = "goodix,gt912" },
1402+
{ .compatible = "goodix,gt9147" },
14011403
{ .compatible = "goodix,gt917s" },
14021404
{ .compatible = "goodix,gt927" },
14031405
{ .compatible = "goodix,gt9271" },

0 commit comments

Comments
 (0)