defconfig: Remove these bitches
Add defconfig
Signed-off-by: shivamk11 <shivamk11@gmail.com>
defconfig: more additions
Signed-off-by: shivamk11 <shivamk11@gmail.com>
compilation fix up for derpy source from Moto

Signed-off-by: Paul Reioux <reioux@gmail.com>
arch/arm/mach-msm/perf_trace_counters.c: fix moto source derp

Signed-off-by: Paul Reioux <reioux@gmail.com>
A few changes in build script
Ramdisk from Xperience
Add GPE support

Signed-off-by: Blechd0se <alex.christ@hotmail.de>

Conflicts:
	ramdisk/init.target.rc

Conflicts:

	ramdisk/init.target.rc
CPU Underclocking

Signed-off-by: shivamk11 <shivamk11@gmail.com>
Added optimized ARM RWSEM algorithm.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
LCD_KCAL: Color control driver for Moto G
LCD_KCAL: Introduce configurable kcal_min

Lower values such as 0-10 ultimately create a dark, washed out display, if a user accidently sets their kcal values to "0 0 0" they will loose visual control of the device, potentially requiring a hard reboot.
Introduce minimum kcal values to prevent this behavior.

Willing users can disable this protection by setting the kcal_min value to '0', however the default value of 35 is recommended.

sysfs:
echo "1/255" > /sys/devices/platform/kcal_ctrl.0/kcal_min

kcal_min will detect and block values attempting to set lower than itself, resetting the specific values to that of kcal_min. There is also behavior to adjust the kcal if kcal_min is set to a level higher than that of any kcal value(s).

Signed-off-by: shivamk11 <shivamk11@gmail.com>
LCD_KCAL: Prevent out-of-range input values

Signed-off-by: shivamk11 <shivamk11@gmail.com>
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