clk: qcom: Fix ipq806x LCC frequency tables
Subsystems (3)
PATCH 1/1 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"
Cc Kenneth Westfield <[email protected]>
Signed-off-by Stephen Boyd <[email protected]>
--- drivers/clk/qcom/lcc-ipq806x.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
drivers/clk/qcom/lcc-ipq806x.c +9 -9
@@ -294,14 +294,14 @@ static struct clk_regmap_mux pcm_clk = { };static struct freq_tbl clk_tbl_aif_osr[] = { - {22050 ,P_PLL4 ,1 ,147 ,20480 }, - {32000 ,P_PLL4 ,1 ,1 ,96 }, - {44100 ,P_PLL4 ,1 ,147 ,10240 }, - {48000 ,P_PLL4 ,1 ,1 ,64 }, - {88200 ,P_PLL4 ,1 ,147 ,5120 }, - {96000 ,P_PLL4 ,1 ,1 ,32 }, - {176400 ,P_PLL4 ,1 ,147 ,2560 }, - {192000 ,P_PLL4 ,1 ,1 ,16 }, + {2822400 ,P_PLL4 ,1 ,147 ,20480 }, + {4096000 ,P_PLL4 ,1 ,1 ,96 }, + {5644800 ,P_PLL4 ,1 ,147 ,10240 }, + {6144000 ,P_PLL4 ,1 ,1 ,64 }, + {11289600 ,P_PLL4 ,1 ,147 ,5120 }, + {12288000 ,P_PLL4 ,1 ,1 ,32 }, + {22579200 ,P_PLL4 ,1 ,147 ,2560 }, + {24576000 ,P_PLL4 ,1 ,1 ,16 }, { }, };
@@ -360,7 +360,7 @@ static struct clk_branch spdif_clk = { };static struct freq_tbl clk_tbl_ahbix[] = { - {131072 ,P_PLL4 ,1 ,1 ,3 }, + {131072000 ,P_PLL4 ,1 ,1 ,3 }, { }, };
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
Quoted 10 lines · Stephen Boyd
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"Cc Kenneth Westfield <[email protected]>Signed-off-by Stephen Boyd <[email protected]>--- drivers/clk/qcom/lcc-ipq806x.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
Verified audio functionality on the Storm board (w/o SPDIF).
Tested-by Kenneth Westfield <[email protected]>
Signature · 4 lines
Kenneth Westfield Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
Stephen Boyd
AppliedQuoted 12 lines · Kenneth Westfield
Quoted 10 lines · Stephen Boyd
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"Cc Kenneth Westfield <[email protected]>Signed-off-by Stephen Boyd <[email protected]>--- drivers/clk/qcom/lcc-ipq806x.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
Quoted 4 lines
Verified audio functionality on the Storm board (w/o SPDIF).
Tested-by Kenneth Westfield <[email protected]>
Applied to clk-next
Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project