aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-02-26 22:34:35 -0500
committerStephen Boyd <sboyd@codeaurora.org>2015-03-27 01:43:30 -0400
commitb3261d768bcdd4b368179ed85becf38c95461848 (patch)
tree844605b17aeb10ce550bb5682413abc3c25c2298 /drivers/clk
parentfe15dedc02e4ee29edfc84bbbf5ee42827e36ac7 (diff)
clk: qcom: Fix ipq806x LCC frequency tables
These frequency tables list the wrong rates. Either they don't have the correct frequency at all, or they're specified in kHz instead of Hz. Fix it. Fixes: c99e515a92e9 "clk: qcom: Add IPQ806X LPASS clock controller (LCC) driver" Tested-by: Kenneth Westfield <kwestfie@codeaurora.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/qcom/lcc-ipq806x.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/clk/qcom/lcc-ipq806x.c b/drivers/clk/qcom/lcc-ipq806x.c
index e4ac699666d5..47f0ac16d149 100644
--- a/drivers/clk/qcom/lcc-ipq806x.c
+++ b/drivers/clk/qcom/lcc-ipq806x.c
@@ -296,14 +296,14 @@ static struct clk_regmap_mux pcm_clk = {
296}; 296};
297 297
298static struct freq_tbl clk_tbl_aif_osr[] = { 298static struct freq_tbl clk_tbl_aif_osr[] = {
299 { 22050, P_PLL4, 1, 147, 20480 }, 299 { 2822400, P_PLL4, 1, 147, 20480 },
300 { 32000, P_PLL4, 1, 1, 96 }, 300 { 4096000, P_PLL4, 1, 1, 96 },
301 { 44100, P_PLL4, 1, 147, 10240 }, 301 { 5644800, P_PLL4, 1, 147, 10240 },
302 { 48000, P_PLL4, 1, 1, 64 }, 302 { 6144000, P_PLL4, 1, 1, 64 },
303 { 88200, P_PLL4, 1, 147, 5120 }, 303 { 11289600, P_PLL4, 1, 147, 5120 },
304 { 96000, P_PLL4, 1, 1, 32 }, 304 { 12288000, P_PLL4, 1, 1, 32 },
305 { 176400, P_PLL4, 1, 147, 2560 }, 305 { 22579200, P_PLL4, 1, 147, 2560 },
306 { 192000, P_PLL4, 1, 1, 16 }, 306 { 24576000, P_PLL4, 1, 1, 16 },
307 { }, 307 { },
308}; 308};
309 309
@@ -362,7 +362,7 @@ static struct clk_branch spdif_clk = {
362}; 362};
363 363
364static struct freq_tbl clk_tbl_ahbix[] = { 364static struct freq_tbl clk_tbl_ahbix[] = {
365 { 131072, P_PLL4, 1, 1, 3 }, 365 { 131072000, P_PLL4, 1, 1, 3 },
366 { }, 366 { },
367}; 367};
368 368