1
0
Gráfico de cometimentos

68 Cometimentos

Autor(a) SHA1 Mensagem Data
Sachin Kumar Garg
a6675f0aee touch: offload fw boot up to workqueue
touch faststartup is consuming more than 700ms during power on,
created workqueue to handle touch firmware boot up sequence.

Change-Id: I67a288f41001052e5dcdb2ed465055b3a23d3233
Signed-off-by: Sachin Kumar Garg <quic_sachinku@quicinc.com>
2022-09-28 23:42:16 -07:00
Sachin Kumar Garg
13fe897650 touch: fix suspend resume issues
run time suspend and rum time resume used for DRM events callbacks,
which is updating suspend and resume count incorrectly.
Added workQueue support to avoid executing logic in
DRM event callback handler.

Change-Id: I2985fb83aec5a72a0b9a604b424c4f06bfc06956
Signed-off-by: Sachin Kumar Garg <quic_sachinku@quicinc.com>
2022-09-28 23:41:48 -07:00
Sachin Kumar Garg
36097dc556 touch: Enabling Touch-to-Wake when AOD off
Enablement of Touch to Wake when contextual mode is off.

Change-Id: I94df963268daae4c50798c43fcb7c151bb2b0186
Signed-off-by: Sachin Kumar Garg <quic_sachinku@quicinc.com>
2022-09-28 23:41:26 -07:00
Sachin Kumar Garg
9beefc5e6f touch: Correct return codes for S/R
Adding correct condition of return codes for
core suspend and resume.

Change-Id: I6b9bf0fa1032f2d717535c48ec5e3ba5711b7d90
Signed-off-by: Sachin Kumar Garg <quic_sachinku@quicinc.com>
2022-09-28 23:41:07 -07:00
Sachin Kumar Garg
01206d278d touch: Correct handling of core suspend issue
Added correct handling of return codes and retrying for successful
core suspend.

Change-Id: I1c8f19fa55f5d51b5195242fb308f59f08330789
Signed-off-by: Sachin Kumar Garg <quic_sachinku@quicinc.com>
2022-09-28 23:40:42 -07:00
Sachin Kumar Garg
c12b22927b touch: Inclusion of wakeup key
Adding of wakeup key to wakeup the system during
touch after the display goes to ambient mode.

Change-Id: Ieceb63b093016eda71e1e053ccddce93bdf65447
Signed-off-by: Sachin Kumar Garg <quic_sachinku@quicinc.com>
2022-09-28 23:39:54 -07:00
qctecmdr
4905b5fd5e Merge "touch: Request firmware from userspace" 2022-09-27 21:45:21 -07:00
qctecmdr
8c92bcbbeb Merge "touch: goodix: Remove duplicate reset operation" 2022-09-27 21:45:21 -07:00
qctecmdr
6ad2b040d9 Merge "touch: Setting up of DRM notifier" 2022-09-27 21:45:21 -07:00
qctecmdr
0de2c30d0a Merge "touch: qts: handle errors in touch_abort case" 2022-09-27 21:45:21 -07:00
Yu Wu
bd4d865d2d touch: goodix: Remove duplicate reset operation
In power_on function, it already contain reset operation,
so no need to do reset again after power_on, to save time
when do resume operation.

Change-Id: Iba0c5a666b3e25df1e85afa6d5812666ce273922
Signed-off-by: Yu Wu <quic_zwy@quicinc.com>
2022-09-23 14:09:15 +08:00
Srikanth Katteboina
447a6d32fc touch: Request firmware from userspace
Add upgrade mode with request firmware file from userspace.

Change-Id: Ifb4329d39eb8e80c11e6738d173870be94a63ea3
Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
2022-09-21 15:49:55 +05:30
Srikanth Katteboina
e54f813e0a touch: Remove unnecessary log
Remove unnecessary print log and adjust poweron sequence.

Change-Id: I99d34b40f06434146bcc1f438fbfe72bf6e68c2d
Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
2022-09-21 15:49:48 +05:30
Srikanth Katteboina
748d0d396a touch: Correct long press and swiping
Correct long press and swiping on the edge of screen.

Change-Id: Id8758fbb1092719f0e0e6db2aa4ac4e9a75cc447
Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
2022-09-21 15:49:40 +05:30
Srikanth Katteboina
dedef8c90d touch: exit in probe
Adjust exit labels to avoid the use-after-free issue.

Change-Id: I46368c80014aa3cbb680cf6e9967e20e188c1340
Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
2022-09-21 15:49:34 +05:30
Srikanth Katteboina
03bb25d1f1 touch: fixing compilation errors
fixing compilation errors in raydium driver code.

Change-Id: Ia2b5d1b12c8fe7f5c5832ac5ee656555822ec7db
Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
2022-09-21 15:49:15 +05:30
Srikanth Katteboina
4f002c78b1 touch: Enable and Disable voltages
Added regulator API's for enablement and disablement of voltages for
touch during SUSPEND and RESUME states.

Change-Id: Idfb0f0890700576acb15dfc11fa0118ed8fa94ee
Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
2022-09-21 15:49:09 +05:30
Srikanth Katteboina
d66a17ccb3 touch: Add regulator support
Added regulator support to RM6D030 touch sensor.

Change-Id: I74b2560ae5e02ceea272c15609e7dd624560a5bd
Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
2022-09-21 15:48:56 +05:30
Surya Teja Kudiri
03a5e19b61 touch: Setting up of DRM notifier
Implementation of DRM notifier callbacks and registration
of callback during touch probing.

Change-Id: I56e6d19708e207cee4d63089a73725be30f9cd84
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2022-09-19 15:40:00 +05:30
Surya Teja Kudiri
ef5fab8765 touch: Insertion of DRM and RUNTIME macros
Inclusion of the DRM notifier callback macros and RUNTIME macros
in header file.

Change-Id: Ie23e7e5f94028cc9a80de47906f13b0eb5e2f8cf
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2022-09-19 15:35:39 +05:30
Surya Teja Kudiri
1a7ece05e4 touch: Fetch DRM panel from device tree
Fetching of the active DRM panel from the DSI panels in device
tree and storing in core platform data structure.

Change-Id: I2a10380abb568f483e756bb9d60d5cdae952febe
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2022-09-19 15:29:25 +05:30
Surya Teja Kudiri
f8c8176c7a touch: Pull down GPIOs during SUSPEND
Enablement and disablement of GPIO pins along with LDOs
during RESUME and SUSPEND state respectively.

Change-Id: If24272ca1410ac583ba9ea6792c44459a8429334
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2022-09-19 15:22:20 +05:30
Surya Teja Kudiri
0fb4da9875 touch: fix parade driver deinit sequence
driver context is freed before calling power off sequence,
which is resulting invalid memory access causing system crash.

complete power off sequence before free up driver context.

Change-Id: Ib6665d904d2747ec87a62b47cfadcb91f713ffe6
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2022-09-19 15:17:27 +05:30
Surya Teja Kudiri
9f8b0948ed touch: fix regulator min voltage during deinit
voltage range should fall in between regulator supported range.
updated min voltage from zero to regulator min voltage.

Change-Id: I3df1e2638d69348b0550d175063df2e3ac65cf0d
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2022-09-19 15:12:05 +05:30
Surya Teja Kudiri
24ad9327a2 touch: Enable and Disable voltages
Added regulator API's for enablement and disablement of voltages for touch
during SUSPEND and RESUME state.

Change-Id: Idcf4148d59c6fb23cc1942818585cac19834e4f9
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2022-09-19 15:06:40 +05:30
Surya Teja Kudiri
857b6fc994 touch: Adding of voltage regulators APIs
Inclusion of API's for enablement and disablement of voltages for touch
and enabled defconfig for Power APIs.

Change-Id: I677b05d472bb9ce4c1ffa9443dc8256721d1a502
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2022-09-19 15:00:44 +05:30
Surya Teja Kudiri
85276af664 touch: fix for the errors
This change fixes all the errors of dependent change

Change-Id: Ic52cfcf8dfbd38188573b64299f0500002579588
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2022-09-19 14:53:16 +05:30
qctecmdr
667552fa85 Merge "touch : Add files via upload" 2022-09-15 04:41:55 -07:00
Raviteja Tamatam
3fcb581736 touch: qts: handle errors in touch_abort case
Avoid qts_bus_put in case of reclaim failures
while handling trusted_touch_abort to prevent
external abort crash.

Change-Id: I2b76d750b28c64990e045570ea661981a2ed6536
Signed-off-by: Raviteja Tamatam <quic_travitej@quicinc.com>
2022-09-13 16:16:08 -07:00
Parade-Github
b0e4b1c194 touch : Add files via upload
Removed example files and move source to /pt/
Git-commit: e2e4bb9eacc2406cb0351d15e478e68249d5f625
Git-repo: https://github.com/Parade-Github/TTDL/tree/main

Change-Id: I07f3464718058d5bba76b7d5be486a79934db354
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2022-09-08 22:27:01 -07:00
gary-rad-ic
1754154171 touch: add Raydium I2C touchscreen driver
add support to enable Raydium RM6D030 I2C touchscreen driver
Signed-off-by: gary-rad-ic <gary.wu@rad-ic.com>
Git-commit: 014e8a5066b2b04cacaf83fdae80abd840c2f5f6
Git-repo: https://github.com/gary-rad-ic/wearable-touch-driver/tree/RM6D030

Change-Id: Icd877f7f6787c5da14347240f08522b886581b1b
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2022-09-07 22:54:18 -07:00
qctecmdr
6f5aa12f7b Merge "touch: Add synaptics_tcm touch driver for khaje" 2022-09-07 01:09:46 -07:00
Raghu Dudda Papanna
7b9f8fe0cd touch: Add synaptics_tcm touch driver for khaje
Add synaptic touch module and register DRM Panel notifier.

Change-Id: Id8d83c359dec25daedf1e09735e4cba6cd3bd236
Signed-off-by: Raghu Dudda Papanna <quic_rduddapa@quicinc.com>
2022-08-24 20:22:14 +05:30
Raghu Dudda Papanna
dba1aa7d95 touch: enable synaptics_tcm touch driver
This is a snapshot based on msm-5.4 mainline commit
cd6c99dc8879 ("input: touchscreen: Remove linking
across different modules").

Change-Id: I19cfacad730ba917d54d037958e040bbadca9388
Signed-off-by: Raghu Dudda Papanna <quic_rduddapa@quicinc.com>
Signed-off-by: Nirmal Abraham <quic_c_nabrah@quicinc.com>
2022-08-24 14:21:49 +05:30
qctecmdr
2797c9bf2b Merge "touch: goodix: Turn off touch power when display off" 2022-08-17 07:47:37 -07:00
Yu Wu
0991d38ec2 touch: goodix: Turn off touch power when display off
Currently when display off, host will send command to make touch
IC enter sleep mode, but from power team's requirement, touch IC
should be totally power off when display off.

Change-Id: Ie97d6f80cd9547b2e40ee3f5674bc0aa7034d2ed
Signed-off-by: Yu Wu <quic_zwy@quicinc.com>
2022-08-16 17:18:55 +08:00
Raviteja Tamatam
f6dea32cd4 touch: qts: add support for secondary touch in TUI
Add changes to support secondary secure qts touch
nodes and select corresponding TUI transtions.

Change-Id: I72cfe24ea3579111fb2142d2933dfa95c27c8ea2
Signed-off-by: Raviteja Tamatam <quic_travitej@quicinc.com>
2022-07-28 16:24:11 -07:00
Raviteja Tamatam
0efdbe4ab9 touch: goodix: add compatible string for dual touch
Add gt9916S2 compatible string for dual touch handle
dependency.

Change-Id: I9efb9af1a56bc218a9b2b7d21a92e337d093c630
Signed-off-by: Raviteja Tamatam <quic_travitej@quicinc.com>
2022-07-26 17:03:49 -07:00
Raviteja Tamatam
173c930db6 touch: goodix: add support for dual touch with SPI
Add changes to support secondary touch with SPI on
goodix driver.

Change-Id: I7bf5ac146b2e2f6d616041fa6aedb3a27be24b8f
Signed-off-by: Raviteja Tamatam <quic_travitej@quicinc.com>
2022-07-25 13:58:14 -07:00
Raviteja Tamatam
9b89984f3a touch: goodix: handle use after free in probe fail case
In case of goodix probe failure, avoid core_data being modified
after free.

Change-Id: If22ecdd38b18df7a26a97f80d8f724324c03e7f0
Signed-off-by: Raviteja Tamatam <quic_travitej@quicinc.com>
2022-06-30 12:43:37 -07:00
Shashank Babu Chinta Venkata
5567d48bac touch: add support to compile out touch modules
Add support to selective compile out touch module based
on compile flag.

Change-Id: I0525b7664576740acfeb7febce12e666a9a6c7ba
Signed-off-by: Shashank Babu Chinta Venkata <quic_schintav@quicinc.com>
2022-06-03 09:33:13 -07:00
Jeykumar Sankaran
9d186e44c9 touch: add qti dummy touch driver
Add support for dummy touchscreen driver to help boot up the HW
with operating systems requiring at least one input devices in
pre-silicon platforms.

Change-Id: I0bb5c5a3dd2a8d945c3b0ecee738652ec9d2b561
Signed-off-by: Jeykumar Sankaran <quic_jeykumar@quicinc.com>
2022-06-01 11:35:21 -07:00
qctecmdr
5951b6d9d7 Merge "touch: goodix: set ESD check disabled as default" 2022-05-19 23:00:30 -07:00
Yu Wu
cd21f85b95 touch: goodix: set ESD check disabled as default
ESD check causes power consumption issue, so disable
ESD check by default. User can still enable ESD check
by echo 1 to esd_info sysfs node.

Change-Id: I10f339b76bf9cddcdd165c3dd5e6574d85640dbf
Signed-off-by: Yu Wu <quic_zwy@quicinc.com>
2022-05-19 14:04:37 +08:00
Raviteja Tamatam
cf9cbcfc05 touch: qts: add mutex protection during TUI transition
During TUI touch transition there is race between irq
handler and tvm_vm_mode_enable/disable. While the irq
handler was running in one thread,tvm_vm_mode_disable
was called removing i2c power resources causing timeout.
Created qts_irq_handler and added transition_lock to
avoid such cases.

Change-Id: I669e24572adb020aca1883353a661c5d0daa546c
Signed-off-by: Raviteja Tamatam <quic_travitej@quicinc.com>
2022-05-11 10:49:50 -07:00
Raviteja Tamatam
fb8b1097a2 touch: goodix: handle suspend/resume in probe fail cases
In case of goodix probe failure, avoid touch suspend/ resume
callbacks from dpms panel event notifier.

Change-Id: Ib3be59e02296a3edd2bb8ec39c5fdbd1cc25ae61
Signed-off-by: Raviteja Tamatam <quic_travitej@quicinc.com>
2022-05-02 11:11:16 -07:00
qctecmdr
16ca82b228 Merge "touch: goodix: fix static code analyze warnings" 2022-04-26 07:08:08 -07:00
Yu Wu
a4a18f9bf8 touch: goodix: fix static code analyze warnings
Fix static code analyze warnings.

Change-Id: Iabfd2a8fc1fee52c463fc16e0db6b9287c3f50bf
Signed-off-by: Yu Wu <quic_zwy@quicinc.com>
2022-04-25 13:59:34 +08:00
Raviteja Tamatam
d1ca4dc958 touch: QTS: create trusted_touch_device_path entry
Create trusted_touch_device_path entry that provides
full sys path of the bus device node. It is used by TUI
app to get corresponding touch event in /proc/bus/input.

Change-Id: I872c1404f194db2b636fac5ccd25094f03e58032
Signed-off-by: Raviteja Tamatam <quic_travitej@quicinc.com>
2022-04-20 14:54:46 -07:00
qctecmdr
ee3265a82d Merge "touch: add atmel touch driver" 2022-04-19 08:38:22 -07:00