initial s2w dt2w code import from @showp1984

Signed-off-by: Paul Reioux <reioux@gmail.com>
drivers/video/msm/mdss/mdss_dsi_panel.c
sweep2wake/doubletap2wake: adapt for falcon_umts (aka Moto G)

Signed-off-by: Paul Reioux <reioux@gmail.com>
s2w/dt2w: implement Pocket mode and make the features usable in deep sleep THX to Alin23!!!

Signed-off-by: renderbroken <zkennedy87@gmail.com>
s2w/dt2w: separate PocketMode specific code THX to Alin23!!!

Signed-off-by: renderbroken <zkennedy87@gmail.com>
dt2w: improve accuracy of single touch detection
proximity: power off the sensor if dt2w/s2w is disabled
input: declare variables dependant on s2w/dt2w when the features are disabled