Cleanup config
cpufreq: Add pegasusqplus governor

This is an adaption of the pegasusq governor from Perseus Samsung JB kernel.

All credits to AndreiLux.

Change-Id: I44238ae731cfd1a8c2b2d6fe1dc687325e076ac3

Conflicts:
	drivers/cpufreq/Kconfig
	drivers/cpufreq/Makefile

Conflicts:
	drivers/cpufreq/Kconfig
	drivers/cpufreq/Makefile
ARM: 7011/1: Add ARM cpu topology definition

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

Change-Id: I3b38567e004fd78bc0580e52ae318e8702a5dd75
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
ARM: 7182/1: ARM cpu topology: fix warning

kernel/sched.c:7354:2: warning: initialization from incompatible pointer type

Align cpu_coregroup_mask prototype interface with sched_domain_mask_f typedef
use int cpu instead of unsigned int cpu

Change-Id: Id6e47426eae0f330153fe13c0c1d32376c01901f
Cc: <stable@vger.kernel.org>
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
ARM: topology: save cpu id of each core

Change-Id: Iea5aeadd9e416f10590a74805eba6ea5a955c469
ARM: topology: Update topology according to current sched_mc mode

Change-Id: I774d3ef904d114f546aa702552947635da6963e4
ARM: topology: Add a cpu_power function

Change-Id: I473823e213983c2dd34185f709667411c963e3cc
ARM: topology: Add a topology update notification

Change-Id: I2c775259a77d278cebd0aa711e4c42ddcfcbd8d8
ARM: cpu topology: Add asym topology flag for using cpu0 1st

Modify the CPU sched_domain flags in powersave mode for using the cpu0 in ched_mc powersave mode

Change-Id: I48c5d14c924291bad8a28b695c73240040e51c8a
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
ARM: cpu topology: add debugfs

Change-Id: I1d80715d378f2c92b0502229907c45460c43139b
sched_features: enable arch_power

Change-Id: I5e9b940abceba92cd46c7f47cb86ddba18115a95
Enable cpu topology and sched mc

Change-Id: I80baaabe6300cea33016b49906d172a95d914b39
Signed-off-by: Josue Rivera <prbassplayer@gmail.com>
cpufreq: Revert nr_running() logic back to stock pegasusq implementation in pegasusqplus governor

Change-Id: Ib3da4056fbc3b4ab62454882ec6eb4d77d25cb79
Enable Pegasus+

Change-Id: Idbb7987f8cfa2b919c60c514d7e7314cf7596d24
Signed-off-by: Josue Rivera <prbassplayer@gmail.com>

Conflicts:
	arch/arm/configs/slim_t0lte_defconfig

Conflicts:
	arch/arm/configs/slim_t0lte_defconfig
smdk4412: Add barriers to Boeffla

  * Lets add correct ifdef barriers for Boeffla

Change-Id: Ifcbac6a59ff2139a2e6bdffbea7b07e88c41f384
Signed-off-by: Josue Rivera <prbassplayer@gmail.com>
sound-soc: wm8994: Add voodoo_sound implementation
Courtesy of Gökhan Moral of Siyahkernel

Change-Id: Ifff46fce2abecc28c6063fdb8e8f442dfd2bd5e6
wm8994_voodoo: remove delay on wm8994_write and reapply settings on WM8994_POWER_MANAGEMENT_1 change

Change-Id: I7010c80e3cdf0b11d2ea8b102e70be6bd7820df3
sound-voodoo: Altered jack detection and sound fixes

Add T0 and M3 device conditionals to disable the call detection as we use a different register path over M0.
Use the android_switch mechanism for the jack detection as it is more reliable.

Change-Id: I3ea734c13378563c46a20c7decc4323516c6dde4
sound-soc: Custom sound control

Based on Boeffla sound (Andip71) with rewrite of sysinterface and code refactoring.

Change-Id: I15bc637a6595378dbb6a60cce9af73fa63af64f1
sound-control: Fix band input and circumvent call detection

Change-Id: Ifa9d16ffc25db0d5050c58f12aa216b828c224ad