Commit graph

206 Commits

Autor SHA1 Nachricht Datum
Akshay Gola
bc89ced93c input: touchscreen: Handle null device pointer to avoid failure due to kernel panic
Change-Id: Iee9b5875c67869724fbd3fdd11f4fa5b9c3ac1f5
Signed-off-by: Akshay Gola <quic_agola@quicinc.com>
2024-05-21 09:45:06 -07:00
qctecmdr
353309c3c8 Merge "touch: qts: free the memory of the acl and sgl descriptor" 2024-04-16 20:56:52 -07:00
Ritesh Kumar
f963a865d9 touch: qts: free the memory of the acl and sgl descriptor
Allocated memory for acl and sgl descriptors is not being freed.
This is causing memory leak over multiple cycles of TUI tests.
To avoid this, free The allocated memory of descriptors.

Change-Id: I7d8f0fa53d9060f62aa9a3cb5ba5e5ce11e49d94
Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
2024-04-03 14:18:48 +05:30
qctecmdr
abb456a868 Merge "touch: st: update driver version" 2024-03-25 21:41:02 -07:00
qctecmdr
e8f2113533 Merge "touch: Touch_offload using debugfs" 2024-03-25 21:41:02 -07:00
Saikiran MUppidi
c886491e50 touch: Touch_offload using debugfs
Added show support for touch offload sysfs attribue

Change-Id: I5a6a91cfd9df9af35ebd09055204f2d7714cc5dd
Signed-off-by: Saikiran Muppidi <quic_saikmupp@quicinc.com>
2024-03-20 10:23:44 +05:30
lingwenk
baa8973d8f touch: st: update driver version
update driver code version for kernel-5.15

Change-Id:Ia9aa2bdc4fd13832171d19d04db7e913d991508f
Signed-off-by: lingwenk <quic_lingwenk@quicinc.com>
2024-03-18 18:52:41 +08:00
qctecmdr
97be5ba4d2 Merge "input: touchscreen: raydium: Remove IRQF_NO_SUSPEND flag" 2024-03-07 02:06:20 -08:00
qctecmdr
210d0799cf Merge "touch: enable focaltech touch compilation for volcano target" 2024-03-07 02:06:20 -08:00
qctecmdr
c51609d3bf Merge "input: touchscreen: pt: Remove IRQF_NO_SUSPEND flag" 2024-03-07 02:06:20 -08:00
Ritesh Kumar
456950d74e touch: enable focaltech touch compilation for volcano target
Enable focaltech touch compilation for volcano target.

Change-Id: Ic73857254e5503ff65023d2facb40143874bbc65
Signed-off-by: Jyothi bommidi <quic_jbommidi@quicinc.com>
Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
2024-03-05 16:42:32 +05:30
Akshay Gola
ed3f33c6e5 input: touchscreen: pt: Remove IRQF_NO_SUSPEND flag
Enablement of touch interrupt during device suspend(s2-idle).

Change-Id: Ie2dd0ad0e71c88cace13eb772906d13878d5abc4
Signed-off-by: Akshay Gola <quic_agola@quicinc.com>
2024-02-22 00:57:30 -08:00
Akshay Gola
4f825c5441 input: touchscreen: raydium: Remove IRQF_NO_SUSPEND flag
Enablement of touch interrupt during device suspend(s2-idle).

Change-Id: I29c3f1e61e789f37dba94cf9ed58e42915e02d6a
Signed-off-by: Akshay Gola <quic_agola@quicinc.com>
2024-02-22 00:56:30 -08:00
Syed Ahmed
1d69ded5ed touch: bengal: enable touch driver
Enable synaptics_tcm touch driver for bengal target.

Change-Id: I7c6233b4f345c52a01ebebb92da2cb7d546ef000
Signed-off-by: Syed Ahmed <quic_syedahme@quicinc.com>
2024-02-15 21:10:52 -08:00
Srikanth Katteboina
1d39d6b82c touch: LW: Add support for Bazel to build touch modules
Changed module name to resolve bazel compilation.

Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
Change-Id: I70720e9c4093eb6b74fbd413f53cdbf1e4d04480
2024-01-30 20:17:44 +05:30
Srikanth Katteboina
20cccf755a touch: LW: Add support for Bazel to build touch modules
Add support for touch modules to be built with Bazel for
DDK.

Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
Change-Id: I774b1668a5959c0d58c6582a1b01692d4e09f856
2024-01-20 14:21:02 +05:30
Srikanth Katteboina
d230941afa touch: Add support for Bazel to build touch modules
Add support for glink_interface_ts modules to
be built with Bazel.

Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
Change-Id: Ib35b25a49e2e70b6f2765c9a67a1f7e0f3939ba9
2023-12-27 16:20:00 +05:30
Jyothi bommidi
0fd74014a7 touch: focaltech: fix pinctrl state in suspend resume
In FT8726 touch controller, separate regulators are not needed. But
regulator voting and pinctrl suspend / normal calls are done together.
This leads to wrong pinctrl state during suspend leading to leakage.

Change-Id: Ia9fe89db1c0c87fd02ee4a7cf6f5a485cb7e23d4
Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
Signed-off-by: Jyothi bommidi <quic_jbommidi@quicinc.com>
2023-12-17 22:30:25 -08:00
Jyothi bommidi
df8c1c7d1f touch: focaltech: add support for ft8726 boot up
This change adds support for ft8726 touch IC boot up for panels
having firmware already flashed and updates power on sequence
to perform delayed probe operations as part of first resume.

Change-Id: Ib9f5d1b961a80c3e884ef0cb22577bf295c1d4cb
Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
Signed-off-by: Jyothi bommidi <quic_jbommidi@quicinc.com>
2023-12-14 13:54:51 +05:30
qctecmdr
9794f71a49 Merge "touch: raydium: glink slate acknowledgement" 2023-12-10 16:26:46 -08:00
qctecmdr
0c5cbf20ba Merge "touch: pt: Touch_offload using Glink" 2023-12-10 16:26:46 -08:00
Srikanth Katteboina
7c25ef2f97 touch: raydium: glink slate acknowledgement
Implemented Glink Slate acknowledgement response for raydium
Touch driver.

Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
Change-Id: Ieba8293d678a0422e6f2caf968312d0c9d96b972
2023-12-09 11:16:16 -08:00
Srikanth Katteboina
5dbb06d45e touch: raydium: Touch_offload using debugfs
Enablement of Debugfs manual touch_offload for raydium touch sensor.

Change-Id: I1e3297f5958d7e2264fc3a3687feeef45620585f
Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
2023-12-06 23:09:52 +05:30
qctecmdr
c535667ea3 Merge "touch: raydium: firmware upgrade to 0.1" 2023-12-05 06:20:34 -08:00
qctecmdr
3e809894c0 Merge "touch: volcano: enable goodix touch compilation for volcano target" 2023-12-05 02:23:29 -08:00
Srikanth Katteboina
5f7922ac8d touch: raydium: firmware upgrade to 0.1
Firmware version upgraded to 0.1.

Change-Id: I09c4daa579d7e0b4b83eba3ae758ff990b9f7d2b
Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
2023-12-05 12:05:09 +05:30
Jyothi bommidi
998604e078 touch: volcano: enable goodix touch compilation for volcano target
Enable goodix touch compilation for volcano target.

Change-Id: Ia5392ab3af579b1d1160dc1588bc91a2825e73b9
Signed-off-by: Jyothi bommidi <quic_jbommidi@quicinc.com>
2023-12-05 11:30:57 +05:30
Srikanth Katteboina
a405414d95 touch: pt: Touch_offload using Glink
Enabled Glink interface for Parade Touch Sensor.

Change-Id: Ie5a63797eec8ed329484d751fbb843f5876a4229
Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
2023-11-26 22:42:23 +05:30
Rui Chen
6207267c95 touch: goodix: vote avdd power grid to the right voltage
On palawan target, TP avdd was loaded on L22B which limited the voltage
from 2700mv to 3400mv and initialized to 2700mv. From the touch side,
the typical voltage is 2.8v~3.2v, and our existing FW was tuned based on AVDD 3.2V.

Change-Id: I4efe51b26cf8de41d0a03bf29b69e3fd07ddabab
Signed-off-by: Rui Chen <quic_ruc@quicinc.com>
2023-11-22 05:45:10 -08:00
qctecmdr
c164ae51f3 Merge "touch: LW: Add support for Bazel to build touch modules" 2023-10-10 02:02:13 -07:00
Sayantan Majumder
2896379d1d touch: LW: Add support for Bazel to build touch modules
Adding support for touch modules to be built with Bazel
for LW WDP.

Change-Id: I2f0b400e959e17329ae8a3a35cad03ebd0d9cad9
Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
Signed-off-by: Sayantan Majumder <quic_smajumde@quicinc.com>
2023-10-09 15:00:57 +05:30
Sayantan Majumder
a0abc9d2dc touch: LW: Add support for Bazel to build touch modules
Add support for touch modules to be built with Bazel
for LW IDP.

Change-Id: Iae6825c816938b810daa400095265222eda2772a
Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
Signed-off-by: Sayantan Majumder <quic_smajumde@quicinc.com>
2023-10-09 14:59:23 +05:30
Srikanth Katteboina
4c103f2d57 touch-drivers: Update hardcoded paths
Change the hardcoded path to store into a variable that can be
changed later according to the usage.

Change-Id: Ie404e26f7d5de986f589c21b988e07331d850093
Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
2023-10-06 15:33:22 +05:30
qctecmdr
e38f30ed95 Merge "touch: enable touch drivers for pitti" 2023-10-04 03:54:34 -07:00
qctecmdr
c2d2bfc26d Merge "touch: goodix: Replace DEVICE_ATTR() with __ATTR()" 2023-10-03 14:23:06 -07:00
Ritesh Kumar
dafcd09657 touch: enable touch drivers for pitti
Add touch driver compilation support for
pitti target.

Change-Id: I2323cdf83a8f582c1e31fb0e7c42e33e05ad4a2e
Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
2023-09-27 00:30:50 +05:30
Rohith Iyer
bdc9f8a9b7 touch: goodix: Replace DEVICE_ATTR() with __ATTR()
For the two nodes goodix_sysfs_update_en_store and
goodix_sysfs_result_show: Since sysfs expects kobj type,
replace DEVICE_ATTR which creates a device, with __ATTR
which creates a kobj.

Change-Id: If571d1c8e18ee4c94f60e7930b9e8ed886e6402e
Signed-off-by: Rohith Iyer <quic_rohiiyer@quicinc.com>
2023-09-15 14:26:50 -07:00
Ritesh Kumar
340864a169 touch: synaptics_tcm: skip creating sysfs nodes
Sysfs nodes are defined as device type. If they
are accessed through kobj type, it leads to CFI
failure.

This change skip creating sysfs node as its not
required for touch functionality.

Ideally all the sysfs node should be refactored
with kobj attribute.

Change-Id: I9ca69799231b0df7b10b637d669b64f5bba76918
Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
2023-09-11 11:09:46 +05:30
Anand Tarakh
ec94fd9408 touch: synaptics_tcm: disable touch irq during suspend
Disable touch irq during suspend.

Change-Id: Ic2c4eac2dece9c4290b04b7936f99b2d3dcbb131
Signed-off-by: Anand Tarakh <quic_atarakh@quicinc.com>
2023-08-21 18:20:44 +05:30
Jyothi bommidi
9125b26673 touch: blair: Add support for Bazel to build touch modules
Add support for touch modules to be built with Bazel for blair.

Change-Id: Ib5c5767a714e6b8534c8d520652226ab3e034018
Signed-off-by: Jyothi bommidi <quic_jbommidi@quicinc.com>
2023-08-08 11:17:17 +05:30
Ritesh Kumar
b452468521 touch: synaptics_tcm: fix race condition between touch isr and resume
During touch resume for the first time, syna_tcm_identify times out when
expected syna_tcm_isr does not come. ISR does not come due to previous
pending ISR. Previous ISR is waiting for mutex lock mod_pool.mutex which
is acquired in syna_tcm_resume function leading to deadlock till timeout.

To fix this, early return from syna_tcm_isr if it is unable to acquire
mod_pool.mutex.

Change-Id: I18be302edfb19270014610451dda97331d78049f
Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
2023-07-19 14:25:02 +05:30
qctecmdr
3db877e297 Merge "touch: trinket: enable touch driver" 2023-07-17 04:43:53 -07:00
Surya Teja Kudiri
e6702160cf touch : raydium : fix reboot issue
use corresponding free api in shutdown and remove.

Change-Id: Id009c764e4007e8bd2e010f8f06e61653df88f21
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2023-07-14 23:07:23 -07:00
Surya Teja Kudiri
c4e8550d3b touch: trinket: enable touch driver
Enable synaptics_tcm touch driver for trinket target.

Change-Id: I7c6233b4f345c52a01ebebb92da2cb7d546ef24f
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2023-07-13 15:01:52 +05:30
Jyothi bommidi
720eb08518 touch: blair: enable goodix touch driver for blair
Add goodix touch config files and enable for blair platform.

Change-Id: I4ba4407459f469dc551083d75aa610d13ef39f51
Signed-off-by: Jyothi bommidi <quic_jbommidi@quicinc.com>
2023-06-28 12:41:43 +05:30
Ritesh Kumar
03a6d6486e touch: bengal: enable touch driver compilation
Enable synaptics_tcm and novatek touch driver compilation
for bengal target.

Change-Id: Iea3ed8fb3f4ddcdf833a36b0f9730c878d63f412
Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
2023-06-23 13:00:33 +05:30
qctecmdr
345e2d0cba Merge "touch: raydium: Fix reboot issue" 2023-06-13 23:40:06 -07:00
Yu Wu
064ab41b8c touch: fix KW issue
KW reported 'val' is used uninitialized, fix it.

Change-Id: I8a563737bb365e8f88716c8aeab64f05c11fa1ab
Signed-off-by: Yu Wu <quic_zwy@quicinc.com>
2023-06-12 15:31:41 +08:00
Surya Teja Kudiri
77e650b9f7 touch: raydium: Fix reboot issue
Fix reboot issue by resolving memory leaks.

Change-Id: I150c6eca0fcd955a701ba3cbe7e29166ec27e8b6
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2023-06-12 00:01:16 -07:00
Raviteja Tamatam
d665495c2c touch: pineapple: qts support for atmel_mxt_ts not enabled
QTS is not used by atmel_mxt_ts and its compilation needs
to be avoided. QTS as seperate ko is needed to enable
this support.

Change-Id: I6473355cb93a29ee3fd9282d7f42534feb89c202
Signed-off-by: Raviteja Tamatam <quic_travitej@quicinc.com>
2023-06-02 11:07:57 -07:00