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>
Set parent of touch device so that input device node
path can be obtained by TUI App from /proc/bus/input.
Change-Id: If3cc14e8d2ae64ff0d8f62ab523c089b9b0dd74a
Signed-off-by: Raviteja Tamatam <quic_travitej@quicinc.com>
create sysfs node for secure touch enable and events.
It is independent of bus protocol or device specific path.
Change-Id: I84f3f015fdc81f4c90dd71983baab9616b5eccd0
Signed-off-by: Raviteja Tamatam <quic_travitej@quicinc.com>
QTS framework defines a unified set of APIs that any
vendor touch driver module can implement in order to
seamlessly integrate with value added functionalities
supported by msm display drivers. Define and implement
this framework with an initial support for TUI touch
functionality.
Change-Id: I1785713263af07d58baf613a49f99345d7dddaea
Signed-off-by: Raviteja Tamatam <quic_travitej@quicinc.com>
Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
Invert panel max x and panel max y for scenarios where
IC is mounted inversely.
Signed-off-by: Shashank Babu Chinta Venkata <quic_schintav@quicinc.com>
Revert Makefile;
Adapt driver code for this project.
Change-Id: Ib8f66d1a86cf396d9e43cdb6e1f9ef66595bc4db
Signed-off-by: Fei Mao <quic_feim@quicinc.com>