Re: [PATCH 1/2] Input: goodix - support gt1151 touchpanel

Started by Rob Herring on Oct 12, 2017

open the first message on its own page

Message details and related content
On Thu, Oct 12, 2017 at 10:04 AM, Marcin Niestroj
[off-list ref] wrote:
Support was added based on Goodix GitHub repo [1]. There are two major
differences between gt1151 and currently supported devices (gt9x):
 * CONFIG_DATA register has 0x8050 address instead of 0x8047,
 * config data checksum has 16-bit width instead of 8-bit.

Also update goodix_i2c_test() function, so it reads ID register (which
has the same address for all devices) instead of CONFIG_DATA (because
its address is known only after reading ID of the device).

[1] https://github.com/goodix/gt1x_driver_generic

Signed-off-by: Marcin Niestroj <redacted>
---
Patch was developed and tested on top of 4.14-rc4 using custom board.

 .../bindings/input/touchscreen/goodix.txt          |  3 +-
Acked-by: Rob Herring <redacted>
 drivers/input/touchscreen/goodix.c                 | 88 +++++++++++++++++-----
 2 files changed, 70 insertions(+), 21 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help