intelli_plug: add automatic dual-core initializations

Signed-off-by: Paul Reioux <reioux@gmail.com>
intelli_plug: deprecate eco mode. replaced by built-in profile

bump version to 3.5

Signed-off-by: Paul Reioux <reioux@gmail.com>

Conflicts:
	arch/arm/mach-msm/intelli_plug.c

Conflicts:
	arch/arm/mach-msm/intelli_plug.c
intelli_plug: add eco-extreme profile for more dual core use options

Signed-off-by: Paul Reioux <reioux@gmail.com>
intelli_plug: post 3.5 tweaks and code clean up

bump to version 3.6

Signed-off-by: Paul Reioux <reioux@gmail.com>
intelli_plug: move to its own directory. It's been cross platform for a while

intelli_plug driver has been working on OMAP44xx, TEGRA 3, Exynos and
MSM Krait/Cortex multi-core SOCs.  So it doesn't make sense to patch on a per
SOC basis, move it to its own ARM platform independent folder so patches can
apply to all supported ARM platforms

Signed-off-by: Paul Reioux <reioux@gmail.com>

Conflicts:
	arch/arm/mach-msm/Kconfig
	arch/arm/mach-msm/Makefile

Conflicts:
	arch/arm/mach-msm/Kconfig
intelli_plug: unify powersuspend and earlysuspend drivers

also minor clean up on the persist logic

bump to version 3.7

Signed-off-by: Paul Reioux <reioux@gmail.com>
intelli_plug: adjust thread capacity for Cortex A7 SOCs

Cortex A7 is much weaker than Krait processors

Signed-off-by: Paul Reioux <reioux@gmail.com>
intelli_plug: fix thread capacity threshold calculation

Signed-off-by: Paul Reioux <reioux@gmail.com>
intelli_plug: fix logic error for eco mode profiles

Signed-off-by: Paul Reioux <reioux@gmail.com>
cpufreq: enable/disable cpu-boost via sysfs
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).

Conflicts:
	arch/arm/mach-msm/board-htc-8974.c
LCD_KCAL: Prevent out-of-range input values
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

Conflicts:
	drivers/input/touchscreen/sweep2wake.c
	ramdisk/init.furnace.sh

Conflicts:
	ramdisk/init.furnace.sh
s2d: Update kcal to 255/255/255 if we're going down