提交图

154 次代码提交

作者 SHA1 备注 提交日期
qctecmdr
af121bae73 Merge "touch: goodix: Change L12B regulator current load to 30mA on resume." 2023-05-24 18:31:49 -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
Rohith Iyer
04709b588a touch: goodix: Set L12B regulator current load for suspend and resume.
Accounts for touch panel current load in L12B regulator,
for enable and disable states.

Change-Id: Ie3668b878ccc5fe3a325e93042d3241ac6787ed1
Signed-off-by: Rohith Iyer <quic_rohiiyer@quicinc.com>
2023-03-28 16:00:50 -07:00
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
qctecmdr
a4b399256f Merge "touch: pt: Stop panel notifier callbacks" 2023-03-19 04:35:36 -07:00
Surya Teja Kudiri
040e6ca732 touch: pt: Stop panel notifier callbacks
Stop panel notifier callbacks upon probe failure.

Change-Id: I8c01d32b8b967cd630e226f45a0c882e3a88e603
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2023-03-16 22:25:37 -07:00
Surya Teja Kudiri
e572c26f33 touch : raydium: resolve KW issues
resolved KW issues in raydium touch driver

Change-Id: I1e922389ade468aada9e5b3eda263f3afe1ff6dc
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2023-03-16 14:55:08 +05:30
qctecmdr
a179dcf563 Merge "touch : Stop panel notifier callbacks" 2023-03-15 05:06:55 -07:00
qctecmdr
2129166840 Merge "touch: derefernce NULL pointer during shutdown" 2023-03-13 22:17:28 -07:00
Surya Teja Kudiri
62215928fd touch : Stop panel notifier callbacks
stop panel notifier callbacks after probe failure.

Change-Id: I2a00c6917e7671e7731e80d95530fe8bb41c9907
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2023-03-02 18:09:38 +05:30
Srikanth Katteboina
3d8efb7b4c touch: pt: Touch_offload using debugfs
Enablement of Debugfs manual touch_offload for PT touch sensor.

Change-Id: I64ce6e92469fb24793375ed7044797b0b8875529
Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
2023-02-24 12:29:25 +05:30
Surya Teja Kudiri
8b1e6c6e0b touch: derefernce NULL pointer during shutdown
dereference NULL pointers during shutdown and remove calls.

Change-Id: Ifae6edbc87d12a3f77cff6d2fd4bb9e4d24591ae
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2023-02-22 12:14:15 +05:30
Surya Teja Kudiri
d4a3f6dc49 touch: focal_tech touch driver upgrade
upgrading focal tech touch driver for kernel 5.15 on
kona target.

Change-Id: I21a1216e617d470f64f087f6c5b2b5ac619b2932
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2023-02-21 11:09:29 +05:30
Surya Teja Kudiri
552e89606c touch: raydium: NULL pointer from TOUCH driver
During reboot,disable irq in shutdown and remove callbacks.

Change-Id: Ifb2af617ae0ddffd9598c50320930319c6280e9b
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2023-02-16 01:53:37 -08:00
Surya Teja Kudiri
1966defdcf touch: raydium: NULL pointer panic from TOUCH driver
During Reboot,Cancel the work and destroy_workqueue and deallocate the
memory for g_raydium_ts in shutdown and remove callbacks.

Change-Id: I8ce1fa9814e3d85fde33d3241cec2f00755b9f06
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2023-02-16 01:14:24 -08:00
Surya Teja Kudiri
0ebf44a4f9 touch: raydium: Handle NULL reference
Handling NULL reference of input_dev during shutdown failure.

Change-Id: If303f4a4cb238272aa696617b57f9bbdd8959b55
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2023-02-13 10:35:45 +05:30
Surya Teja Kudiri
a69bc36df5 touch: raydium: Handling NULL reference
Handing NULL reference of input_dev during probe failure.

Change-Id: I1c41773d0fa4892940e6faae044c211d21095901
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2023-02-10 12:38:44 +05:30
Surya Teja Kudiri
2521a158df touch: raydium: Unregister of Panel_notifier
Implementation of Panel notifier callbacks and unregistration
of callback during touch probing.

Change-Id: I1706d01b99302125e37dd04c94597cf37e004cd0
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2023-02-10 11:36:18 +05:30
Raviteja Tamatam
4ca379016d touch: goodix: fix qts sequence in secure vm case
qts register is skipped when QTI_VM is defined. Fix the
sequence to allow qts register in secure vm cases.

Change-Id: Id9476de998d9598bab125795ad918a066ad7b15d
Signed-off-by: Raviteja Tamatam <quic_travitej@quicinc.com>
2023-01-30 15:22:09 -08:00
qctecmdr
f67743ba90 Merge "touch: remove raydium touch driver for Pineapple target" 2023-01-10 11:46:44 -08:00
qctecmdr
5a362e06c9 Merge "touch: goodix: move qts initialization to after touch power on" 2023-01-09 03:40:49 -08:00
qctecmdr
e27b47cbc1 Merge "touch: goodix: Sleep 100ms after reset operation" 2023-01-09 03:40:49 -08:00
Vara Reddy
d3292bde41 touch: remove raydium touch driver for Pineapple target
Change removes compilation of raydium touch driver which is
not needed for Pineapple.

Change-Id: Ie3088ab8426b855f20c265cde41f458a4105aabe
Signed-off-by: Vara Reddy <quic_varar@quicinc.com>
2023-01-04 15:15:30 -08:00
Surya Teja Kudiri
3574f26e7e touch: Add panel event notifier support
Add panel event notifier support for raydium driver.

Change-Id: I4ebe4ebf8522bb0ecc637aefec69f35a0d426c9e
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2023-01-03 11:02:02 +05:30
Yu Wu
3d03d5839e touch: goodix: Sleep 100ms after reset operation
It is found there might be some i2c NACK error after
power on and reset operation, from goodix datasheet
it is required to wait 100ms after reset operation
before I2C communication, so put a 100ms sleep after
reset.

Change-Id: I2601085f85c83a57bc895915506eaf0c29442678
Signed-off-by: Yu Wu <quic_zwy@quicinc.com>
2022-12-30 15:27:53 +08:00
qctecmdr
302815ce7e Merge "touch: add DRM for raydium for kernel 5.15" 2022-12-21 21:41:12 -08:00
qctecmdr
ed5a3894f6 Merge "touch: fix compilation errors due to kernel upgrade" 2022-12-20 14:51:16 -08:00
Vara Reddy
10ca119f57 touch: fix compilation errors due to kernel upgrade
The value returned by an driver's remove function is ignored
in 6.1 kernel. Modify the function's while keeping backward
compatibility.

Change-Id: I211e7ef822d9febe434b3ab45cd0c711617d85ea
Signed-off-by: jianzhou <quic_jianzhou@quicinc.com>
Signed-off-by: Vara Reddy <quic_varar@quicinc.com>
Signed-off-by: Kirill Shpin <quic_kshpin@quicinc.com>
2022-12-20 13:15:05 -08:00
ppadasal
786e437137 touch: add DRM for raydium for kernel 5.15
Updated panel_event_notifier_register
and panel_event_notifier_unregister
as per kernel 5.15

Change-Id: Ia2e31fa1a8ddd8b047891c2035dc89509f889b0b
Signed-off-by: ppadasal <quic_ppadasal@quicinc.com>
2022-12-19 02:38:08 -08:00
ppadasal
20a6810dae touch: raydium touch driver upgrade
Upgrading raydium tech touch driver code from
kernel 5.4 to kernel 5.15.

Change-Id: I051065cadad60ea9428f38eb18bedbcb3af47797
Signed-off-by: ppadasal <quic_ppadasal@quicinc.com>
2022-12-19 13:54:37 +05:30
Yu Wu
f650cebc81 touch: goodix: move qts initialization to after touch power on
qts initialization will contain an event notifier, sometimes the
qupv engine init fail and causes goodix_ts_power_on failure, it
leads to touch probe function failure. In this case there is no
need to register this notifier, otherwise the resume function may
access resource like irqs, which are not ready because probe failure,
it may cause crash.

Change-Id: I65bf39ec3ca3e2ea92eb84366b75a98ba43b8816
Signed-off-by: Yu Wu <quic_zwy@quicinc.com>
2022-12-15 17:57:20 +08:00
Surya Teja Kudiri
e74f386766 touch: Add panel event notifier support
Add panel event notifier support for parade
tech driver.

Change-Id: I347f9805b19bcd03b23a8ad34130dc1f5b05b3e8
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2022-12-08 02:03:56 -08:00
ppadasal
2892f00748 touch: enable raydium driver
Enable new raydium.
Configuration changes to pick raydium
for compilation.

Change-Id: If3a8f8c425d6702ee5e483a419aaa19907cfc013
Signed-off-by: ppadasal <quic_ppadasal@quicinc.com>
2022-12-07 17:23:33 +05:30
Kirill Shpin
f69760205e touch: removing pt touch for Pineapple target
Change removes compilation of pt touch driver which is
not needed for Pineapple.

Change-Id: Ie79fad0dea645ab9332490eb2bb8549228ad13b4
Signed-off-by: Kirill Shpin <quic_kshpin@quicinc.com>
2022-12-05 18:02:24 -08:00
qctecmdr
20663c4ba9 Merge "touch: goodix: Add more checks for brl_send_config function" 2022-12-01 03:23:31 -08:00
Yu Wu
8ef61bcc10 touch: goodix: Add more checks for brl_send_config function
Add more checks in brl_send_config to ensure the config
data sent by user is valid. Also add more parameter
checks in brl_read_config function.

Change-Id: I6ac69de62e8565dc4bee4befbe3124c60118f3a1
Signed-off-by: Yu Wu <quic_zwy@quicinc.com>
2022-11-30 14:28:45 +08:00
Ritesh Kumar
333d940f96 touch: goodix: fix suspend resume sequence for dual touch case
Touch resume and suspend is done only when core_module_prob_sate
global variable is set to probed state. In case of dual touch,
if secondary probe fails, core_module_prob_sate is updated to
probe failed state. Due to this, suspend or resume calls for
primary touch returns early even though primary touch probe is
successful. This leads to primary touch remain always on.

To fix this, add a new ready variable in touch data structure
and perform suspend or resume operations when ready flag is
set to true.

Change-Id: I7b93a5b3135736caa3e2b5aaf6ff7d8adf4dee9d
Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
2022-11-24 18:54:22 +05:30
qctecmdr
ca51d4f514 Merge "touch: fix compilation errors in touch drivers" 2022-11-17 16:09:29 -08:00
Surya Teja Kudiri
2148065228 touch: Fix regression issue
Fix regression issues for other SI.

Change-Id: I5d39dcc4981f0f5857b96389bfd19615b4a199a4
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2022-11-16 19:36:29 +05:30
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
Surya Teja Kudiri
dd83644578 touch-driver: add KBUILD_OPTIONS for standalone kernel compilation
add KBUILD_OPTIONS for standalone kernel compilation.

Change-Id: I392f3eb1f9fb7414c888da720088de96bd487660
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2022-11-14 16:09:01 +05:30