* [PATCH] clk: qcom: gcc-sm6115: Use floor_ops for SDCC1/2 core clk
@ 2022-12-09 12:39 Konrad Dybcio
2022-12-10 15:03 ` Iskren Chernev
2022-12-28 4:36 ` Bjorn Andersson
0 siblings, 2 replies; 3+ messages in thread
From: Konrad Dybcio @ 2022-12-09 12:39 UTC (permalink / raw)
To: linux-arm-msm, andersson, agross, krzysztof.kozlowski
Cc: patches, Konrad Dybcio, Michael Turquette, Stephen Boyd,
Iskren Chernev, linux-clk, linux-kernel
Just like in case of other SoCs change SDCC1/SDCC2 ops
to floor to avoid overclocking the controller.
Fixes: cbe63bfdc54f ("clk: qcom: Add Global Clock controller (GCC) driver for SM6115")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
drivers/clk/qcom/gcc-sm6115.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/qcom/gcc-sm6115.c b/drivers/clk/qcom/gcc-sm6115.c
index 565f9912039f..5b8222fea2f7 100644
--- a/drivers/clk/qcom/gcc-sm6115.c
+++ b/drivers/clk/qcom/gcc-sm6115.c
@@ -1258,7 +1258,7 @@ static struct clk_rcg2 gcc_sdcc1_apps_clk_src = {
.name = "gcc_sdcc1_apps_clk_src",
.parent_data = gcc_parents_1,
.num_parents = ARRAY_SIZE(gcc_parents_1),
- .ops = &clk_rcg2_ops,
+ .ops = &clk_rcg2_floor_ops,
},
};
@@ -1305,7 +1305,7 @@ static struct clk_rcg2 gcc_sdcc2_apps_clk_src = {
.name = "gcc_sdcc2_apps_clk_src",
.parent_data = gcc_parents_11,
.num_parents = ARRAY_SIZE(gcc_parents_11),
- .ops = &clk_rcg2_ops,
+ .ops = &clk_rcg2_floor_ops,
.flags = CLK_OPS_PARENT_ENABLE,
},
};
--
2.38.1
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] clk: qcom: gcc-sm6115: Use floor_ops for SDCC1/2 core clk
2022-12-09 12:39 [PATCH] clk: qcom: gcc-sm6115: Use floor_ops for SDCC1/2 core clk Konrad Dybcio
@ 2022-12-10 15:03 ` Iskren Chernev
2022-12-28 4:36 ` Bjorn Andersson
1 sibling, 0 replies; 3+ messages in thread
From: Iskren Chernev @ 2022-12-10 15:03 UTC (permalink / raw)
To: Konrad Dybcio, linux-arm-msm, andersson, agross, krzysztof.kozlowski
Cc: patches, Michael Turquette, Stephen Boyd, linux-clk, linux-kernel
On 12/9/22 14:39, Konrad Dybcio wrote:
> Just like in case of other SoCs change SDCC1/SDCC2 ops
> to floor to avoid overclocking the controller.
>
> Fixes: cbe63bfdc54f ("clk: qcom: Add Global Clock controller (GCC) driver for SM6115")
> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Iskren Chernev <me@iskren.info>
> ---
> drivers/clk/qcom/gcc-sm6115.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/clk/qcom/gcc-sm6115.c b/drivers/clk/qcom/gcc-sm6115.c
> index 565f9912039f..5b8222fea2f7 100644
> --- a/drivers/clk/qcom/gcc-sm6115.c
> +++ b/drivers/clk/qcom/gcc-sm6115.c
> @@ -1258,7 +1258,7 @@ static struct clk_rcg2 gcc_sdcc1_apps_clk_src = {
> .name = "gcc_sdcc1_apps_clk_src",
> .parent_data = gcc_parents_1,
> .num_parents = ARRAY_SIZE(gcc_parents_1),
> - .ops = &clk_rcg2_ops,
> + .ops = &clk_rcg2_floor_ops,
> },
> };
>
> @@ -1305,7 +1305,7 @@ static struct clk_rcg2 gcc_sdcc2_apps_clk_src = {
> .name = "gcc_sdcc2_apps_clk_src",
> .parent_data = gcc_parents_11,
> .num_parents = ARRAY_SIZE(gcc_parents_11),
> - .ops = &clk_rcg2_ops,
> + .ops = &clk_rcg2_floor_ops,
> .flags = CLK_OPS_PARENT_ENABLE,
> },
> };
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] clk: qcom: gcc-sm6115: Use floor_ops for SDCC1/2 core clk
2022-12-09 12:39 [PATCH] clk: qcom: gcc-sm6115: Use floor_ops for SDCC1/2 core clk Konrad Dybcio
2022-12-10 15:03 ` Iskren Chernev
@ 2022-12-28 4:36 ` Bjorn Andersson
1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Andersson @ 2022-12-28 4:36 UTC (permalink / raw)
To: krzysztof.kozlowski, agross, linux-arm-msm, konrad.dybcio
Cc: linux-clk, linux-kernel, me, mturquette, sboyd, patches
On Fri, 9 Dec 2022 13:39:09 +0100, Konrad Dybcio wrote:
> Just like in case of other SoCs change SDCC1/SDCC2 ops
> to floor to avoid overclocking the controller.
>
>
Applied, thanks!
[1/1] clk: qcom: gcc-sm6115: Use floor_ops for SDCC1/2 core clk
commit: 85d4e6ea082d3905f3ede470ac337fddc2d47650
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-12-28 4:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-09 12:39 [PATCH] clk: qcom: gcc-sm6115: Use floor_ops for SDCC1/2 core clk Konrad Dybcio
2022-12-10 15:03 ` Iskren Chernev
2022-12-28 4:36 ` 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®