mbox series

[RESEND,0/1] Add 9-bytes reports support for goodix TS

Message ID 20190916221602.715-1-jekhor@gmail.com (mailing list archive)
Headers show
Series Add 9-bytes reports support for goodix TS | expand

Message

Yauhen Kharuzhy Sept. 16, 2019, 10:16 p.m. UTC
This is re-send of previous patch from 10 Feb 2019, without of any
changes.

Following patch adds support for 9-bytes format of contact data reports
found in Lenovo YB1-X91L tablet (Yoga Book). Seems that this tablet has
GT9110 chip with custom firmware.

Here is dump of config data:
0x8040: xx xx xx xx xx xx xx 4e b0 04 80 07 0a 05 20 01
0x8050: c8 1e 05 41 2d 03 00 00 00 00 00 00 00 00 00 00
0x8060: 00 00 95 35 ff 14 16 e5 26 03 07 00 1b 03 11 00
0x8070: 00 00 00 0b 0f 07 12 03 00 00 0a 1e 54 c0 04 00
0x8080: 00 00 04 c3 0b 00 ac 0d 00 8e 11 00 7c 15 00 6d
0x8090: 1b 00 6c 00 00 00 00 00 00 00 00 00 00 00 00 00
0x80a0: 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 20
0x80b0: 00 00 00 00 00 50 00 1d 1c 1b 1a 19 18 17 16 15
0x80c0: 14 13 12 11 10 0f 0e 0d 0c 0b 0a 09 08 07 06 05
0x80d0: 04 03 02 01 00 2a 29 28 27 26 25 24 23 22 21 20
0x80e0: 1f 1e 1d 1c 1b 19 18 17 16 15 14 13 12 11 10 0f
0x80f0: 0e 0d 0c 0b 0a 09 08 07 06 05 04 03 02 01 00 fe
0x8100: 00

0x8140: 39 31 31 30 03 20 b0 04 80 07 00 00 00 04

I didn't find any way to reliable detect of format using only the config
data, so DMI check for machine name is used.

Yauhen Kharuzhy (1):
  goodix touchscreen: Add support for 9-bytes reports

 drivers/input/touchscreen/goodix.c | 58 +++++++++++++++++++++++++-----
 1 file changed, 50 insertions(+), 8 deletions(-)