summaryrefslogtreecommitdiff
path: root/goodix_ts_core.h
AgeCommit message (Collapse)Author
2023-10-11touch/goodix: Update logs tagandroid-u-qpr3-beta-2_r0.7android-u-qpr3-beta-2_r0.6android-u-qpr3-beta-2_r0.5android-u-qpr3-beta-2_r0.4android-u-qpr3-beta-2_r0.3android-u-qpr3-beta-2_r0.2android-u-qpr3-beta-2.1_r0.7android-u-qpr3-beta-2.1_r0.5android-u-qpr3-beta-2.1_r0.4android-u-qpr3-beta-2.1_r0.3android-u-qpr3-beta-2.1_r0.2android-u-qpr3-beta-2.1_r0.1android-u-qpr3-beta-1_r0.7android-u-qpr3-beta-1_r0.5android-u-qpr3-beta-1_r0.4android-u-qpr3-beta-1_r0.3android-u-qpr3-beta-1_r0.2android-u-qpr3-beta-1_r0.1android-u-qpr2-beta-3_r0.7android-u-qpr2-beta-3_r0.6android-u-qpr2-beta-3_r0.5android-u-qpr2-beta-3_r0.4android-u-qpr2-beta-3_r0.3android-u-qpr2-beta-3_r0.2android-u-qpr2-beta-3.1_r0.7android-u-qpr2-beta-3.1_r0.5android-u-qpr2-beta-3.1_r0.4android-u-qpr2-beta-3.1_r0.3android-u-qpr2-beta-3.1_r0.2android-u-qpr2-beta-3.1_r0.1android-u-qpr2-beta-2_r0.7android-u-qpr2-beta-2_r0.5android-u-qpr2-beta-2_r0.4android-u-qpr2-beta-2_r0.3android-u-qpr2-beta-2_r0.2android-u-qpr2-beta-2_r0.1android-15-dp-2_r0.6android-15-dp-2_r0.5android-15-dp-2_r0.4android-15-dp-2_r0.3android-15-dp-2_r0.2android-15-dp-2_r0.1android-15-dp-1_r0.7android-15-dp-1_r0.5android-15-dp-1_r0.4android-15-dp-1_r0.3android-15-dp-1_r0.2android-15-dp-1_r0.1android-15-beta-3_r0.6android-15-beta-3_r0.5android-15-beta-3_r0.4android-15-beta-3_r0.3android-15-beta-3_r0.2android-15-beta-3_r0.1android-15-beta-2_r0.6android-15-beta-2_r0.5android-15-beta-2_r0.4android-15-beta-2_r0.3android-15-beta-2_r0.2android-15-beta-2_r0.1android-15-beta-1_r0.6android-15-beta-1_r0.5android-15-beta-1_r0.4android-15-beta-1_r0.3android-15-beta-1_r0.2android-15-beta-1_r0.1android-14.0.0_r0.97android-14.0.0_r0.96android-14.0.0_r0.95android-14.0.0_r0.94android-14.0.0_r0.93android-14.0.0_r0.92android-14.0.0_r0.76android-14.0.0_r0.75android-14.0.0_r0.74android-14.0.0_r0.73android-14.0.0_r0.72android-14.0.0_r0.71android-14.0.0_r0.66android-14.0.0_r0.65android-14.0.0_r0.64android-14.0.0_r0.63android-14.0.0_r0.62android-14.0.0_r0.61android-14.0.0_r0.56android-14.0.0_r0.55android-14.0.0_r0.54android-14.0.0_r0.53android-14.0.0_r0.52android-14.0.0_r0.51android-14.0.0_r0.105android-14.0.0_r0.104android-14.0.0_r0.103android-14.0.0_r0.102android-14.0.0_r0.101android-gs-tangorpro-5.10-android15-dpandroid-gs-tangorpro-5.10-android15-betaandroid-gs-tangorpro-5.10-android14-qpr3-betaandroid-gs-tangorpro-5.10-android14-qpr3android-gs-tangorpro-5.10-android14-qpr2-betaandroid-gs-tangorpro-5.10-android14-qpr2android-gs-raviole-5.10-android15-dpandroid-gs-raviole-5.10-android15-betaandroid-gs-raviole-5.10-android14-qpr3-betaandroid-gs-raviole-5.10-android14-qpr3android-gs-raviole-5.10-android14-qpr2-betaandroid-gs-raviole-5.10-android14-qpr2android-gs-pantah-5.10-android15-dpandroid-gs-pantah-5.10-android15-betaandroid-gs-pantah-5.10-android14-qpr3-betaandroid-gs-pantah-5.10-android14-qpr3android-gs-pantah-5.10-android14-qpr2-betaandroid-gs-pantah-5.10-android14-qpr2android-gs-lynx-5.10-android15-dpandroid-gs-lynx-5.10-android15-betaandroid-gs-lynx-5.10-android14-qpr3-betaandroid-gs-lynx-5.10-android14-qpr3android-gs-lynx-5.10-android14-qpr2-betaandroid-gs-lynx-5.10-android14-qpr2android-gs-felix-5.10-android15-dpandroid-gs-felix-5.10-android15-betaandroid-gs-felix-5.10-android14-qpr3-betaandroid-gs-felix-5.10-android14-qpr3android-gs-felix-5.10-android14-qpr2-betaandroid-gs-felix-5.10-android14-qpr2android-gs-bluejay-5.10-android15-dpandroid-gs-bluejay-5.10-android15-betaandroid-gs-bluejay-5.10-android14-qpr3-betaandroid-gs-bluejay-5.10-android14-qpr3android-gs-bluejay-5.10-android14-qpr2-betaandroid-gs-bluejay-5.10-android14-qpr2Super Liu
Bug: 242559052 Test: check logs on device Change-Id: I55c460a02649ab2d88bc49eb041a88782f4313f1 Signed-off-by: Super Liu <supercjliu@google.com>
2023-03-22Merge android14-gs-pixel-5.15 into android13-gs-pixel-5.10-udcWendly Li
Change-Id: I427a0434230761bc28f1dc4358d5f45b8887920f Signed-off-by: Wendly Li <wendlyli@google.com>
2023-03-14touch/goodix: Support for setting report rateWendly Li
Bug: 273148352 Test: Trun on/off smooth display in settings Change-Id: I27c4bcf6df89b52c1a38ce4c5e9ff03ee90f72f1 Signed-off-by: Wendly Li <wendlyli@google.com>
2023-03-09touch/goodix: Support coordinate filterWendly Li
Bug: 269560367 Test: Check coordinate filter works properly Change-Id: I2fbf972d1d67f3c28b090a9db1569e52e407c384 Signed-off-by: Wendly Li <wendlyli@google.com>
2023-03-07touch/goodix: Import v1.2.4 driverWendly Li
Bug: 269560367 Test: Check coordinate filter works properly Change-Id: I2b155400d630b313cf8017de853d2421b68283aa Signed-off-by: Wendly Li <wendlyli@google.com>
2023-03-07touch/goodix: Import v1.2.3 driverWendly Li
Bug: 269560367 Test: Check coordinate filter works properly Change-Id: I3e2da8cadd2ee07c3e3bcb4b69189559f63796de Signed-off-by: Wendly Li <wendlyli@google.com>
2023-03-07touch: goodix: Update report stylus eventRavi Jain
- Fix pen pressure algo - Report entry timestamp to input subsystem - Add systrace node Test: Tested by flashing locally Bug: 262478113 Bug: 263444046 Change-Id: I4fb791708b2893cb74ccdc050cb1732f96414b33 Signed-off-by: Ravi Jain <raviajain@google.com>
2023-02-22touch/goodix: fix double resetWendly Li
ESD check will fail on firmware reset. When ESD check is failed, it will reset firmware again. Skip ESD check to avoid double reset. Double reset may cause self-test failure and other unexpected issues. Bug: 267991839 Test: Check self-test works properly Change-Id: I17063445e71832077766d3d9aa3e6457f4b9e4b7 Signed-off-by: Wendly Li <wendlyli@google.com>
2023-02-07touch/goodix: Move heatmap read protection to GTIWendly Li
Bug: 262053705 Bug: 267991839 Test: check heatmap works properly Change-Id: I1a0dd4dc746037ad4f05e2734e73bce225af5ddd Signed-off-by: Wendly Li <wendlyli@google.com>
2023-01-06touch: goodix: Update report stylus eventandroid-13.0.0_r0.93android-13.0.0_r0.92android-13.0.0_r0.85android-13.0.0_r0.84android-13.0.0_r0.83android-13.0.0_r0.82android-13.0.0_r0.127android-13.0.0_r0.126android-13.0.0_r0.125android-13.0.0_r0.124android-13.0.0_r0.123android-13.0.0_r0.121android-13.0.0_r0.117android-13.0.0_r0.116android-13.0.0_r0.115android-13.0.0_r0.114android-13.0.0_r0.113android-13.0.0_r0.112android-13.0.0_r0.107android-13.0.0_r0.106android-13.0.0_r0.105android-13.0.0_r0.104android-13.0.0_r0.103android-13.0.0_r0.100android-gs-tangorpro-5.10-android13-qpr3android-gs-raviole-5.10-android13-qpr3android-gs-pantah-5.10-android13-qpr3android-gs-lynx-5.10-android13-qpr3android-gs-felix-5.10-android13-qpr3-candroid-gs-felix-5.10-android13-qpr3android-gs-felix-5.10-android13-d3android-gs-bluejay-5.10-android13-qpr3Ravi Jain
- Fix pen pressure algo - Report entry timestamp to input subsystem - Add systrace node Test: Tested by flashing locally Bug: 262478113 Bug: 263444046 Change-Id: I4fb791708b2893cb74ccdc050cb1732f96414b33 Signed-off-by: Ravi Jain <raviajain@google.com>
2022-11-30touch/goodix: Import v1.2.2 driverWendly Li
Bug: 260835421 Test: Check one bin and two bin work properly Change-Id: I628ca6da4e33315da5489888d7c0d6617541bdb5 Signed-off-by: Wendly Li <wendlyli@google.com>
2022-11-21touch: goodix: fix read/writes when dma-mode isn't supported.Ravi Jain
Test: Tested in both mode dma enabled and disabled. Bug: 254364041 Change-Id: I373ccd07ece3993f16d003bed2dbce607ce863c7 Signed-off-by: Ravi Jain <raviajain@google.com>
2022-11-02touch/goodix: Import v1.1.4 driverWendly Li
Bug: 255896624 Test: echo fw_update > /proc/goodix_ts/driver_test Change-Id: Ic7b0dae0e4b1456ff23b580b3f90872045e922cf Signed-off-by: Wendly Li <wendlyli@google.com>
2022-10-27Merge android13-gs-pixel-5.10-tm-qpr1 into android13-gs-pixel-5.10-tm-qpr2Robin Peng
Bug: 255246572 Change-Id: I386fa3d0252cf608f7caa344a580c1af61e13404 Signed-off-by: Robin Peng <robinpeng@google.com>
2022-10-11touch/goodix: Use different test limits for different panelWendly Li
Bug: 250922105 Test: echo auto_test > /proc/goodix_ts/driver_test Change-Id: I9dcdef8e689a7c7d0de83bdab9240046ba8fedcf Signed-off-by: Wendly Li <wendlyli@google.com>
2022-09-29touch/goodix: Import v1.1.3 driverWendly Li
Bug: 249448774 Test: touch works properly Change-Id: Ie98e58fe9f5c53f068351541d86f7ad3c28e71cb Signed-off-by: Wendly Li <wendlyli@google.com>
2022-09-23Merge "touch: goodix: Fix building errors when disabling GTI" into ↵Wendly Li
android13-gs-pixel-5.10-tm-qpr1
2022-09-22touch: goodix: Added proc command to get stylus dataRavi Jain
Test: Tested locally via adb commands. Bug: 248179858 Signed-off-by: Ravi Jain <raviajain@google.com> Change-Id: I783b7efc997833ead6556b816297c850d3aa5db0
2022-09-21touch: goodix: Fix building errors when disabling GTIWendly Li
Bug: 246200605 Test: Build successfully Change-Id: I13601ae0e0d5e494415eb5a2ee1fc7d2c5d82b7f Signed-off-by: Wendly Li <wendlyli@google.com>
2022-09-15touch/goodix: Migrate pm qos into GTI.Super Liu
Bug: 201610482 Signed-off-by: Super Liu <supercjliu@google.com> Change-Id: Icedc06418c52c994b263bb51d06504637c257453
2022-09-05touch/goodix: Import v1.1.1 driverWendly Li
Bug: 245028037 Test: Check esd checker will not be enabled when device is suspended Change-Id: I64268295f8373b95864dd4fa8bdebe0579ffed81 Signed-off-by: Wendly Li <wendlyli@google.com>
2022-09-05touch/goodix: Import v1.1.0 driverWendly Li
Bug: 243908592 Test: Check FATP APIs work peoprly Change-Id: Id853e7e44eae8e6b62b1fad3812d71677a0cd575 Signed-off-by: Wendly Li <wendlyli@google.com>
2022-08-15touch/goodix: Support MS, SS and selftest for gtiWendly Li
Bug: 214118904 Test: Check dumpstate works properly Change-Id: I8a94def8811b2ea34b80e47affac8b50b615eecc Signed-off-by: Wendly Li <wendlyli@google.com>
2022-07-26touch/goodix: Import v1.0.13 driverWendly Li
Bug: 214118902 Test: Check fw updating works peoprly Change-Id: If1aca9955515a1d8ae71e302c14313c0eee97f66 Signed-off-by: Wendly Li <wendlyli@google.com>
2022-07-25touch/goodix: Fix the unit of major and minorWendly Li
Bug: 214118815 Test: Check the size of major/minor is correct Change-Id: If6a86e194a7ee9f1818573694813433c4740e613 Signed-off-by: Wendly Li <wendlyli@google.com>
2022-07-21touch/goodix: Support finger leaves event for UDFPS.Wendly Li
Bug: 214118944 Bug: 239381635 Test: LHBM is off right after LPTW finger leaves. Change-Id: I95615fc8b75d15db41765d9320aa68d9d016e1a2 Signed-off-by: Wendly Li <wendlyli@google.com>
2022-07-04touch/goodix: Enable gti pm and tbnWendly Li
Bug: 214118944 Test: Be able to wake up device by gestures. Change-Id: I90f6b6ead33a2c26e1631a7c5df525121fc28255 Signed-off-by: Wendly Li <wendlyli@google.com>
2022-06-24goodix: Fix data racingWendly Li
Bug: 229036434 Test: Be able to get fw version Change-Id: Idd2f8701fa7b984564f9df379f49eb23c8015b19 Signed-off-by: Wendly Li <wendlyli@google.com>
2022-06-24goodix: Support screen protector modeWendly Li
Bug: 214118813 Bug: 214118988 Test: Be able to set/get screen protector mode Change-Id: Id9464c4d565f9d104ef8e1a83cb3f80aa17b6828 Signed-off-by: Wendly Li <wendlyli@google.com>
2022-06-24goodix: Support palm and grip configurationsWendly Li
Bug: 214118830 Bug: 214118809 Test: Check fw palm and grip works fine and can be switched Change-Id: Ie7ccd450931ed709c35f7f1ebae156d845ea723b Signed-off-by: Wendly Li <wendlyli@google.com>
2022-06-21goodix: Import v1.0.12 driverWendly Li
Bug: 214118830 Bug: 214118809 Bug: 214118815 Bug: 214118947 Bug: 235776127 Test: Check fw palm and grip works fine and can be switched Test: Check the resolution of pressure is correct Test: Check noise reporting works Test: Check get_package_id works Change-Id: I8e30f09806adb65aaaad2c042c8752d42e4bb23b Signed-off-by: Wendly Li <wendlyli@google.com>
2022-06-14goodix: Import v1.0.11 driverWendly Li
Bug: 214118830 Bug: 214118809 Test: Check fw palm and grip works fine and can be switched Change-Id: I9cfb53fc671a073c802663ee89227ab09d3b783e Signed-off-by: Wendly Li <wendlyli@google.com>
2022-06-07Import v1.0.10 driverWendly Li
Bug: 214118837 Test: Check heatmap works Change-Id: Id7e23480bd7a6b1e38c493ad54cf362106ee43c1 Signed-off-by: Wendly Li <wendlyli@google.com>
2022-05-31goodix: add cpu_latency_qos_update_requestWendly Li
Bug: 214118903 Change-Id: I6a274aea1c8c95b05b4e60ecccdeae67a0b8e9ef Signed-off-by: Wendly Li <wendlyli@google.com>
2022-05-24goodix: Enable GTIWendly Li
Bug: 214118837 Test: Check offload and v4l are working Change-Id: I67142e75581658df125d549759501353f06462ac Signed-off-by: Wendly Li <wendlyli@google.com>
2022-05-24goodix: Support reading mutual and self sensing dataWendly Li
Bug: 214118837 Test: Check driver can read mutual and self sensing data Change-Id: Id4afa4c902dc0bc3310467387fc6f7f4f2af4498 Signed-off-by: Wendly Li <wendlyli@google.com>
2022-05-24goodix: Import v1.0.8 driverWendly Li
Bug: 214118837 Test: Check heatmap works Change-Id: Iabf7fcff4183f4bdfae4622765bba795fc8a01a0 Signed-off-by: Wendly Li <wendlyli@google.com>
2022-05-11goodix: Import v1.0.6 driverWendly Li
Bug: 214118837 Test: Check gesture and heatamp work well Change-Id: I3eb304c2802bb2122871497dfaf38093cb71e242 Signed-off-by: Wendly Li <wendlyli@google.com>
2022-05-06goodix: Import v1.0.5 driverWendly Li
Bug: 214118944 Test: Be able to wake up device by gestures. Change-Id: Ie499faa169a9b395c89a7e3e6bd3238a133fd0e0 Signed-off-by: Wendly Li <wendlyli@google.com>
2022-03-28Support reporting timestampWendly Li
Bug: 214118926 Test: Check timestamp is correct Change-Id: Ia296c41eb35f029f1098d75cff738675b1cbf06b Signed-off-by: Wendly Li <wendlyli@google.com>
2022-03-28Add motion filter modeWendly Li
Bug: 214118990 Test: Check mf_mode works properly Change-Id: I4dca2a71a396e7cff1cd5b7cc4d728a15312b8a9 Signed-off-by: Wendly Li <wendlyli@google.com>
2022-03-25Import v1.0.4 driverxulinkun
- Add new sleep mode - Support reading scan mode - Support major, minor, orientation Bug: 214118944 Test: test the new sleep works properly Change-Id: I0a3888d7d4639948eb9972a934485de97eee5268 Signed-off-by: Wendly Li <wendlyli@google.com>
2022-02-25Support normal active/idle modeWendly Li
Bug: 214118804 Test: Check API works properly Change-Id: Ieab54a2443b0b158442139a75766b064f8171a85 Signed-off-by: Wendly Li <wendlyli@google.com>
2022-02-23Import v1.0.3 driverWendly Li
- Improve test APIs - Fix set_scan_mode API - Add continue mode API Bug: 214118804 Test: Check APIs works properly Change-Id: I0610c41fac5bc38758fde1221fe1602bbfa7595c Signed-off-by: Wendly Li <wendlyli@google.com>
2022-02-15Register touch power managerWendly Li
Bug: 214118711 Test: Check suspend and resume works when display on/off Signed-off-by: Wendly Li <wendlyli@google.com> Change-Id: Iff62c310c419891850c25555c238818182ecc010
2022-02-11Add APIs for factoryWendly Li
Bug: 214118886 Bug: 216386146 Bug: 216578458 Test: check sysfs works properly Change-Id: I51f83d192a9068ec2cdb93300a5834b839839aa1 Signed-off-by: Wendly Li <wendlyli@google.com>
2022-01-21Avoid allocating memory frequentlyWendly Li
Bug: 214118883 Test: Check memory allocation Change-Id: I97ef74a66e1b9d3304979e221a469c9dc97aea02 Signed-off-by: Wendly Li <wendlyli@google.com>
2022-01-21Import v1.0.2 driverWendly Li
- Add APIs for factory requirements Bug: 214118804 Test: Check APIs is ready Change-Id: I7de3d63c7b38142cbedf84f8a836634a958f6c3a Signed-off-by: Wendly Li <wendlyli@google.com>
2022-01-21Fix pinctrl is not activeWendly Li
- Support switching pinctrl state - Switch pinctrl state to active when the device is power on - Switch pinctrl state when touch resume or suspend Bug: 214018056 Bug: 214118475 Test: Check getevent works properly Change-Id: I00f9d4724bd07a5c83aaf313ab891429c48426f9 Signed-off-by: Wendly Li <wendlyli@google.com>
2022-01-21Import v1.0.0 driverWendly Li
Bug: 214018056 Bug: 214118475 Change-Id: I34f2afbc46ad1e4ac025cf199f323cf09e27ddec Signed-off-by: Wendly Li <wendlyli@google.com>