drivers/input/touchscreen/touch_synaptics_ds5: add is_single_touch & s2w detection hook

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: aatjitra <aatjitra@gmail.com>
Signed-off-by: Ardi <aatjitra@gmail.com>
sweep2wake: backport per device settings from sweep2wake2 (like pwr btn choice too)

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: aatjitra <aatjitra@gmail.com>
Signed-off-by: Ardi <aatjitra@gmail.com>
drivers/input/touchscreen/touch_synaptics_ds5: disable suspend if sweep2wake is enabled

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: aatjitra <aatjitra@gmail.com>
Signed-off-by: Ardi <aatjitra@gmail.com>
drivers/input/touchscreen/touch_synaptics_ds5: add reset code on finger release

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: aatjitra <aatjitra@gmail.com>
Signed-off-by: Ardi <aatjitra@gmail.com>
drivers/input/touchscreen/touch_synaptics_ds5: add screen suspend indicator

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: aatjitra <aatjitra@gmail.com>
Signed-off-by: Ardi <aatjitra@gmail.com>
sweep2wake: add irq_wake indicator

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: aatjitra <aatjitra@gmail.com>
Signed-off-by: Ardi <aatjitra@gmail.com>
drivers/input/touchscreen/touch_synaptics_ds5: re-add android_touch kobj

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: aatjitra <aatjitra@gmail.com>
Signed-off-by: Ardi <aatjitra@gmail.com>
drivers/input/touchscreen/touch_synaptics_ds5: add missing irq_wake controls and fix c&p typo

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: aatjitra <aatjitra@gmail.com>
Signed-off-by: Ardi <aatjitra@gmail.com>
drivers/input/touchscreen/touch_synaptics: patch with sweep2wake hooks as well

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: aatjitra <aatjitra@gmail.com>
Signed-off-by: Ardi <aatjitra@gmail.com>
drivers/input/touchscreen/touch_synaptics_ds5: fix epic c&p fails for irq_wake indicator

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: aatjitra <aatjitra@gmail.com>
Signed-off-by: Ardi <aatjitra@gmail.com>
mdss_dsi: do not power down panel when sweep2wake is enabled In order to detect touches during suspend, the panel must be powered on. When sweep2wake is enabled, change one of the panel-off-cmds in mdss_dsi_panel.c from 0x10 to 0x11.

Signed-off-by: flar2 <asegaert@gmail.com>
Signed-off-by: aatjitra <aatjitra@gmail.com>
Signed-off-by: Ardi <aatjitra@gmail.com>
mdss_dsi_panel: keep the panel gpio active and don't trigger a reset

This way we will suffer minimum leakage when sweep2wake is being used.
All that is kept online here is the chip controlling the panel and touch panel.
That chip is probably some pmic but either way, keeping it online will cause
minimum leakage. This is an improvement upon the original patch by flar2 which
led to massive leakage from the display regulators since all were kept online.

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: aatjitra <aatjitra@gmail.com>
Signed-off-by: Ardi <aatjitra@gmail.com>
sweep2wake: disable debug

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: aatjitra <aatjitra@gmail.com>
Signed-off-by: Ardi <aatjitra@gmail.com>