cpufreq: intelliactive: adjust tunables for MSM8226 devices

Signed-off-by: Paul Reioux <reioux@gmail.com>
intelliactive: fix race condition when unregistering input handlers

Signed-off-by: Paul Reioux <reioux@gmail.com>
intelliactive: make touch boost interface generic

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

Conflicts:
	drivers/cpufreq/cpufreq_intelliactive.c
intelliactive: add upstream patches

Signed-off-by: Paul Reioux <reioux@gmail.com>
update intellidemand
Revert "cpufreq: intelliactive: initial coding and introduction!"

This reverts commit 99dee6a51e68882a55941c40010f5ad8895e17aa.

Conflicts:
	drivers/cpufreq/cpufreq_intelliactive.c
Fix merge
cpufreq: intelliactive: initial coding and introduction!

intelliactive is based on Latest Google Interactive cpufreq governor from
Google.  The original Interactive provides smooth UI operations but suffers
slight battery drain due to its aggressive policies.  Intelliactive is an
improvement built on top of it.

It has the following enhancements added:
1. self-boost capability from input drivers (no need for PowerHAL assist)
2. two phase scheduling (idle/busy phases to prevent from jumping directly to
   max freq
3. Checks for offline cpus and short circuits some unnecessary checks to
   improve code execution paths
4. removed trace calls

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: Chester Kener <Cl3Kener@gmail.com>
cpufreq: intelliactive: adjust tunables for MSM8226 devices

Signed-off-by: Paul Reioux <reioux@gmail.com>
intelliactive: fix race condition when unregistering input handlers

Signed-off-by: Paul Reioux <reioux@gmail.com>
intelliactive: make touch boost interface generic

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

Conflicts:
	drivers/cpufreq/cpufreq_intelliactive.c
intelliactive: add upstream patches

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

Conflicts:
	drivers/cpufreq/Kconfig
	drivers/cpufreq/Makefile
Add Nightmare Gov

Credit: @CPA-Poke i had the others in the commit

https://github.com/LiquidSmooth/android_kernel_samsung_jf/commit/b44e67ce2e8d6fd1b57838b66354c669595d5fb0
Add Asswax Gov

Credit: @CPA-Poke i had the other gov's in this commit

https://github.com/LiquidSmooth/android_kernel_samsung_jf/blob/ca1b2fdec2855e0d3b5ea1ed63d164542d133298/drivers/cpufreq/cpufreq_asswax.c

Conflicts:
	arch/arm/configs/deathly_d2_defconfig
cpufreq: PegasusQ

Signed-off-by: Chester Kener <Cl3Kener@gmail.com>

Conflicts:
	drivers/cpufreq/Makefile
	include/linux/cpufreq.h

Conflicts:
	arch/arm/configs/deathly_d2_defconfig
cpufreq: Add Lazy

Signed-off-by: Chester Kener <Cl3Kener@gmail.com>

Conflicts:
	drivers/cpufreq/Makefile

Conflicts:
	arch/arm/configs/deathly_d2_defconfig
cpufreq: Introduce Uberdemand

* Ondemand CPU governor with 2nd phase tunable since I missed that feature. Cap is set at 1728 MHz which seems to do well.

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

Conflicts:
	drivers/cpufreq/Makefile
uberdemand: simplify code

* Or in otherwords overhaul the whole thing because there are lots of things I don't care for.

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
cpufreq: Introduce Darkness

*But a simplified version of it compatible with the N5.  Full version was not made for this device.

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

Conflicts:
	drivers/cpufreq/Makefile

Conflicts:
	drivers/cpufreq/Makefile