summaryrefslogtreecommitdiff
path: root/syna_tcm2_platform_spi.c
AgeCommit message (Collapse)Author
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-03-02synaptics: report major and minor in display pixelsdavidycchen
Read the resolution from device tree and report touch major and minor in display pixels. Bug: 221383103 Test: adb shell getevelt -lt Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: I17f095509c36501f65f3428f98a6fb10328d40d9
2022-01-25synaptics: support touch offloaddavidycchen
Add touch offload to upsteam the touch heatmap. Bug: 199104316 Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: I96177718ec42d8c55867d35f27789e627cc46292 Signed-off-by: davidycchen <davidycchen@google.com>
2021-10-21synaptics: support panel map device treedavidycchen
Support panel map to recognize different panel. Bug: 203479046 Test: Touch driver can recognize different panel. Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: If762d3a2757605c78dcf75ea60a24356e7b8c6a6
2021-09-28synaptics: set touch spi thread as a real time threaddavidycchen
The spi thread might be preempted by other tasks when the system is busy. Set touch spi thread as a real time thread to prevent it from too much delay. Bug: 199104450. Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: I748a0ef5df2ddd7ce389ca2e11625032fb69cb89
2021-09-08synaptics: add raw data information for sysfs cammandsdavidycchen
Add raw data for sysfs cammands output. Use scnprintf instead of snprintf for security. Bug: 199009920 Test: test following commands cat /sys/class/spi_master/spi0/spi0.0/synaptics_tcm.0/sysfs/testing/pt01 cat /sys/class/spi_master/spi0/spi0.0/synaptics_tcm.0/sysfs/testing/pt05 cat /sys/class/spi_master/spi0/spi0.0/synaptics_tcm.0/sysfs/testing/pt0a Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: If8d03e5131ab622505e137d11ea81dea4c9d8de8
2021-09-08synaptics: add initial driverdavidycchen
Initial driver provided by Synaptics. Bug: 198228556 Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: I471eda97a2b2e06a4dd9328e69c71d5f8e8fdc93