defconfig: enable wheatley
ondemand: Import from franco
Signed-off-by: shivamk11 <shivamk11@gmail.com>
interactive: Import from franco's mako repo and tune it for falcon a bit
Not sure if its gonna work fine

Signed-off-by: shivamk11 <shivamk11@gmail.com>
Revert "interactive: Import from franco's mako repo and tune it for falcon a bit"

This reverts commit 1ecea6e70bbc6715e26d6b475027d99b2b147ad2.
LCD_KCAL: Update mdp_ar_gc_lut_data
initial s2w dt2w code import from @showp1984

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

Signed-off-by: Paul Reioux <reioux@gmail.com>
mdss:mdss_dsi_panel.c: add s2wake/dt2wake screen on/off hooks

Signed-off-by: Paul Reioux <reioux@gmail.com>
s2w: remove all s2sonly code
s2w: Add bidirectional sweep2sleep
sweep2dim: reduce/raise kcal via sweep2sleep gestures

User configurable left->right swipe (brighten) power
sysfs paths:
/sys/module/sweep2wake/parameters/s2d_enabled
/sys/module/sweep2wake/parameters/up_kcal
/sys/module/sweep2wake/parameters/down_kcal

User must disable s2w/s2s while using. Great for insta-privacy if you set the up/down_kcal to 255 or higher :D
Disable sweep2wake:
echo "0" /sys/android_touch/sweep2wake
s2d: send kcal through new function
also turn off display if kcal is <= 0
s2d: Don't send kcal if we're turning off display, or if we're max.
s2d: Record original kcal, if it's max, do not update.
s2d: assign to sysfs in android_touch + cleanup
s2d: Update kcal to 255/255/255 if we're going down
s2d: dont flag the kcal boost if we're writing it later on anyway
s2w: Code cleanup
s2w: Use s2s-only (s2w_switch == 2) properly
s2w: Adjust left->right definitions