summaryrefslogtreecommitdiff
path: root/syna_tcm2_testing.c
AgeCommit message (Collapse)Author
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-12-03synaptics: support bus reference bit for sysfs test nodedavidycchen
Bug: 208908278 Test: cat /sys/class/spi_master/spi0/spi0.0/synaptics_tcm.0/ sysfs/testing/pt05 Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: I171b9a8870363aa60ae8869e3279e90834b96f97
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: support 2 more test commandsdavidycchen
Reference test code provided by synaptics. Support the sensor speed test and ADC range test. Bug: 199009920 Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: I18e1b0c0f2fe5d05422c2ab2abfac14f8a14d927
2021-09-08synaptics: add initial driverdavidycchen
Initial driver provided by Synaptics. Bug: 198228556 Signed-off-by: davidycchen <davidycchen@google.com> Change-Id: I471eda97a2b2e06a4dd9328e69c71d5f8e8fdc93