Commit gráf

10 Commit-ok

Szerző SHA1 Üzenet Dátum
Prakruthi Deepak Heragu
ecce7c030c touch: qts: Rename Gunyah RM APIs
As we are merging upstream patches, resolve conflicts of namespaces in
downstream modules.

Change-Id: I09f4930534b5242335c4884822c5110ca6e8ba8a
Signed-off-by: Prakruthi Deepak Heragu <quic_pheragu@quicinc.com>
Signed-off-by: Raviteja Tamatam<quic_travitej@quicinc.com>
2023-03-27 15:56:31 -07:00
Yu Wu
6b6fdc17bf touch: fix compilation errors in touch drivers
Remove the %s in pr_warn function which is not needed.

Change-Id: Idf8346b250a51763bdb270cfa36bda416650d91e
Signed-off-by: Yu Wu <quic_zwy@quicinc.com>
2022-11-15 21:34:39 -08:00
Simranjeet Thind
8664f210f6 touch: fix compilation errors in touch drivers
Change fixes compilation issues seen due kernel upgrade in touch driver
files with maintaining the backward compatability.

Change-Id: Iaa49186bd2c895850bc0349ccb695a2069cece84
Signed-off-by: Simranjeet Thind<quic_sthind@quicinc.com>
2022-10-31 13:22:57 -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
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
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
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
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
Raviteja Tamatam
9569e9059c touch: QTS: create common sysfs node for secure touch
create sysfs node for secure touch enable and events.
It is independent of bus protocol or device specific path.

Change-Id: I84f3f015fdc81f4c90dd71983baab9616b5eccd0
Signed-off-by: Raviteja Tamatam <quic_travitej@quicinc.com>
2022-04-13 11:12:28 -07:00
Ritesh Kumar
7e0bf2f396 touch: qts: add QTS framework changes
QTS framework defines a unified set of APIs that any
vendor touch driver module can implement in order to
seamlessly integrate with value added functionalities
supported by msm display drivers. Define and implement
this framework with an initial support for TUI touch
functionality.

Change-Id: I1785713263af07d58baf613a49f99345d7dddaea
Signed-off-by: Raviteja Tamatam <quic_travitej@quicinc.com>
Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
2022-04-13 11:10:29 -07:00