msm: acpuclock-8930: Move 8930 support to use acpuclock-krait
The acpuclock-krait library is an evolution of acpuclock-8960 with
several improvements. By dropping support for older versions of the
Krait processors and taking advantages of features only available on
newer Kraits, acpuclock-krait is both simpler and more efficient than
its predecessor. Key advantages in moving Krait targets to the newer
driver include:
- The ability to write to one CPU's CP15 registers from another CPU.
This means it's possible to change a CPU's clock sources after
power-collapsing it, rather than needing to select a low-power
source while it's still up (which slowed down the hotplug path).
It also means acpuclk_set_rate() can be called from any CPU.
- Dropping of obsolete Krait v1 processor errata workarounds.
- Relocation of SoC-specific data into its own files
- Shorter, more readable code
Change-Id: I90bbb41a47cc7c328b1c669d4001c7df76903f7b
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
diff --git a/arch/arm/mach-msm/devices-8930.c b/arch/arm/mach-msm/devices-8930.c
index a36e7d7..4aff424 100644
--- a/arch/arm/mach-msm/devices-8930.c
+++ b/arch/arm/mach-msm/devices-8930.c
@@ -355,6 +355,11 @@
.id = MSM_BUS_FAB_CPSS_FPB,
};
+struct platform_device msm8930_device_acpuclk = {
+ .name = "acpuclk-8930",
+ .id = -1,
+};
+
static struct fs_driver_data gfx3d_fs_data = {
.clks = (struct fs_clk_data[]){
{ .name = "core_clk", .reset_rate = 27000000 },