Skip to content

Commit

Permalink
clk: qcom: gcc-ipq6018: Use floor ops for sdcc clocks
Browse files Browse the repository at this point in the history
SDCC clocks must be rounded down to avoid overclocking the controller.

Fixes: d9db07f ("clk: qcom: Add ipq6018 Global Clock Controller support")
Signed-off-by: Mantas Pucka <mantas@8devices.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/1682413909-24927-1-git-send-email-mantas@8devices.com
  • Loading branch information
Mantas Pucka authored and Bjorn Andersson committed May 25, 2023
1 parent ffd853c commit 56e5ae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clk/qcom/gcc-ipq6018.c
Original file line number Diff line number Diff line change
Expand Up @@ -1654,7 +1654,7 @@ static struct clk_rcg2 sdcc1_apps_clk_src = {
.name = "sdcc1_apps_clk_src",
.parent_data = gcc_xo_gpll0_gpll2_gpll0_out_main_div2,
.num_parents = 4,
.ops = &clk_rcg2_ops,
.ops = &clk_rcg2_floor_ops,
},
};

Expand Down

0 comments on commit 56e5ae0

Please sign in to comment.