summaryrefslogtreecommitdiff
path: root/tcm/synaptics_touchcom_core_dev.h
AgeCommit message (Collapse)Author
2022-06-10synaptics: support dynamic grip configurationdavidycchen
Bug: 235176060 Test: Touch is working fine. Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: I8a5d2403db297cbf4c30655d64066c477c0b244f
2022-05-11synaptics: Support touch orientationdavidycchen
Update the vendor driver to v1.2.7 to support touch orientation and google defined major/minor. Add the touch offload capability for orientation. Bug: 227402881. Test: Check the touch reports by getevent. Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: I42277e0e717b22c56ec0482fcb42c962b1d910d7
2022-05-06synaptics: dynamic change the touch report ratedavidycchen
Dynamic change the touch report rate depending on the display refresh rate. Bug: 222217451 Test: Switch the display refresh rate while finger is sliding without issue. Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: Ia258208d644ef2b0c94b3a2296e5d8253cae1774
2022-03-15synaptics: support to confiure heatmap compression thresholddavidycchen
Read the heatmap compression threshold from the device tree and add an attribute for debugging. Bug: 223101478 Test: Be able to configure the compression threshold by attribute. Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: Ia3d7f4efd3894d304e43f76224dd1d89f83a658a
2022-03-07synaptics: support finger leaves event for UDFPSdavidycchen
Bug: 220992096 Test: LHBM is off right after finger leaves. Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: Ibc4fda47f8c3faca57b03b8a675e271c8051baa9
2022-02-21synaptics: enable continuously touch reportingdavidycchen
Support dynamic changing motion filter status and continuously report touch coordinates and heatmap for 500ms when there is only one finger on the screen. Bug: 199104356. Test: Motion filter status is correct for single finger and multiple fingers. Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: I428f1b9d91779f6fe5376bd38980513f33fa4d8d
2022-02-21synaptics: support to enable/disable the firmware grip and plam modedavidycchen
Support to enable/disable the firmware grip/palm by sysfs node and dynamically change the mode depending on offload_running status. Bug: 199104316 Test: write sysfs node and check if the mode changing correctly. Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: I00318352b1146210ed582265f4c82c386f228e4b
2021-12-29synaptics: support touch high sensitivity modedavidycchen
Add an attribute to set the touch high sensitivity mode. Bug: 199104397 Test: Read/Write the attribute. Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: Ib173355258a96d53737676b3aca51e939ef201ea
2021-12-21synaptics: synaptics: update driver version to 0118davidycchen
Support two more testing - PID$12: Abs. Raw - PID$16: Trans Cap. Raw Correct the sequence of suspend-reset especially RESET_ON_RESUME enabled. Sample code to parse the custom gesture data. Enable RESET_ON_RESUME in default. Bug: 211379827 Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: I888d0c68aa53020eb0e153105920b0fed133d8cb
2021-11-29synaptics: update driver version to 0115davidycchen
Update core lib. to 1.21 Bugs fixed. Have a callback to handle unexpected identify report generated from firmware. Able to handle the extra CRC bytes. Have the helper thread support. - Enable 'ENABLE_HELPER' if willing to activate this feature. - Have a sample code to start a helper task when an unexpected reset is detected. Set device into bootloader mode if failing to set up app fw. Support custom 'fw status' report ($c2). Add the implementations of custom gesture. - 'ENABLE_WAKEUP_GESTURE' is disabled in default. Enable if willing to enter LPWG mode in suspend. Bug: 208162255 Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: Idfd45502293aa6fa42b8602a9bc663cb85301a45
2021-11-29synaptics: update driver version to 0113davidycchen
Support heatmap report type. Bug: 199104316 Test: Successfully get heatmap from touch. Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: I7bd82cac345d753a0f5b182057fd68c3fb045333
2021-11-26synaptics: support to get touch raw data from sysfs nodedavidycchen
Bug: 199104466 Test: cd /sys/class/spi_master/spi0/spi0.0/synaptics_tcm.0/sysfs echo 12 > get_raw_data; cat get_raw_data Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: If6d2bed19af2b069439bea444ce21e4e923b5fff
2021-10-21synaptics: update dirver verison to 0112davidycchen
New driver provided by vendor with following difference: 1. Update firmware with different config id. 2. Input device re-creation after firmware update. Bug: 199104450 Test: Touch is functional. Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: I91a82dd930c4fd9e202189f01332635913c959c1
2021-10-21synaptics: support lock scan mode commands and sysfs nodedavidycchen
Support these following lock scan mode commands: Lock Normal Mode Active Mode. Lock Normal Mode Doze Mode. Lock Low Power Gesture Mode Active Mode. Lock Low Power Gesture Mode Doze Mode. Bug: 198699855 Test: all these command sueccess. Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: I04b3a67d6cb6203820c4f3c044f1214c97cb00cc
2021-09-08synaptics: modify the driver to interrupt mode.davidycchen
Use interrupt mode instead of polling mode. Bug: 198228556 Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: I3bdba107165b7c95d8ce4696596a1604e27abda8
2021-09-08synaptics: add initial driverdavidycchen
Initial driver provided by Synaptics. Bug: 198228556 Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: I471eda97a2b2e06a4dd9328e69c71d5f8e8fdc93