* [PATCH v2] clk: qcom: gcc-ipq6018: Use floor ops for sdcc clocks
@ 2023-04-25 9:11 Mantas Pucka
2023-04-25 13:44 ` Konrad Dybcio
2023-05-25 4:54 ` Bjorn Andersson
0 siblings, 2 replies; 3+ messages in thread
From: Mantas Pucka @ 2023-04-25 9:11 UTC (permalink / raw)
To: Bjorn Andersson, Andy Gross, Konrad Dybcio, Michael Turquette,
Stephen Boyd
Cc: linux-arm-msm, linux-clk, linux-kernel, Mantas Pucka
SDCC clocks must be rounded down to avoid overclocking the controller.
Fixes: d9db07f088af ("clk: qcom: Add ipq6018 Global Clock Controller support")
Signed-off-by: Mantas Pucka <mantas@8devices.com>
---
v2: remove unnecessary newline in commit message
drivers/clk/qcom/gcc-ipq6018.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/qcom/gcc-ipq6018.c b/drivers/clk/qcom/gcc-ipq6018.c
index 3f9c2f61a5d9..5c5d1b04ea7a 100644
--- a/drivers/clk/qcom/gcc-ipq6018.c
+++ b/drivers/clk/qcom/gcc-ipq6018.c
@@ -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,
},
};
--
2.7.4
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] clk: qcom: gcc-ipq6018: Use floor ops for sdcc clocks
2023-04-25 9:11 [PATCH v2] clk: qcom: gcc-ipq6018: Use floor ops for sdcc clocks Mantas Pucka
@ 2023-04-25 13:44 ` Konrad Dybcio
2023-05-25 4:54 ` Bjorn Andersson
1 sibling, 0 replies; 3+ messages in thread
From: Konrad Dybcio @ 2023-04-25 13:44 UTC (permalink / raw)
To: Mantas Pucka, Bjorn Andersson, Andy Gross, Michael Turquette,
Stephen Boyd
Cc: linux-arm-msm, linux-clk, linux-kernel
On 4/25/23 10:11, Mantas Pucka wrote:
> SDCC clocks must be rounded down to avoid overclocking the controller.
>
> Fixes: d9db07f088af ("clk: qcom: Add ipq6018 Global Clock Controller support")
> Signed-off-by: Mantas Pucka <mantas@8devices.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Konrad
> v2: remove unnecessary newline in commit message
>
> drivers/clk/qcom/gcc-ipq6018.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/clk/qcom/gcc-ipq6018.c b/drivers/clk/qcom/gcc-ipq6018.c
> index 3f9c2f61a5d9..5c5d1b04ea7a 100644
> --- a/drivers/clk/qcom/gcc-ipq6018.c
> +++ b/drivers/clk/qcom/gcc-ipq6018.c
> @@ -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,
> },
> };
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] clk: qcom: gcc-ipq6018: Use floor ops for sdcc clocks
2023-04-25 9:11 [PATCH v2] clk: qcom: gcc-ipq6018: Use floor ops for sdcc clocks Mantas Pucka
2023-04-25 13:44 ` Konrad Dybcio
@ 2023-05-25 4:54 ` Bjorn Andersson
1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Andersson @ 2023-05-25 4:54 UTC (permalink / raw)
To: Konrad Dybcio, Stephen Boyd, Andy Gross, Michael Turquette, Mantas Pucka
Cc: linux-clk, linux-arm-msm, linux-kernel
On Tue, 25 Apr 2023 12:11:49 +0300, Mantas Pucka wrote:
> SDCC clocks must be rounded down to avoid overclocking the controller.
>
>
Applied, thanks!
[1/1] clk: qcom: gcc-ipq6018: Use floor ops for sdcc clocks
commit: 56e5ae0116aef87273cf1812d608645b076e4f02
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-05-25 4:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-25 9:11 [PATCH v2] clk: qcom: gcc-ipq6018: Use floor ops for sdcc clocks Mantas Pucka
2023-04-25 13:44 ` Konrad Dybcio
2023-05-25 4:54 ` Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®