Revert "LOAD_FREQ (4.61 s) avoids loadavg Moire (thx to Klaus Ripke)"

This reverts commit cd4c9303df606a03d4b95bfa86bcc49a298341c6.
[PATCH] sched: Fix loadavg calculations (patch by AndreiLux: https://gist.github.com/AndreiLux/5411832)
This includes the alteration of the load calculation frequency
by Klaus Ripke <klaus@ripke.com> 'LOAD_FREQ (4*HZ+61) avoids loadavg Moire'
http://ripke.com/loadavg/moire

But correctly alters the timings for 200 HZ devices as in the mobile
space, the original patch is meant for 100 HZ kernels on x86 and other archs.

Furthermore, the exponential constants are completely wrong for the same
reason, they were caluclated and hardcoded for 100 HZ.

From https://lkml.org/lkml/2013/2/1/93 , the exponential math is taken
to fully expand the macro behind those values and to be truly HZ independent.

The 64bit-ness of the above patch is avoided for our ARM purposes.

Change-Id: If2b3479dd26f9666cfcb837488234a9b43fdb6c9
again corrections to LOAD_FREQ calculation (thx again AndreiLux) + added comments how these values actually get calculated

Change-Id: Id43c4e233d2ac4e9564d934b30bac4489a2a482d
migrate.h: fix build

Change-Id: I5b9ec6693a5561f1d994797daa7c1198cbacba54
UKSM: set user permissions
Revert "Revert "leds-an30259a: Blinking control""

This is adding AndreiLux blink control back + reverting led fase control by cm team

This reverts commit c61d90aefce0480af01134be6a89330c4e3b5047.

Conflicts:
	drivers/leds/leds-an30259a.c

Change-Id: I2368454c3d67f1bfd711784174449f154d51a8d8
mms152_ts: TOUCH_BOOST_CONTROL feature

Conflicts:
	drivers/input/touchscreen/mms152_ts.c
	drivers/misc/Kconfig
	drivers/misc/Makefile

Change-Id: I8fabbbd28e667d9e88f7ec7d3d7738aaec2c4481
Finished merging touchscreen mods
enabled and fixed Touch Booster

Change-Id: I918ffb102dc5d3cd9755a67a56623447c87b971e
Touch Boost for i9300 + added some ifdefs around Touch Boost code

Change-Id: I3dbfaca2ab08d5223f5f9f2f72afc54c929ad416
cpufreq: pegasusq: Calculate gradient of CPU load to early increase f…
…requency

ported from this commit: https://github.com/stratosk/samsung-kernel-aries/commit/0d614b9f39017b50c140d7159c15716165f5ed10

Instead of checking only the absolute value of CPU load_freq to increase
frequency, we detect forthcoming CPU load rise and increase frequency
earlier.

Every sampling rate, we calculate the gradient of load_freq. If it is
too steep we assume that the load most probably will go over
up_threshold in next iteration(s) and we increase frequency immediately.

New tuners are introduced:
- early_demand: to enable this functionality (disabled by default).
- grad_up_threshold: over this gradient of load we will increase
frequency immediately.

Change-Id: Ie190364bb99a825731b38175b545591dc63d8a95
Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>

Conflicts:
	drivers/cpufreq/cpufreq_pegasusq.c
removed LCDFreq scaling mechanism. use touch boost instead

Change-Id: Idddcc07007d4d465e5923671b2c410b4b11bccd5
Revert "display: CPUFreq LCDFreq capability & state accounting"

This reverts commit 3476799587d93189a091ba1db26a36603ee43519.
fixed charging while off

Change-Id: I583736f599b02381a9bf837a6433b76f65523df7
bluetooth-bcm4334: Make LPM behave like 4330 implementation

We know the 4330 implementation works on galaxys2-common

We don't have an nRST line so remove that.  Main other
difference is we use the UART LPM stuff based on
mach-u1

Change-Id: Ie953b0fa8c47ca1ebf58ef9eaa5a03265b449071
Revert "Revert "Revert "leds-an30259a: Blinking control"""

This reverts commit bf2e06cbe285ce91fccc7fc9e49abc7bde833633.
init.rc: prepare for STweaks

Change-Id: I04407cf6d42d76cd49b223c10691d7157947ca35
Revert "init.rc: prepare for STweaks"

This reverts commit 948e39675c657e78e1730e6cdfe0323c0771f568.
devil.sh: prepare for STwaeks part2

Change-Id: I98d3bac70946eed9e7a7a539d803666a20568ded
Revert "devil.sh: prepare for STwaeks part2"

This reverts commit 1512026d0f0129972b06b3ccf287799d0440f16c.