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>
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>
Enablement of Touch to Wake when contextual mode is off.
Change-Id: I94df963268daae4c50798c43fcb7c151bb2b0186
Signed-off-by: Sachin Kumar Garg <quic_sachinku@quicinc.com>
Adding of wakeup key to wakeup the system during
touch after the display goes to ambient mode.
Change-Id: Ieceb63b093016eda71e1e053ccddce93bdf65447
Signed-off-by: Sachin Kumar Garg <quic_sachinku@quicinc.com>
In power_on function, it already contain reset operation,
so no need to do reset again after power_on, to save time
when do resume operation.
Change-Id: Iba0c5a666b3e25df1e85afa6d5812666ce273922
Signed-off-by: Yu Wu <quic_zwy@quicinc.com>
Correct long press and swiping on the edge of screen.
Change-Id: Id8758fbb1092719f0e0e6db2aa4ac4e9a75cc447
Signed-off-by: Srikanth Katteboina <quic_skattebo@quicinc.com>
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>
Implementation of DRM notifier callbacks and registration
of callback during touch probing.
Change-Id: I56e6d19708e207cee4d63089a73725be30f9cd84
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
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>
Fetching of the active DRM panel from the DSI panels in device
tree and storing in core platform data structure.
Change-Id: I2a10380abb568f483e756bb9d60d5cdae952febe
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
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>
driver context is freed before calling power off sequence,
which is resulting invalid memory access causing system crash.
complete power off sequence before free up driver context.
Change-Id: Ib6665d904d2747ec87a62b47cfadcb91f713ffe6
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
voltage range should fall in between regulator supported range.
updated min voltage from zero to regulator min voltage.
Change-Id: I3df1e2638d69348b0550d175063df2e3ac65cf0d
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
Added regulator API's for enablement and disablement of voltages for touch
during SUSPEND and RESUME state.
Change-Id: Idcf4148d59c6fb23cc1942818585cac19834e4f9
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
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>
This change fixes all the errors of dependent change
Change-Id: Ic52cfcf8dfbd38188573b64299f0500002579588
Signed-off-by: Surya Teja Kudiri <quic_skudiri@quicinc.com>
Avoid qts_bus_put in case of reclaim failures
while handling trusted_touch_abort to prevent
external abort crash.
Change-Id: I2b76d750b28c64990e045570ea661981a2ed6536
Signed-off-by: Raviteja Tamatam <quic_travitej@quicinc.com>
This is a snapshot based on msm-5.4 mainline commit
cd6c99dc8879 ("input: touchscreen: Remove linking
across different modules").
Change-Id: I19cfacad730ba917d54d037958e040bbadca9388
Signed-off-by: Raghu Dudda Papanna <quic_rduddapa@quicinc.com>
Signed-off-by: Nirmal Abraham <quic_c_nabrah@quicinc.com>
Currently when display off, host will send command to make touch
IC enter sleep mode, but from power team's requirement, touch IC
should be totally power off when display off.
Change-Id: Ie97d6f80cd9547b2e40ee3f5674bc0aa7034d2ed
Signed-off-by: Yu Wu <quic_zwy@quicinc.com>
Add changes to support secondary touch with SPI on
goodix driver.
Change-Id: I7bf5ac146b2e2f6d616041fa6aedb3a27be24b8f
Signed-off-by: Raviteja Tamatam <quic_travitej@quicinc.com>
In case of goodix probe failure, avoid core_data being modified
after free.
Change-Id: If22ecdd38b18df7a26a97f80d8f724324c03e7f0
Signed-off-by: Raviteja Tamatam <quic_travitej@quicinc.com>
Add support to selective compile out touch module based
on compile flag.
Change-Id: I0525b7664576740acfeb7febce12e666a9a6c7ba
Signed-off-by: Shashank Babu Chinta Venkata <quic_schintav@quicinc.com>
Add support for dummy touchscreen driver to help boot up the HW
with operating systems requiring at least one input devices in
pre-silicon platforms.
Change-Id: I0bb5c5a3dd2a8d945c3b0ecee738652ec9d2b561
Signed-off-by: Jeykumar Sankaran <quic_jeykumar@quicinc.com>
ESD check causes power consumption issue, so disable
ESD check by default. User can still enable ESD check
by echo 1 to esd_info sysfs node.
Change-Id: I10f339b76bf9cddcdd165c3dd5e6574d85640dbf
Signed-off-by: Yu Wu <quic_zwy@quicinc.com>
During TUI touch transition there is race between irq
handler and tvm_vm_mode_enable/disable. While the irq
handler was running in one thread,tvm_vm_mode_disable
was called removing i2c power resources causing timeout.
Created qts_irq_handler and added transition_lock to
avoid such cases.
Change-Id: I669e24572adb020aca1883353a661c5d0daa546c
Signed-off-by: Raviteja Tamatam <quic_travitej@quicinc.com>
Create trusted_touch_device_path entry that provides
full sys path of the bus device node. It is used by TUI
app to get corresponding touch event in /proc/bus/input.
Change-Id: I872c1404f194db2b636fac5ccd25094f03e58032
Signed-off-by: Raviteja Tamatam <quic_travitej@quicinc.com>