Age | Commit message (Collapse) | Author |
|
Add log to detect unexpected touch-ic watchdog timer reset
Bug: 245454412
Change-Id: Ib1148c25813f3dd881a4a4a7b7e1863f07e124fb
Signed-off-by: Varad Gokhale <gokv@google.com>
|
|
Bug: 255246572
Change-Id: Id823b12728edd80f6dbd90dc7fc663e593bcdb86
Signed-off-by: Robin Peng <robinpeng@google.com>
Merge remote-tracking branch 'partner/android13-gs-pixel-5.10-tm-qpr2' into HEAD
|
|
Bug: 238399460
Signed-off-by: Lucas Wei <lucaswei@google.com>
Change-Id: I83ffae2095a1e2b53e59cbd44a6819826a1f83fb
|
|
Bug: 228079210
Test: basic touch operation for STTW, DTTW and lift to wakeup.
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I186cb14722308c645841332d32460a31ec5a25dd
|
|
Test: check the touch logs.
[sec_input] dump-int: #265(6.130): S#21(+) C#249(0x1).
[sec_input] dump-int: #266(6.129): S#21 C#250(0x1)(+).
[sec_input] dump-int: #267(6.121): S#21 C#251(0x0)(+).
[sec_input] dump-int: #268(5.187): S#22(+) C#251(0x0).
[sec_input] dump: #0: 20.284(0.37) D(0, 0).
[sec_input] dump: #0: 18.897(0.124) D(0, 0).
[sec_input] dump: #0: 7.302(0.389) D(-27, 148).
[sec_input] dump: #0: 6.142(0.21) D(0, 0).
[sec_input] dump: i/o 0, comm 0, reset 0, longest 0.389.
[sec_input] dump: cnt 2, active 0, wet 0, palm 1.
Bug: 228079210
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I542b0b65033a98474262b4601f841ec43ef7ea35
|
|
This CL is to better control the HBM for UX by input
cancel event reporting.
Bug: 235453790
Test: FPS unlock.
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I41f3946f7e51c4c7c421df04af4515fbf62fd83e
|
|
Align the ABS_MT_ORIENTATION range as touch_offload.
Bug: 230270099
Test: Touch works fine.
Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: I8eb584063b739ec23f0cce16c8d746fa1cb3fff2
|
|
Bug: 224880464
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I7ba2c54eba95292aed371faa26e918f334e478c6
|
|
Enable sec touch driver to support rotation reported to it by
touch_offload.
Bug: 218744675
Signed-off-by: Steve Pfetsch <spfetsch@google.com>
Change-Id: I6efa9cee0139707a3d0e354ccc9d2da42d50d844
|
|
Bug: 199698959
Change-Id: I7d137dd8e51e2f376fd81f909efc5eea2fe034d0
Signed-off-by: Alex Hong <rurumihong@google.com>
|
|
Change-Id: I7473b512a760849117369d07ea22314552cae2b5
Signed-off-by: Roger Liao <rogerliao@google.com>
|
|
Example:
dump: #0: 11.824(0.99) D(184, 621).
dump: #0: 11.532(0.83) D(169, -560).
dump: #0: 11.266(0.58) D(88, 365).
dump: #0: 11.24(0.70) D(152, -546).
dump: i/o 0, comm 0, reset 0, longest 10.5.
dump: cnt 8, active 0, wet 0, palm 0.
Doc: go/no_touch_debug_1p
Test:
lshal debug android.hardware.dumpstate@1.0::IDumpstateDevice/default touch
Test: check logs after suspend and resume.
Bug: 203298201
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: Idb914d17b91dd818a7d6131a8b46aef9188dee62
|
|
Enable grip supprestion on low power case during
kernel suspend.
Doc: go/touch_r3_grip
Bug: 204525560
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: Iec3e85403ae1d4d430a55de47c42300aa2b23af6
|
|
Bug: 199698959
Change-Id: I7bbc1b84ccb82e6518f88d3fefca1e936978da0b
Signed-off-by: Alex Hong <rurumihong@google.com>
|
|
Change-Id: I3c63899ae782b09cab57490b16d856b5d6e294f8
Signed-off-by: Roger Liao <rogerliao@google.com>
|
|
Since there is no T-IC reset after applying pa/1993460,
the persistent finger from AOC to APC will keep sensing
without losing signal. No additional cancel event requires
for FoD case.
Bug: 204553185
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: Ifb17d424e1f2ee80fc4147396126518e915dc95d
|
|
Bug: 199698959
Change-Id: I2f1af7c79c733acd35ec727297b23b7aa1c2180e
Signed-off-by: Alex Hong <rurumihong@google.com>
|
|
Change-Id: I1d450de108cdb4fe3e72f9a946c19139d0cc6986
Signed-off-by: Roger Liao <rogerliao@google.com>
|
|
Change-Id: Id8464301cb885831af6557c168b6f873c5415b4f
Signed-off-by: Roger Liao <rogerliao@google.com>
|
|
Bug: 194474414
Test: Verified with attributes and debug logs.
Signed-off-by: Mark Chang <changmark@google.com>
Change-Id: I2f97c6b5b357f619549dc658a028ece386341f78
|
|
Bug: 192617687
Test: builds
Change-Id: I97ae3a87a4bcc110c4a5e4d26ea30f0375301295
|
|
Bug: 196828808
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I08c0dddcca0657d20222347806569fa158aa9512
|
|
FW add FoD event for better HBM (High Brightness Mode)
control on kernel side.
Bug: 192988780
Test: check the functionality for STTW/LPTW and FoD.
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: Ic978fdedccb4f838e1b27d8c256e0773444e7a4e
|
|
Bug: 192988780
Test: parse the coordinates correctly during probe.
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I5cabb8bf488c41155495e23bf3978bb1d06bf659
|
|
The new bus reference will separate SEC_TS_BUS_REF_BUGREPORT
from SEC_TS_BUS_REF_FORCE_ACTIVE. This will help to resolve
unusual termination during bugreport capture.
Bug: 194157915
Test: bugreport works normally for touch.
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I8331f3b4f03871a2d27fbb3130db3e7a25684982
|
|
Bug: 192204268
Test: Verified with locally built ROM and debug logs.
Signed-off-by: Mark Chang <changmark@google.com>
Change-Id: Ia2647baa3ca1ec65856f3efd0afda2b98d52a638
|
|
When system is busy, the kthread of SPI transfer might be preempted
by other tasks due to its low priority. This could potentially
delay or block the driver reading touch events. Therefore, set the
priority of SPI transfer as IRQ bottom-half thread to mitigate the
latency.
Bug: 191712843
Test: Check the trace that only affect touch SPI bus.
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I28d3af633ed1c09116975a350295780cea267bc6
|
|
Bug: 191951449
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: Ic4fcf2eda884ee44df5813f723af81bd3741b403
|
|
Bug: 192412885
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: Ibf5060cc1e81b13e82eb64f832b9c9e8cc1bb51d
|
|
Bug: 190960560
Bug: 189374968
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: Ieb41c605dcb314547aa4dad81ae3490c4f5e9de8
|
|
When the release_all_fingers and offload_report run at the same time,
it may cause the input report conflict before input sync.
bug: 190460965
Test: flash boot.img and vendor_boot.img.
Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: Ib3a1f8970f15dc28a73dece18b5307cb5deba220
|
|
The added setup time for SPI transfer increased the overall time for
multiple read commands. The single read approach retrieves a fixed size
of data, and falls back to the existing method for multiple fingers.
Bug: 189282681
Test: Verified with locally built ROM and FW 1.09.
Signed-off-by: Mark Chang <changmark@google.com>
Change-Id: I45641e2b7bb7624c263e472054686dcdf006aeec
|
|
Read and set heatmap enable state on resume, as the register is now
only controlled by the touch driver.
Bug: 189282681
Test: Verified with locally built ROM.
Signed-off-by: Mark Chang <changmark@google.com>
Change-Id: Ibd469e2445fbd5029819e68385680e436e05d9c5
|
|
Add delay between writing offset and writing read request in
sec_ts_read_from_customlib. This gives touch IC sufficient time to
process writing offset command.
Bug: 189901803
Test: Verified with locally built ROM.
Signed-off-by: Mark Chang <changmark@google.com>
Change-Id: I627b7b12907f2b636bd39f151bee323d0b7cac9e
|
|
As the touch bus negotiator function changes, modify the related
functions.
Bug: 186717670
Test: tbn works.
Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: I37db62f0037262611ab05b65c53ad8633b208e3e
|
|
Check that usb_psy is valid before getting its properties.
Workqueue: sec_ts-event-queue sec_ts_charger_work [sec_touch]
pstate: 80c00005 (Nzcv daif +PAN +UAO -TCO BTYPE=--)
pc : power_supply_get_property+0x18/0xac
lr : sec_ts_charger_work+0x6c/0x3b8 [sec_touch]
sp : ffffffc0143a3ca0
x29: ffffffc0143a3cc0 x28: 0000000000000402
x27: ffffff8808fba420 x26: 00000000195ee905
x25: 0000000000020032 x24: ffffff88230a3759
x23: ffffffc009a41e60 x22: ffffff88230a1468
x21: 00000000000022f0 x20: 0000000000000000
x19: ffffff88230a0000 x18: ffffffc014385028
x17: 0000000000000003 x16: 000000000000000e
x15: 0000000000000000 x14: 0000000000000018
x13: 0000000000000000 x12: 0000000000007ffb
x11: 000000000000ffff x10: 00000000000022f1
x9 : 0000000000000001 x8 : 00000000000003d8
x7 : 0000000000000000 x6 : 0000000000000000
x5 : fffffffebf8f9150 x4 : ffffff893ae74bc0
x3 : 0000000000000008 x2 : ffffffc0143a3cf0
x1 : 0000000000000003 x0 : 0000000000000000
Call trace:
power_supply_get_property+0x18/0xac
sec_ts_charger_work+0x6c/0x3b8 [sec_touch]
process_one_work+0x218/0x62c
worker_thread+0x290/0x588
kthread+0x158/0x1b0
ret_from_fork+0x10/0x30
Bug: 189139045
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: I62f30acb2aec5ef255cad9cd80d9851b6a1da07c
|
|
Update the SPI delay time based on the latency data from the vendor and
tuning result of FW 1.9. The base delay time is extended for 240Hz touch
report rate, and dynamic delay time is used to accommodate longer latency
required for processing large data packets.
Bug: 188480651
Test: Verified with locally built ROM and FW 1.9.
Signed-off-by: Mark Chang <changmark@google.com>
Change-Id: I9a52e86bd026260c0cc2e8d2eee35bac977f3b66
|
|
Case#1:
Keep WLC mode for USB plug-in during WLC online(device upright).
Case#2:
Keep WLC mode for USB plug-in during WLC online(device upside down).
Bug: 188009141
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I49f0b3c03538edb5e170526e998c7fe4671fe558
|
|
Bug: 187907262
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I5cbd44ee7e5f442fdf01edc8c1b8fad81e065c42
|
|
This adds support to check if display is in self refresh mode.
In that case touch should still be active.
Bug: 180539030
Signed-off-by: Adrian Salido <salidoa@google.com>
Change-Id: Iee1465ff014daf1e9d7edc7ee59e83cd38ed4272
|
|
Revise SPI delay to fixed time for reading data in custom
library. Improvement has been made in FW 1.5, delay time required between write command and read data is now indenpendent to data size.
Bug: 182246865
Test: Verified with locally built ROM and FW 1.5.
Signed-off-by: Mark Chang <changmark@google.com>
Change-Id: Iedc4f85f2f0a85f7c27a74f2fa9cc7280efd8d9c
|
|
There are some unstable SPI transfer during bus negotiation
between AP and AOC. Therefore, directly use hardware reset
by GPIO will force touch to default state without
interference by SPI.
Bug: 185557408
Test: check touch operation 10 times by power key suspend and resume.
Test: echo set_touch_mode,7 > sec/tsp/cmd ; cat sec/tsp/cmd_result
Test: echo set_touch_mode,7,1 > sec/tsp/cmd ; cat sec/tsp/cmd_result
Test: echo set_touch_mode,7,2 > sec/tsp/cmd ; cat sec/tsp/cmd_result
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I587cdb572169be6aa45105a48d46bf05b375bec8
|
|
Touch IC needs data preparation time between the request command and the read
command. As encoded heatmaps can vary largely between frames, a dynamic
delay time for reading custom library further improves the latency when
reading small encoded heatmaps.
Bug: 182246865
Test: Verified encoded heatmap retrievals.
Signed-off-by: Mark Chang <changmark@google.com>
Change-Id: I3f803fc9c69f7459172b9dc42d41f9eeaf4eba37
|
|
Bug: 182246865
Test: Verified encoded heatmap with locally built ROM.
Signed-off-by: Mark Chang <changmark@google.com>
Change-Id: I97132cad3ea1486d0bfc4974284caa03f163355d
|
|
Bug: 174189879
Test: Verified device_id with locally built ROM.
Signed-off-by: Mark Chang <changmark@google.com>
Change-Id: Iec8037c750274121fb39c9c963cf46d8f6b80b95
|
|
Refine the deubg logs.
Bug: 174189620
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I8d30494b388890ddde82e3da14dcb4a627ed6e6d
|
|
Conver major/minot from mm to pixel unit.
Bug: 181907108
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I0da2dab15ccac18ee6cc621c43fd554a140122a2
|
|
cat /sys/devices/virtual/sec/tsp/status
Boot status: 0x20
Touch status: 0x0, 0x2, 0x1, 0x2
Functions: 0x61, 0x0
Charger mode: 0x2
Wet mode: 0
Fingers#: 0
Report rate: 120
Bug: 178769113
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I40d77b0b77252d996ce464688582768203bc4d02
|
|
Bug: 174189640
Test: Build pass.
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: Icdc1df2444a66091d32f299c12a9c6367f0de9ef
|
|
Bug: 174189640
Bug: 174189847
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: If3fa70ba0bcf575329e7e22ddd8199fc0dad3b1c
|