Age | Commit message (Collapse) | Author |
|
The GPIO may be invalid when this module loads before pinctrl module
so return EPROBE_DEFER for retry.
Bug: 263205231
Test: no kernel panic
Change-Id: Ibe4910ce2015ab464faf3ee35b4fb06524a6512a
Signed-off-by: davidycchen <davidycchen@google.com>
|
|
Introduce proc to resolve the sysfs PAGE_SIZE limitation.
Bug: 262796907
Change-Id: I2c2c12f8360fc46895416efd7d94d5e1e7570546
Signed-off-by: Super Liu <supercjliu@google.com>
|
|
Bug: 177329320
Test: Wakeup gesture works properly
Change-Id: I233c4c89a985b9279a0833c734c834a262eabe22
Signed-off-by: Wendly Li <wendlyli@google.com>
|
|
SBMerger: 478053055
Change-Id: I50475725b619b4ee7146460e524e59a42985bc66
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
SBMerger: 478053055
Change-Id: I772a824b4676fe21c87103d1d576c31e77c7102d
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Bug: 261924220
Change-Id: I99ace4cb0764330c50f8e9418a3dca0699a86802
Signed-off-by: Super Liu <supercjliu@google.com>
|
|
SBMerger: 478053055
Change-Id: I4dc20c98462b63a81ded02880666ec40e9d4cb89
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
SBMerger: 478053055
Change-Id: Ibf6dc5365bf79d348897f98a6cc2c4e4e91cebd6
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Bug: 261924220
Change-Id: I99ace4cb0764330c50f8e9418a3dca0699a86802
Signed-off-by: Super Liu <supercjliu@google.com>
|
|
Bug: 260174400
Change-Id: Ie144521ec045d7cda4f3cfc7c09e98c39bda2723
Signed-off-by: Robin Peng <robinpeng@google.com>
|
|
Change-Id: I9ab0f2f66a726579a2f49016cceba1fbc413b9b1
Signed-off-by: Ravi Jain <raviajain@google.com>
|
|
Bug: 260174400
Change-Id: I3fe7032066679a29b20d7a031a53a4fd22f39f95
Signed-off-by: Robin Peng <robinpeng@google.com>
|
|
Bug: 261127820
Test: Verify pass by checking the log information including gti.0/gti.1
Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: I63ef469c30b28a7915f8a46d25827c85933bd83a
|
|
Bug: 261127820
Test: Verify pass by checking the log information including gti.0/gti.1
Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: I63ef469c30b28a7915f8a46d25827c85933bd83a
|
|
1. Merged resume and suspend work to update_state_work.
2. Modified wakelock logic to not require use of cancel_work_sync.
3. Added error_handling to wakelock calls.
4. Replaced use of completion bit to use of flush_workqueue in wakelock.
Test: Tested on L10 and T6 for resume/suspend.
Bug: 230827813
Change-Id: Ife27f2ea03aa578a40c14496340b84ff5533ab42
Signed-off-by: Ravi Jain <raviajain@google.com>
|
|
1. Merged resume and suspend work to update_state_work.
2. Modified wakelock logic to not require use of cancel_work_sync.
3. Added error_handling to wakelock calls.
4. Replaced use of completion bit to use of flush_workqueue in wakelock.
Test: Tested on F10 for resume/suspend.
Bug: 230827813
Change-Id: Ife27f2ea03aa578a40c14496340b84ff5533ab42
Signed-off-by: Ravi Jain <raviajain@google.com>
|
|
Fix errors caused by offload_report when device is going to suspend.
Test: Flashed on L10 to check suspend/resume operations
Bug: 260946570
Change-Id: I9460c7f4a8656abfd90aea0b0db015a236a2cd06
Signed-off-by: Ravi Jain <raviajain@google.com>
|
|
Fix errors caused by offload_report when device is going to suspend.
Test: Flashed on L10 to check suspend/resume operations
Bug: 260946570
Change-Id: I9460c7f4a8656abfd90aea0b0db015a236a2cd06
Signed-off-by: Ravi Jain <raviajain@google.com>
|
|
To protect the interrupt and userspace commands read the heatmap
simultaneously.
Bug: 260785497
Test: read heatmap by adb commands.
Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: I7b54997d7d3edc7c9ea73a37d4045c5b3803d1a8
(cherry picked from commit 8445f5d91ab1f7b066057d39b46918b13493c2c4)
|
|
android13-gs-pixel-5.10-tm-qpr3" into android13-gs-pixel-5.10-tm-qpr3
|
|
SBMerger: 478053055
Change-Id: Ie8479bc1e1e9427e0e7d7bbcd8f8b73f9059795b
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
SBMerger: 478053055
Change-Id: Ia9233ba10943b73b42d7ff39164ccd26d066ead5
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
1.Add a new line after showing SS data.
2.Correct the remain maximum number of bytes when call scnprintf().
Bug: 226475119
Test: Verify pass by checking the SS data format in the touch dumpstate.
Change-Id: Ib574635e3a8131da98f4b70578bb7ab80b06df1d
Signed-off-by: Mason Wang <masonwang@google.com>
|
|
SBMerger: 478053055
Change-Id: Ib8ef1aabeba6027cfd77a50a3c51da77f0fda75d
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
To protect the interrupt and userspace commands read the heatmap
simultaneously.
Bug: 260785497
Test: read heatmap by adb commands.
Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: I7b54997d7d3edc7c9ea73a37d4045c5b3803d1a8
|
|
The display driver has new power control design for refresh rate, clock
and bus. So panel_bridge_enable/panel_bridge_disable will be called
frequently. But the touch driver only needs to handle display state if
changed.
Bug: 253330479
Test: Build pass.
Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: Ide46b623c51240fed0755b123c7ff9026b15e040
|
|
1.Add a new line after showing SS data.
2.Correct the remain maximum number of bytes when call scnprintf().
Bug: 226475119
Test: Verify pass by checking the SS data format in the touch dumpstate.
Change-Id: Ib574635e3a8131da98f4b70578bb7ab80b06df1d
Signed-off-by: Mason Wang <masonwang@google.com>
|
|
The display driver has new power control design for refresh rate, clock
and bus. So panel_bridge_enable/panel_bridge_disable will be called
frequently. But the touch driver only needs to handle display state if
changed.
Bug: 253330479
Test: Build pass.
Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: Ide46b623c51240fed0755b123c7ff9026b15e040
|
|
To protect the interrupt and userspace commands read the heatmap
simultaneously.
Bug: 260785497
Test: read heatmap by adb commands.
Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: I7b54997d7d3edc7c9ea73a37d4045c5b3803d1a8
|
|
Bug: 260173634
Change-Id: Ifeda0340b36d2a96e8a3a53ce7ef7aa2acc14816
Signed-off-by: Robin Peng <robinpeng@google.com>
|
|
The register_chrdev and cdev_add will both add cdev device. They can't
be used at the same time. This code will cause a race condition as well.
When register_chrdev and device_create were run and before running
cdev_add, the char devcie already can be opened. But we can't get
correct offload context inside touch_offload_open at this moment. We can
only get correct offload context after running cdev_add. So this is a
race condition. If twoshay open offload dev before running cdev_add, the
code will use an invalid pointer to run mutex_init.
So we must run cdev_add before device_create. This can prevent the code
to access an invalid pointer.
Bug: 255257453
Bug: 237225174
Test: Run setprop ctl.stop twoshay ; rmmod touch_driver ;
setprop ctl.start twoshay ; insmod touch_driver
Change-Id: I8d9cb9ec23b8621a800127f0140e40a11d4f5e02
Signed-off-by: Wendly Li <wendlyli@google.com>
|
|
Bug: 255257453
Test: Run rmmod touch_driver && insmod touch_driver.ko
Change-Id: I6023f1add1ce8624f76caf16ea78e906fba763d0
Signed-off-by: Wendly Li <wendlyli@google.com>
|
|
SBMerger: 478053055
Change-Id: Idd72399a6c263fc5cc99d826ba4f927277f2e55d
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
SBMerger: 478053055
Change-Id: I3a24114d6158f289907b7c637541cb0d0a3c503c
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Release all finger when the device suspends by GTI and also clear the
slots information.
Bug: 260020612
Test: suspend/resume the device.
Change-Id: I5b70b34d92028713813c45443ae3d2b133cb4f39
Signed-off-by: davidycchen <davidycchen@google.com>
|
|
Release all finger when the device suspends by GTI and also clear the
slots information.
Bug: 260020612
Test: suspend/resume the device.
Change-Id: I5b70b34d92028713813c45443ae3d2b133cb4f39
Signed-off-by: davidycchen <davidycchen@google.com>
|
|
Release all finger when the device suspends by GTI and also clear the
slots information.
Bug: 260020612
Test: suspend/resume the device.
Change-Id: I5b70b34d92028713813c45443ae3d2b133cb4f39
Signed-off-by: davidycchen <davidycchen@google.com>
|
|
Bug: 260173634
Change-Id: If6ed9302b2476c35d315d8ef41daf721573d2c54
Signed-off-by: Robin Peng <robinpeng@google.com>
|
|
Change-Id: I477b406d85145f0f3934097cf294699263f6fa00
|
|
Bug: 256086224
Test: build pass
Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: Ie3e64afc099c5987621f658863757801b5d93cc1
|
|
SBMerger: 478053055
Change-Id: I13d968ab5dcf1052b450d8758863c07e0e3ce7c1
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
SBMerger: 478053055
Change-Id: I6094159d75936e4fe8bb1d189adaa2e4b9288f89
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Modify grip_enabled and palm_enabled respectively.
Test: Use adb commands to check state change of fw_grip and fw_palm
while starting and stopping twoshay.
Bug: 245052175
Bug: 245053548
Signed-off-by: Ravi Jain <raviajain@google.com>
Change-Id: I0e2bd60e6e8e40fd8594f958648b8617e5ccb48f
|
|
Modify grip_enabled and palm_enabled respectively.
Test: Use adb commands to check state change of fw_grip and fw_palm
while starting and stopping twoshay.
Bug: 245052175
Bug: 245053548
Signed-off-by: Ravi Jain <raviajain@google.com>
Change-Id: I0e2bd60e6e8e40fd8594f958648b8617e5ccb48f
|
|
android13-gs-pixel-5.10-udc" into android13-gs-pixel-5.10-udc
|
|
To verify the value of aoc2ap_gpio again when TBN operation is timeout
to judge the AP requests/releases bus successfully or not.
Bug: 257076750
Test: Basic touch operation and wake-up gesture are working well
Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: I5a895b9360c7abbb7b9b502862a1212ca2e7175a
Merged-In: I5a895b9360c7abbb7b9b502862a1212ca2e7175a
(cherry picked from commit 4b8c9ca83c5bb67a05d138959dc4c2d8314d9e32)
|
|
SBMerger: 478053055
Change-Id: I903fac0460191182c1c865ba36aa421f1244debd
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
SBMerger: 478053055
Change-Id: I50b13f1ea8bdef8eb97a7e7834623c42fc45f391
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
To verify the value of aoc2ap_gpio again when TBN operation is timeout
to judge the AP requests/releases bus successfully or not.
Bug: 257076750
Test: Basic touch operation and wake-up gesture are working well
Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: I5a895b9360c7abbb7b9b502862a1212ca2e7175a
|
|
Using GTI_FW_STATUS_XXX instead of GTI_FW_STATUE_XXX
Bug: 256987566
Test: Build pass
Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: I689d09f7ba66323f7f95d8445c8922eaf88cb3f5
|