提交图

38 次代码提交

作者 SHA1 备注 提交日期
qctecmdr
11673cbf0c Merge "touch: raydium: Shaking DUT exit traker mode issue" 2024-06-18 02:45:36 -07:00
Akshay Gola
d0a0b026b9 input: touchscreen: raydium: Disable IRQ at deep sleep entry to avoid deep sleep abort
Add check to differentiate between normal and deep sleep suspend
call.

Change-Id: I88e23d101197ef9f3f926fb26523f9d651ee11f9
Signed-off-by: Akshay Gola <quic_agola@quicinc.com>
2024-06-06 15:28:11 +05:30
Zhenbin Tan
f857470e3d touch: raydium: Shaking DUT exit traker mode issue
Enter display setting, set AON off, TTB on, TTW on or off,
back to watch face, wait for auto enter traker mode,
shaking DUT wakeup event will cause exit tracker mode.

Change-Id: I976d16da298c016a429975f13eeb4ca307b67330
Signed-off-by: Zhenbin Tan <quic_zhentan@quicinc.com>
2024-05-30 16:31:35 +08:00
Akshay Gola
8e83dc2639 input: touchscreen: raydium: Disable IRQ on Deep sleep entry
Signed-off-by: Akshay Gola <quic_agola@quicinc.com>
Change-Id: I4fa5624e393186b61d7ba6a8ed65895c5b2b70f1
2024-05-16 22:59:57 -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
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
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
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
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
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
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
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
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
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
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
6414fb04bf touchscreen: raydium: Lower log level
Lower log level in work handler.

Change-Id: Idcd1ce78ce979318542be5684fc286135af5d322
Signed-off-by: ppadasal <quic_ppadasal@quicinc.com>
2022-09-21 16:48:25 +05:30
ppadasal
558808c356 touchscreen: raydium: Change in Key event
Changed key event from KEY_POWER to KEY_WAKEUP in Probe Sequence.

Change-Id: Ifb93b0529af727443d86fd8fad47fed7c70ad48d
Signed-off-by: ppadasal <quic_ppadasal@quicinc.com>
2022-09-21 16:46:54 +05:30
ppadasal
73a5d93a4c touchscreen: raydium: Change Input Key event
Changed key event from KEY_POWER to KEY_WAKEUP.

Change-Id: Ifeed075504a72426af600291457b46f1d0b336ae
Signed-off-by: ppadasal <quic_ppadasal@quicinc.com>
2022-09-21 16:45:51 +05:30
ppadasal
ddda48faec touchscreen: raydium: Both regulators turn off
Add the shutdown callback() in i2c_driver struct.
Keep both regulators should be turn off in release sequence.

Change-Id: Icbfa8d9c9226bce8bf2286f99a18d3385e3b4d45
Signed-off-by: ppadasal <quic_ppadasal@quicinc.com>
2022-09-21 16:44:21 +05:30
ppadasal
6c84669c98 touchscreen: raydium: Fix Touch_to_wake issue with AOD_OFF
New DRM events were added as a part of deep sleep features,
hence added changes to handle DRM events in callback function
and interrupt work handler.

Change-Id: If4ccfb12cb9c6df98eccc1ae5968be8e1225f711
Signed-off-by: ppadasal <quic_ppadasal@quicinc.com>
2022-09-21 16:41:34 +05:30
ppadasal
ac338866d8 touchscreen: raydium: workaround for touch to wake
wakeup gesture status is not observed during touch to wake, hence
simulating
power key for every interrupt.

Change-Id: I28143543b364786874b97b94ac0fe1774ea2dd26
Signed-off-by: ppadasal <quic_ppadasal@quicinc.com>
2022-09-21 16:36:09 +05:30
ppadasal
8402dbcdd9 touchscreen: raydium: Click trigger open camera
Click should not report power key, trigger usercase open camera.

Change-Id: I255d072d1b4f532d6d9e3dbf50310f1bc96b3416
Signed-off-by: ppadasal <quic_ppadasal@quicinc.com>
2022-09-21 16:28:15 +05:30
ppadasal
6110f99f51 touchscreen: raydium: Active panel not select
Active panel not select, display will probe first, then touch probe.

Change-Id: Ib303b87eb265c6c58b37fb1e631153321b282f4b
Signed-off-by: ppadasal <quic_ppadasal@quicinc.com>
2022-09-21 16:15:03 +05:30
ppadasal
37908e1829 touchscreen: raydium: temporary workaround for touch to wake
wakeup gesture status is not observed during touch to wake, hance
simulating
power key for every interrupt.

Change-Id: I1e0221bfbd7f1256971a679a055145c314235dff
Signed-off-by: ppadasal <quic_ppadasal@quicinc.com>
2022-09-21 16:08:38 +05:30
ppadasal
66adec3dd9 touchscreen: raydium: Setting up of DRM notifier
Implementation of DRM notifier callbacks and registration
of callback during touch probing.
Fetching of the active DRM panel from the DSI panels in device
tree and storing in core platform data structure.

Change-Id: I392bd6df50ff5baadf0a13a1da9f61902e575eda
Signed-off-by: ppadasal <quic_ppadasal@quicinc.com>
2022-09-21 15:53:17 +05:30
Srikanth Katteboina
447a6d32fc touch: Request firmware from userspace
Add upgrade mode with request firmware file from userspace.

Change-Id: Ifb4329d39eb8e80c11e6738d173870be94a63ea3
Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
2022-09-21 15:49:55 +05:30
Srikanth Katteboina
e54f813e0a touch: Remove unnecessary log
Remove unnecessary print log and adjust poweron sequence.

Change-Id: I99d34b40f06434146bcc1f438fbfe72bf6e68c2d
Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
2022-09-21 15:49:48 +05:30
Srikanth Katteboina
dedef8c90d touch: exit in probe
Adjust exit labels to avoid the use-after-free issue.

Change-Id: I46368c80014aa3cbb680cf6e9967e20e188c1340
Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
2022-09-21 15:49:34 +05:30
Srikanth Katteboina
03bb25d1f1 touch: fixing compilation errors
fixing compilation errors in raydium driver code.

Change-Id: Ia2b5d1b12c8fe7f5c5832ac5ee656555822ec7db
Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
2022-09-21 15:49:15 +05:30
Srikanth Katteboina
4f002c78b1 touch: Enable and Disable voltages
Added regulator API's for enablement and disablement of voltages for
touch during SUSPEND and RESUME states.

Change-Id: Idfb0f0890700576acb15dfc11fa0118ed8fa94ee
Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
2022-09-21 15:49:09 +05:30
Srikanth Katteboina
d66a17ccb3 touch: Add regulator support
Added regulator support to RM6D030 touch sensor.

Change-Id: I74b2560ae5e02ceea272c15609e7dd624560a5bd
Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
2022-09-21 15:48:56 +05:30
gary-rad-ic
1754154171 touch: add Raydium I2C touchscreen driver
add support to enable Raydium RM6D030 I2C touchscreen driver
Signed-off-by: gary-rad-ic <gary.wu@rad-ic.com>
Git-commit: 014e8a5066b2b04cacaf83fdae80abd840c2f5f6
Git-repo: https://github.com/gary-rad-ic/wearable-touch-driver/tree/RM6D030

Change-Id: Icd877f7f6787c5da14347240f08522b886581b1b
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
2022-09-07 22:54:18 -07:00