Revert "Added Custom Voltage version 3."

This reverts commit a30f77574ecf3d8ee7c23803599aac4c692d58e1.

Conflicts:
	drivers/misc/Kconfig
	drivers/misc/Makefile
Revert "Revert "Added Custom Voltage version 1.""

This reverts commit 9489d6e58c90fac28ddeadb1d3f569552c7ebecb.

Signed-off-by: artas182x <artas182x@gmail.com>
Add ARM cpu topology definition

(Patch accepted by Russell for 3.1:
http://www.spinics.net/lists/arm-kernel/msg131273.html)

The affinity between ARM processors is defined in the MPIDR register.
We can identify which processors are in the same cluster,
and which ones have performance interdependency. We can define the
cpu topology of ARM platform, that is then used by sched_mc and sched_smt.

The default state of sched_mc and sched_smt config is disable.
When enabled, the behavior of the scheduler can be modified with
sched_mc_power_savings and sched_smt_power_savings sysfs interfaces.

Changes since v4 :
*  Remove unnecessary parentheses and blank lines

Changes since v3 :
* Update the format of printk message
* Remove blank line

Changes since v2 :
* Update the commit message and some comments

Changes since v1 :
* Update the commit message
* Add read_cpuid_mpidr in arch/arm/include/asm/cputype.h
* Modify header of arch/arm/kernel/topology.c
* Modify tests and manipulation of MPIDR's bitfields
* Modify the place and dependancy of the config
* Modify Noop functions

Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Amit Kucheria <amit.kucheria@verdurent.com>
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: artas182x <artas182x@gmail.com>
ARM: omap2+: cpufreq: Allow lower maximum frequency when screen is off

Allow userspace to set a lower maximum cpu frequency when the screen
is off.  Ideally userspace should be handling this, but use early
suspend for now.

Change-Id: Ifacd7312757318f10e5600ed9ffec8039cb4bf9b
Signed-off-by: Colin Cross <ccross@android.com>

Conflicts:

	arch/arm/mach-omap2/omap2plus-cpufreq.c
Signed-off-by: artas182x <artas182x@gmail.com>
Test