* [PATCH] clk: qcom: gcc-qcm2290: Fix up gcc_sdcc2_apps_clk_src
@ 2023-03-15 17:30 Konrad Dybcio
2023-03-15 23:34 ` Bjorn Andersson
0 siblings, 1 reply; 2+ messages in thread
From: Konrad Dybcio @ 2023-03-15 17:30 UTC (permalink / raw)
To: linux-arm-msm, andersson, agross
Cc: marijn.suijten, Konrad Dybcio, Michael Turquette, Stephen Boyd,
Shawn Guo, Rob Herring, linux-clk, linux-kernel
Add the PARENT_ENABLE flag to prevent the clock from getting stuck
at boot and use floor_ops to avoid SDHCI overclocking.
Fixes: 496d1a13d405 ("clk: qcom: Add Global Clock Controller driver for QCM2290")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
drivers/clk/qcom/gcc-qcm2290.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/clk/qcom/gcc-qcm2290.c b/drivers/clk/qcom/gcc-qcm2290.c
index 7792b8f23704..096deff2ba25 100644
--- a/drivers/clk/qcom/gcc-qcm2290.c
+++ b/drivers/clk/qcom/gcc-qcm2290.c
@@ -1243,7 +1243,8 @@ static struct clk_rcg2 gcc_sdcc2_apps_clk_src = {
.name = "gcc_sdcc2_apps_clk_src",
.parent_data = gcc_parents_12,
.num_parents = ARRAY_SIZE(gcc_parents_12),
- .ops = &clk_rcg2_ops,
+ .ops = &clk_rcg2_floor_ops,
+ .flags = CLK_OPS_PARENT_ENABLE,
},
};
--
2.39.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] clk: qcom: gcc-qcm2290: Fix up gcc_sdcc2_apps_clk_src
2023-03-15 17:30 [PATCH] clk: qcom: gcc-qcm2290: Fix up gcc_sdcc2_apps_clk_src Konrad Dybcio
@ 2023-03-15 23:34 ` Bjorn Andersson
0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Andersson @ 2023-03-15 23:34 UTC (permalink / raw)
To: agross, linux-arm-msm, Konrad Dybcio
Cc: Rob Herring, Shawn Guo, marijn.suijten, Michael Turquette,
Stephen Boyd, linux-kernel, linux-clk
On Wed, 15 Mar 2023 18:30:48 +0100, Konrad Dybcio wrote:
> Add the PARENT_ENABLE flag to prevent the clock from getting stuck
> at boot and use floor_ops to avoid SDHCI overclocking.
>
>
Applied, thanks!
[1/1] clk: qcom: gcc-qcm2290: Fix up gcc_sdcc2_apps_clk_src
commit: 1bf088a9f0e50acd175ba8deef0db11c099fa26e
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-15 23:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-15 17:30 [PATCH] clk: qcom: gcc-qcm2290: Fix up gcc_sdcc2_apps_clk_src Konrad Dybcio
2023-03-15 23:34 ` Bjorn Andersson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.