sweep2wake: remove distinction between S2W and DT2W defines

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
add doubletap2wake, completely rewritten on the s2w template

This is as easy to port as s2w, if not easier since no touchscreen
coords are necessary for it to work.

Just throw it in your tree, force the touchscreen to stay online and
you are done.

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
s2w: abort on multitouch events early

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
dt2w: fix triple tap to wake occuring sometimes

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
drivers/input/touchscreen/doubletap2wake: Fix compilation with earlysuspend

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
drivers/input/touchscreen/sweep2wake: Fix compilation with earlysuspend

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Option to disable touch wake with power button

Signed-off-by: flar2 <asegaert@gmail.com>

Conflicts:
	drivers/video/msm/mdss/mdss_dsi_panel.c
Add option for sweep2sleep only

Signed-off-by: flar2 <asegaert@gmail.com>
restrict to bottom of screen, reduce feather radius, shorten time window, disable near edges

Signed-off-by: flar2 <asegaert@gmail.com>
doubletap2wake: back to full screen, make a bit more sensitive

Signed-off-by: flar2 <asegaert@gmail.com>
fullscreen option

Signed-off-by: flar2 <asegaert@gmail.com>
Make power button also disable irq_wake in touch driver

Signed-off-by: flar2 <asegaert@gmail.com>
fix unbalanced irq_wake

Signed-off-by: flar2 <asegaert@gmail.com>
disable s2w/dt2w after timeout

Signed-off-by: flar2 <asegaert@gmail.com>
Disable by default and remove leftovers

Signed-off-by: flar2 <asegaert@gmail.com>
Wake Timeout: fix dependency

Signed-off-by: flar2 <asegaert@gmail.com>
Add backlight dimmer option

This is based on n5dim by @mzhou  https://github.com/mzhou/n5dim

Signed-off-by: flar2 <asegaert@gmail.com>
More gradual levels for backlight dimmer mod (based on @mzhou module)

Signed-off-by: flar2 <asegaert@gmail.com>
Backlight dimmer mod: more gradual transitions

Signed-off-by: flar2 <asegaert@gmail.com>
backlight: fix a bug where the screen would be completely dark or near darkness with backlight_dimmer enabled when the display dimmed. The brightness level can't be any lower than dev->min_brightness and previous code allowed that to happen, so fix it.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>