Commit Graph

15 Commitit

Tekijä SHA1 Viesti Päivämäärä
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
Surya Teja Kudiri
3958a8c601 touch: paradetech touch driver upgrade
Upgrading parade tech touch driver code from
kernel 5.4 to kernel 5.15.

Change-Id: I0052e905813f0dc2c3a374b10cd6bcb243502673
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2022-11-11 21:51:33 +05:30
Anand Abhishek
a3036855e2 touch: pt: Suspend using debugfs
Enablement of debugfs manual POWER mode suspend for touch

Change-Id: I21c20f07b89db5135e43373ef0eaa2d76d26d6ef
Signed-off-by: Sayantan Majumder <quic_smajumde@quicinc.com>
Signed-off-by: Anand Abhishek <quic_anandabh@quicinc.com>
2022-10-10 02:17:57 -07:00
Anand Abhishek
a362b27156 touch: pt: Add default log level
Change the log level from Maximum to default.

Change-Id: I61efe9747e18d8f1775a385cfb9187a1e5153a30
Signed-off-by: Zhenbin Tan <quic_zhentan@quicinc.com>
Signed-off-by: Anand Abhishek <quic_anandabh@quicinc.com>
2022-10-10 02:17:53 -07:00
Anand Abhishek
85f841d111 touch: pt: deep sleep feature
Enabled deep sleep feature for pt touch sensor.

Change-Id: If598192b2e1fc3535c4f9c9e0a6c56bd712af005
Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
Signed-off-by: Anand Abhishek <quic_anandabh@quicinc.com>
2022-10-10 02:17:49 -07:00
Anand Abhishek
b29e79f702 touch: pt: cancel all pending works
In some scenarios, back to back suspend and resume calls causing
concurrency issues. This change cancel pending queued works before
executing current task.

Change-Id: I1c0971b68a08a4c634767ea1bb6d783f495a1093
Signed-off-by: Srinu Gorle <quic_sgorle@quicinc.com>
Signed-off-by: Anand Abhishek <quic_anandabh@quicinc.com>
2022-10-10 02:17:33 -07:00
Sayantan Majumder
78f5b6be0d touch: Adding default logging level
Updating the logging level to default from maximum

Change-Id: I25f822350d71e7349b9bc6337d754115d8fe0af1
Signed-off-by: Sayantan Majumder <quic_smajumde@quicinc.com>
2022-10-10 02:17:21 -07:00
Srinu Gorle
c54d687364 touch: Add workqueue for suspend
Added work Queues to handle suspend functionality.

Change-Id: I1a7799056cd31d29b36172b5a0c509c9f6312dcd
Signed-off-by: Sayantan Majumder <quic_smajumde@quicinc.com>
2022-10-10 02:17:16 -07:00
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
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
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
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
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