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>
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>
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>
Click should not report power key, trigger usercase open camera.
Change-Id: I255d072d1b4f532d6d9e3dbf50310f1bc96b3416
Signed-off-by: ppadasal <quic_ppadasal@quicinc.com>
Active panel not select, display will probe first, then touch probe.
Change-Id: Ib303b87eb265c6c58b37fb1e631153321b282f4b
Signed-off-by: ppadasal <quic_ppadasal@quicinc.com>
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>
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>
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>
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>