Skip to content

Commit 99cd493

Browse files
Kathiravan Thirumoorthyandersson
authored andcommitted
clk: qcom: ipq6018: drop the CLK_SET_RATE_PARENT flag from PLL clocks
GPLL, NSS crypto PLL clock rates are fixed and shouldn't be scaled based on the request from dependent clocks. Doing so will result in the unexpected behaviour. So drop the CLK_SET_RATE_PARENT flag from the PLL clocks. Cc: stable@vger.kernel.org Fixes: d9db07f ("clk: qcom: Add ipq6018 Global Clock Controller support") Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/20230913-gpll_cleanup-v2-2-c8ceb1a37680@quicinc.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent e641a07 commit 99cd493

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

drivers/clk/qcom/gcc-ipq6018.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ static struct clk_fixed_factor gpll0_out_main_div2 = {
7272
&gpll0_main.clkr.hw },
7373
.num_parents = 1,
7474
.ops = &clk_fixed_factor_ops,
75-
.flags = CLK_SET_RATE_PARENT,
7675
},
7776
};
7877

@@ -86,7 +85,6 @@ static struct clk_alpha_pll_postdiv gpll0 = {
8685
&gpll0_main.clkr.hw },
8786
.num_parents = 1,
8887
.ops = &clk_alpha_pll_postdiv_ro_ops,
89-
.flags = CLK_SET_RATE_PARENT,
9088
},
9189
};
9290

@@ -161,7 +159,6 @@ static struct clk_alpha_pll_postdiv gpll6 = {
161159
&gpll6_main.clkr.hw },
162160
.num_parents = 1,
163161
.ops = &clk_alpha_pll_postdiv_ro_ops,
164-
.flags = CLK_SET_RATE_PARENT,
165162
},
166163
};
167164

@@ -192,7 +189,6 @@ static struct clk_alpha_pll_postdiv gpll4 = {
192189
&gpll4_main.clkr.hw },
193190
.num_parents = 1,
194191
.ops = &clk_alpha_pll_postdiv_ro_ops,
195-
.flags = CLK_SET_RATE_PARENT,
196192
},
197193
};
198194

@@ -243,7 +239,6 @@ static struct clk_alpha_pll_postdiv gpll2 = {
243239
&gpll2_main.clkr.hw },
244240
.num_parents = 1,
245241
.ops = &clk_alpha_pll_postdiv_ro_ops,
246-
.flags = CLK_SET_RATE_PARENT,
247242
},
248243
};
249244

@@ -274,7 +269,6 @@ static struct clk_alpha_pll_postdiv nss_crypto_pll = {
274269
&nss_crypto_pll_main.clkr.hw },
275270
.num_parents = 1,
276271
.ops = &clk_alpha_pll_postdiv_ro_ops,
277-
.flags = CLK_SET_RATE_PARENT,
278272
},
279273
};
280274

0 commit comments

Comments
 (0)