msm: clock-local: Add PXO rates for LPASS clocks on 8660, 8960, 8930, 8064
LPASS clock are enabled out of reset on these SoCs, with PXO selected
as their undivided source. Because PXO rates are not present in the
frequency tables however, these clocks fail to handoff with reason
'HANDOFF_UNKNOWN_RATE'. As a result, clock_late_init() does not attempt
to disable these clocks in lateinit.
Add PXO rates to the LPASS frequency tables so that handoff succeeds
and, in lateinit, disables them if they are not used.
(cherry picked from commit ac15a37fd85089a2aef16624140a5d0a6cd1d71b)
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
Change-Id: Id8d674bfa3d41316be8aa14c5cc84baa77078d23
Signed-off-by: Neha Pandey <nehap@codeaurora.org>
diff --git a/arch/arm/mach-msm/clock-8x60.c b/arch/arm/mach-msm/clock-8x60.c
index bc57c3b..609db6e 100644
--- a/arch/arm/mach-msm/clock-8x60.c
+++ b/arch/arm/mach-msm/clock-8x60.c
@@ -2975,6 +2975,7 @@
F_AIF_OSR( 8192000, pll4, 2, 1, 33),
F_AIF_OSR(12288000, pll4, 4, 1, 11),
F_AIF_OSR(24576000, pll4, 2, 1, 11),
+ F_AIF_OSR(27000000, pxo, 1, 0, 0),
F_END
};
@@ -3000,7 +3001,7 @@
.c = { \
.dbg_name = #i "_clk", \
.ops = &clk_ops_rcg, \
- VDD_DIG_FMAX_MAP1(LOW, 24576000), \
+ VDD_DIG_FMAX_MAP1(LOW, 27000000), \
CLK_INIT(i##_clk.c), \
}, \
}
@@ -3069,6 +3070,7 @@
F_PCM( 8192000, pll4, 2, 1, 33),
F_PCM(12288000, pll4, 4, 1, 11),
F_PCM(24580000, pll4, 2, 1, 11),
+ F_PCM(27000000, pxo, 1, 0, 0),
F_END
};