msm: avs: Remove vestigial software based AVS

Older targets like 8x50 had the first version of Apdaptive Voltage
Scaling done in software. This feature was never enabled and supported.
Remove the code and the associated config items.

Change-Id: If3bdab7d0bdb5d51e099f7c37f56592826edc102
Signed-off-by: Praveen Chidambaram <pchidamb@codeaurora.org>

Conflicts:
	arch/arm/mach-msm/Makefile
	arch/arm/mach-msm/avs.c
	arch/arm/mach-msm/avs.h
	arch/arm/mach-msm/avs_hw.S
msm: AVS: Refactor and clean up avs_hw.S to avs.c

Refactor AVS API to a cleaner C implementation. The new implementation
uses C assembly functions and provides a cleaner way for future targets
to add new AVS functionality.

Also fixed a possible issue with the earlier AVS_ENABLE and AVS_DISABLE
implementations. The earlier implementation did a get_cpu() and compared
it against the cpu for which AVS was to to be disabled, if the cpu's did
not match then it did not return an error and avs could have been left
enabled during the voltage change. In this new implementation, enable
and disable use smp_call_function_single() to ensure that the enable and
disable indeed happen on the core requested.

If acpuclock_set_rate() was called on the right core correctly during
cpufreq frequency change, there would have been no issue, but newer
implementation of mach-msm/cpufreq.c does not gaurantee that.

Change-Id: I94db3fc70341ceb79d747d54c7f525056b377755
Signed-off-by: Praveen Chidambaram <pchidamb@codeaurora.org>

Conflicts:
	arch/arm/mach-msm/Makefile
	arch/arm/mach-msm/avs.h
msm: board-8960: Remove disable AVS for 8960AB

AVS registers in SPM were reset to 0 for 8960AB target. Remove the
values to enable AVS.

Change-Id: I53cf06b031d71ed0441f06d946ffe91d19294907
Signed-off-by: Praveen Chidambaram <pchidamb@codeaurora.org>
Signed-off-by: Anji Jonnala <anjir@codeaurora.org>
msm: acpuclock-8960ab: Support AVS in 8960ab

Add data for AVS in all PVS bins. Per experiment, this saves several
mA of current in graphics/video playback usecases.

Change-Id: Ifcee9c3f909da156771396df8aaba6baca9bcd98
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>

Conflicts:
	arch/arm/mach-msm/acpuclock-8960ab.c