msm_mpdecision: add input event boost [read more]

This adds an input event boost to mpdecision.
It will basically boost the min freq of all cpus to predefined values if an
input event is detected.
Devices that qualify as boosters must fullfill one of these conditions:
- contain touch in their name
- contain keyboard in their name
This also boosts cpus independently from each other. Meaning:
If a cpu is hotplugged after the boost of another cpu was initiated the next
boost pulse will boost that cpu too.

Sysfs interface underway.

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>

Conflicts:
	arch/arm/mach-msm/msm_mpdecision.c
msm_mpdecision: add sysfs interface for input event boost

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
msm_mpdecision: input event boost: fix not resetting boost if cpu was unplugged before

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
defconfig: update

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
msm_mpdecision: tune hotplug values

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>

Conflicts:
	arch/arm/mach-msm/msm_mpdecision.c
msm_mpdecision: boost: detect changed min frequency and update accordingly

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
msm_mpdecision: boost: don't schedule more check than needed

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
msm_mpdecision: increasing the check delay to 130ms
This change brings us down from 10 to 8 checks each second. The input boost reacts without
delay which is why we don't need to check for hotplugs so often anymore.

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
msm_mpdecision: change frequencies for input boost
This should provide us with a more battery friendly setup in light
usage situations while it still provides the obvious advantages
the input boost gives us (faster reaction).

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
msm_thermal: export if we are currently throttled

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
msm_thermal: fix spacing throughout the whole file

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
msm_thermal: add stats for throttling

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Revert "msm_thermal: remove platform driver"

This reverts commit 705f7b32f714a4a7dab6aacae43a72e3400136c1.
mach-msm: add cmdline_options to kconfig

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
defconfig: update

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
msm_mpdecision: min_cpus & max_cpus should on/offline affected cpus

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
msm_mpdecision: several changes [read more]
reworked cpu_up/down handling which removed redundant code
reworked max/min_cpus settings
reworked suspend/resume handling to obide by these new changes
also reworked locking for per cpu settings

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>

Conflicts:
	arch/arm/mach-msm/msm_mpdecision.c
msm_mpdecision: we only have 2 cores, so don't show more
This had to be redone after the recent picks which changed the
messages.

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>
Revert "cpufreq: fix compile error with percpu cpu_init_done"

This reverts commit 80c4db5185eaf2b1bf0602979c3822458942d35f.
msm_mpdecision: fix missing includes

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>