Age | Commit message (Collapse) | Author |
|
Bug: 242559052
Test: check logs on device
Change-Id: I1092f61fe0e9df1652d28cfe8a82e2cc9addbb7e
Signed-off-by: Super Liu <supercjliu@google.com>
|
|
SBMerger: 478053055
Change-Id: I4ba9ee378c5c11714484e6f48f87234c39f63c0f
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
SBMerger: 478053055
Change-Id: If72b4669c4b4a277dd6cf7b09ff9ff921ec5d1ac
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Replace the frequency hopping status with the baseline refresh status.
This change started with the new firmware V14_D01.
Bug: 257196242
Test: Verify pass by checking the status log.
Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: Ic777beec3323208b5282854bb34b0d34caccb47d
|
|
android13-gs-pixel-5.10-udc" into android13-gs-pixel-5.10-udc
|
|
The TBN error is including timeout witch is caused by the AOC wake-up
gesture driver does not reply the ACK in time, but SPI would be ready
for kernel touch driver.
Bug: 257076750
Test: Touch basic operation and wake-up gesture work well.
Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: I0b992372dd3ac179d28ec9bda0805606ba38aee1
Merged-In: I0b992372dd3ac179d28ec9bda0805606ba38aee1
(cherry picked from commit 3341d5c94af2162c934f93fa3e03c08688f3fdc9)
|
|
SBMerger: 478053055
Change-Id: I2935209dc9c0f9c977886d68fb8081a5444a184c
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
SBMerger: 478053055
Change-Id: I475b8a96ab57154d773431ff4b5f7d549b0f3d89
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
The TBN error is including timeout witch is caused by the AOC wake-up
gesture driver does not reply the ACK in time, but SPI would be ready
for kernel touch driver.
Bug: 257076750
Test: Touch basic operation and wake-up gesture work well.
Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: I0b992372dd3ac179d28ec9bda0805606ba38aee1
|
|
android13-gs-pixel-5.10-tm-qpr1
|
|
When the screen is off, touch driver releases all the input touch
events. This makes the status different from touch_offload so we
need to synchronize the status.
Bug: 238536533
Test: Touch events are cleared while suspending.
Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: If1874403f87943561b58e2b9b44d3fe38c6002f2
|
|
Bug: 240000163
Test: pass to run following test:
adb shell cat /proc/focaltech_touch/selftest/Strength
Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: Ic855ecefd5c3a901cb181612a8eac5380edc0e0c
|
|
Bug: 241033257
Test: Touch working as expected.
Test: twoshay requested cancel_reporting successfully.
Signed-off-by: Mark Chang <changmark@google.com>
Change-Id: Ie61dda4786837fe52a02254081cc5d51d76370ff
|
|
android13-gs-pixel-5.10-tm-qpr1
|
|
Bug: 233569354
SBMerger: 442815275
Change-Id: I743aa6abd1eb971bf963569cb45f63fb6e6e87f5
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Bug: 239384823
Test: getevent -ltr and check MT_TOOL_PALM is reported.
Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: I551994d1f461d8ca5b3770529e3b17a75fbf8185
|
|
Currently the driver only reports the SS_NORMAL data, but focaltech
firmware supports SS_WATER data as well. So the driver change to support
it.
Bug: 230031445
Test: Touch works well.
Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: If65ee680c15ea572e4c24c0dc350fb461571dac4
|
|
Bug: 233569354
SBMerger: 442815275
Change-Id: I9b852aa5a73f4f886f21b049019bce75e95e4113
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Bug: 235928874
Test: LHBM is off right after LPTW finger leaves.
Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: Iedc0fed4f465630ca2a5b031a5e29d17b7908f8e
|
|
Bug: 233569354
SBMerger: 442815275
Change-Id: If9ddc4ad828da7045d9cde49dc35e506c1f28eec
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Change list:
1. Remove to switch the setting between uncompressed and compressed heatmap in fts_test_get_strength().
2. Check if the size of compressed heatmap is valid.
Bug: 236026908
Test: Stress test pass, there is no memory corruption when draw circles
on the panel while running the dump touch state script.
Signed-off-by: Steve Pfetsch <spfetsch@google.com>
Change-Id: I4ecc1b3470e02f02cfd12cd3752ece540e6705c0
|
|
android13-gs-pixel-5.10-tm-d1
|
|
Bug: 235414349
Test: Touch basic operation works well after the device suspends and
resumes.
Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: I6112c5d32bb24476e19bde5afab37898cee4b78a
|
|
SBMerger: 442815275
Change-Id: I95700684caba44b0c53d8fd62de210624ee874dd
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
* changes:
touch/focaltech: Add to detect firmware self-reset mode.
touch/focaltech: support uncompressed and compressed heatmap.
touch/focaltech: Compressed MS and add SS_WATER.
touch/focaltech: Restore feature settings as touch IC resets.
|
|
Bug: 231678216
Test: Build pass.
Change-Id: I2e96e0074a75b4a3ff992be317eb6cac0e64b61f
|
|
Change the processes of reading heatmap to support both enabled
uncompressed or compressed heatmap of touch firmware.
Bug: 228953908
Test: Touch operation, twoshay and V4l work well
Change-Id: Ief8851a6495c505aecf173cd271024f29954f2b9
|
|
Change list:
1. Compress the mutual-sensing data.
The purpose is to reduce the data count of heatmap through SPI.
To compress the mutual-sensing data in firmware side, and to
decompress it in kernel driver side.
It reduces the transferring data form 1088 bytes to 50 bytes/per finger).
2. Add water-on self-sensing data.
Bug: 228953908
Test: Touch, v4l, twoshay works well.
Change-Id: I18ee794aa9ef098764e8483f87f6697d5bff06d0
|
|
Add a recovery mechanism to restore all firmware settings when touch IC
resets unexpectedly. In each IRQ, the driver checks the byte2 value of
register 0xB2, it records all the firmware feature settings currently,
and the driver can compare them to settings of host side, and restores
the settings to firmware again if they are different.
Bug: 231678216
Test: Touch works well, please refer to the test method in
b/231678216#comment2
Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: Id5ca4f7f1dd246a9db0edc1b71d6fa23fb79af4b
|
|
When driver failed to read touch id by error code (-EIO), then to reset
the touch ic and retry to read touch id again. The max retry count is 3.
Bug: 234242120
Test: Basic touch operation works well after device suspends and resumes.
Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: I3aae959c2bad0e3e2926b37cdc0c3d47d1443fa0
|
|
New buffer size is 1536 = ALIGN(1451, 256).
Bug: 235451270
Test: Basic touch operation works well.
Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: I36d2603a4f4748e941744718d6562089f6780944
|
|
Bug: 235441233
Test: Basic touch operation works well.
Change-Id: I5bcf6f015e9471e96c3df614a095aa92efd7217e
|
|
Bug: 233569354
Signed-off-by: Robin Peng <robinpeng@google.com>
Change-Id: I0d781acc39f1fa54c0aa38a319ca03c654eb4197
|
|
The root cause is by double remove self-test file nodes in
/proc/focaltech_touch/selftest/ when device is shutdown.
Bug: 234499112
Test: There is no kernel panic by touch driver when flash
cloudripper_kasan kernel image. Please refer to b/234499112#comment5
Change-Id: Iec75c6bd40e6f199348c27cbb1282f67c20c4bf2
|
|
Bug: 232640281
Test: Touch operation and touch gesture work well.
Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: I53c845f491b9a8815d1d334d0ee0d5042cef87c0
|
|
Bug: 232118695
Test: Verify pass by tapping on the touch when device shutdowns for 20
times, and there is no fatal exception.
Change-Id: I3470868ca48037105a4437af2e13389f23d660e6
|
|
Increase the flash packet length (FTS_FLASH_PACKET_LENGTH) from 32 to 128.
Bug: 199105246
Test: Reduce the flashing time from 15s to 10s.
Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: I9e6e3abced6d9a52735240a3d944a04b0d1c3195
|
|
android13-gs-pixel-5.10
|
|
Root cause is that touch driver reads heatmap data when user taps on
the touch panel during shutdown, but the heatmap relative buffers have
been freed, so I move the free processes of heatmap buffers after
freeing IRQ.
Bug: 230670844
Test: There is no kernel panic to keep a finger on the panel during
shutdown.
Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: I48d1f1ce8e7c8a24acaca3abbb37a404ecc740dc
|
|
Add retry mechanism for restoring firmware settings after firmware
updates or touch resets.
Bug: 230175721
Test: Touch works well when device suspends and resumes.
Change-Id: Ibaaf5c002588f91b24ed34c05c6256955763ae72
|
|
|
|
Note: The focaltech touch firmware does not support to report the
rotation/orientation data, but the rotation/orientation is calculated
from offload and reported to upper layer.
Bug: 227525554
Test: Touch works well.
Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: I6e2309845056397ed495965d8fb2010adefe866f
|
|
|
|
Bug: 229841431
Test: Touch is working well, and signal diagram is good.
Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: I9ace7a89762e367165726ad33ce04bc98233d634
|
|
android13-gs-pixel-5.10
|
|
register." into android13-gs-pixel-5.10
|
|
android13-gs-pixel-5.10
|
|
Original process:
Read sensor and gesture data -> read customer mode status(reg(0xB2)) -> read heatmap data (including touch and gesture data + MS + SS)
New process:
read heatmap data (including touch and gesture data + MS + SS) -> read customer mode status(reg(0xB2))
Bug: 228921254
Test: Touch is working well.
Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: I63591b48999e38c31b2f2b881dd2f9a718d171e5
|
|
The firmware feature settings (heatmap, grip, palm, continuous report,
glove) should be restored after uploading firmware or when device resumed.
Bug: 229708596
Test: Touch works well after flashing firmware.
Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: Ia79a4064f501cedde6528da5e6695ad4d7fbf644
|
|
The purpose is to reduce the data transfer over the SPI bus.
Because access SPI bus will cause extra latency, I use a flag of
"work_mode" instead of reading mode register every time.
Bug: 228921254
Test: Verify pass by following test cases:
1.Normal touch operation.
2.adb shell cat /proc/focaltech_touch/INT_PIN
Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: I91b6ca32c8a351bc69118f3aea349c476ce3f3c6
|