Commit Graph

193 Commitit

Tekijä SHA1 Viesti Päivämäärä
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
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
qctecmdr
adcc1a0202 Merge "touch: pineapple: Enabling bazel build for touch modules." 2023-05-24 18:31:49 -07:00
qctecmdr
af121bae73 Merge "touch: goodix: Change L12B regulator current load to 30mA on resume." 2023-05-24 18:31:49 -07:00
Simranjeet Thind
b0624f68e4 touch: pineapple: Enabling bazel build for touch modules.
Allowing bazel build to generate touch modules for pineapple.

Change-Id: Id291374269f0ecdac3d0b87a078bca7d6c46c576
Signed-off-by: Simranjeet Thind <quic_sthind@quicinc.com>
2023-05-24 15:11:59 -07:00
Simranjeet Thind
18a6eaa6c7 touch: goodix: Change L12B regulator current load to 30mA on resume.
Increasing the load current for touch IC to 30mA from 14mA to avoid
the regulator from going into LPM, as some touch panels are drawing 
more power.

Change-Id: I0f2551e91ce0d33904f4874173e3af00c2ecbc58
Signed-off-by: Simranjeet Thind <quic_sthind@quicinc.com>
2023-05-23 11:21:15 -07:00
qctecmdr
24f6cb3422 Merge "touch: pineapple: Add support for Bazel to build touch modules" 2023-05-22 03:26:58 -07:00
Anand Tarakh
338c03659c touch: crow: enable touch drivers for crow
Add touch config files and enable for crow platform.

Change-Id: Ia4b3ee2c81d396fee2b9ddd1b5278d46597c9d33
Signed-off-by: Anand Tarakh <quic_atarakh@quicinc.com>
2023-05-19 01:31:33 -07:00
Ritesh Kumar
18444e7144 touch: blair: enable touch drivers for blair
Add touch config files and enable for blair platform.

Change-Id: I16e3fcdc3a5e8faab0804db24f10563e873bd594
Signed-off-by: Jyothi bommidi <quic_jbommidi@quicinc.com>
Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
2023-05-19 13:56:02 +05:30
Ritesh Kumar
b8201e85e3 touch: kalama: Removing synaptics driver for kalama.
Resolving Compilation errors by removing synaptics_tcm_ts.ko
for kalama platform.

Change-Id: I493f367d2c74317f08e7fdd25d57ed4a3f96bc93
Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
2023-05-19 13:44:21 +05:30
Simranjeet Thind
e536a52345 touch: pineapple: Add support for Bazel to build touch modules
Add support for touch modules to be built with Bazel for pineapple.

Change-Id: Idf7527318a36ea33e60ba95aadb03a107f2e7205
Signed-off-by: Simranjeet Thind <quic_sthind@quicinc.com>
2023-05-10 10:29:54 -07:00
Simranjeet Thind
56fcf3d4d4 touch: pineapple: Removing synaptics driver for pineapple.
Resolving Compilation errors by removing synaptics_tcm_ts.ko
for pineapple platform.

Change-Id: I8c5e64fbfce60453fa38e9aba30c5977e4606d33
Signed-off-by: Simranjeet Thind <quic_sthind@quicinc.com>
2023-03-31 23:17:52 -07:00
Simranjeet Thind
69fec10e97 touch: pineapple: Replacing disable_irq with disable_irq_nosync
disable_irq ensures existing instances of the IRQ handler have
completed before returning which may create a deadlock if the handler
doesn't find the resource.

Change-Id: I7010d2a415f97de5ece8119b855c169ffba665b7
Signed-off-by: Simranjeet Thind <quic_sthind@quicinc.com>
2023-03-29 12:18:46 -07:00
qctecmdr
39f8669b0f Merge "touch: qts: Rename Gunyah RM APIs" 2023-03-29 11:14:26 -07:00
qctecmdr
bf5261e2ee Merge "touch: goodix: Set L12B regulator current load for suspend and resume." 2023-03-29 09:39:58 -07:00