input: lge_touch_core: Implement Double tap to wake functionality

If enabled, touchscreen is always powered and user may resume
the device with a double tap on the center of the screen.

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>

Conflicts:
	arch/arm/configs/semaphore_mako_defconfig
	drivers/input/touchscreen/lge_touch_core.c
input: lge_touch_core: Rework double touch to wake functionality

- Refactor the code
- Reduce the delay of i2c retry to 10ms
- Use a wake lock when there is a touch to prevent kernel to suspend
- Implement the pm runtime interface

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>

Conflicts:
	include/linux/input/lge_touch_core.h
cpufreq: ondemand: Unregister input handler during screen off

When screen is off, we don't need input handler for input boost.
This may be triggered when double tap to wake functionality is enabled.

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>

Conflicts:
	drivers/cpufreq/cpufreq_ondemand.c
input: lge_touch_core: Properly destroy wake lock on touch remove

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
input: lge_touch_core: Release all touch events when power on

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
input: lge_touch_core: Remove debug info

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>