msm: devices-msm7x27a: Only 8x25 v2.0 SoC supports 320MHz GPU

Ensure that only 8x25 v2.0 SoC supports 320MHz as GPU frequency. Older
versions can only support 300MHz as max GPU frequency.

Signed-off-by: Ranjhith Kalisamy <ranjhith@codeaurora.org>
(cherry picked from commit 5fb30ef0a28442acd6b7bda755fb5eb55d9e4d87)

Change-Id: I4a9bc0780ef5cbc45e2d69de1df7c9104e32b59c
Signed-off-by: Sivasri Kumar Vanka <sivasri@codeaurora.org>
msm: 8x25: Add MSM ID and Raw ID for 8125

Add new MSM ID and Raw ID for Edge only SoC version

Signed-off-by: Kaushal Kumar <kaushalk@codeaurora.org>
(cherry picked from commit 1f8876a7b9039965b40e8ab4bdabe3257cb58735)

Change-Id: I92b723d0494e29b7e32a93560e066ab355b782fa
Signed-off-by: Gopal G Goberu <ggober@codeaurora.org>
msm: 8x25: board: share the same ADM channel between NAND and eMMC

Currently for MSM8x25, all the SDCC slots share
the same ADM channel. This means both SD and eMMC card slots
will share the same ADM channel. But as SD card can be hot pluggable,
SD card insertion/removal can cause the ADM channel flush which
possibly can affect the ongoing transfer on eMMC (as it shares the
same ADM channel with SD card).

On the other hand, we generally have either eMMC or NAND flash device
active on any platform. So if eMMC is used, NAND won't be used or
mostly not present on board. This means eMMC slot can use the same
ADM channel which NAND uses and this way both SD and eMMC slots will
have separate ADM channel.

Change-Id: Ife16f65c19c2549efd8228a8b399d47bb95878da
Signed-off-by: Pratibhasagar V <pratibha@codeaurora.org>
Signed-off-by: Gopal G Goberu <ggober@codeaurora.org>

Conflicts:

	arch/arm/mach-msm/devices-msm7x27a.c
msm: cpr: Enable support for multiple frequencies switches.

Enable support for CPR which can work with frequencies switches
from the nominal to turbo frequencies and do the appropriate
calculations for the CPR parameters impacted due to it, while at it
use the uV as common parameter for all the calculations to
avoid the rounding in the calculations.

Signed-off-by: Kaushal Kumar <kaushalk@codeaurora.org>
(cherry picked from commit d0e4c819553da22f66df7b0dc8de976838aa2b9b)

Change-Id: Ief9ccbf85257c561331ac326517334348a94711d
Signed-off-by: Gopal G Goberu <ggober@codeaurora.org>
(cherry picked from commit 5a54c738f0e0335f595cc646769c73a387b2c454)

Signed-off-by: Gopal G Goberu <ggober@codeaurora.org>