Commit b9a1c116 authored by Yannick Fertre's avatar Yannick Fertre Committed by Dmitry Torokhov

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: default avatarYannick Fertre <yannick.fertre@st.com>
Reviewed-by: default avatarBastien Nocera <hadess@hadess.net>
Link: https://lore.kernel.org/r/1583144308-3781-3-git-send-email-yannick.fertre@st.comSigned-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent ec7f23e1
...@@ -160,6 +160,7 @@ static const struct goodix_chip_id goodix_chip_ids[] = { ...@@ -160,6 +160,7 @@ static const struct goodix_chip_id goodix_chip_ids[] = {
{ .id = "928", .data = &gt911_chip_data }, { .id = "928", .data = &gt911_chip_data },
{ .id = "912", .data = &gt967_chip_data }, { .id = "912", .data = &gt967_chip_data },
{ .id = "9147", .data = &gt967_chip_data },
{ .id = "967", .data = &gt967_chip_data }, { .id = "967", .data = &gt967_chip_data },
{ } { }
}; };
...@@ -1398,6 +1399,7 @@ static const struct of_device_id goodix_of_match[] = { ...@@ -1398,6 +1399,7 @@ static const struct of_device_id goodix_of_match[] = {
{ .compatible = "goodix,gt911" }, { .compatible = "goodix,gt911" },
{ .compatible = "goodix,gt9110" }, { .compatible = "goodix,gt9110" },
{ .compatible = "goodix,gt912" }, { .compatible = "goodix,gt912" },
{ .compatible = "goodix,gt9147" },
{ .compatible = "goodix,gt917s" }, { .compatible = "goodix,gt917s" },
{ .compatible = "goodix,gt927" }, { .compatible = "goodix,gt927" },
{ .compatible = "goodix,gt9271" }, { .compatible = "goodix,gt9271" },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment