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>
backlight: clean the code.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
backlight: add minimum backlight brightness module param.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
backlight: scale max current when the brightness level is below 15 instead of using always 0.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
msm: krait: add CPU Voltage control.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
msm: decrease minimum voltage from 700mV to 600mV.

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