Skip to content

Commit e641a07

Browse files
Kathiravan Thirumoorthyandersson
authored andcommitted
clk: qcom: ipq8074: 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: b8e7e51 ("clk: qcom: ipq8074: add remaining PLL’s") Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com> Link: https://lore.kernel.org/r/20230913-gpll_cleanup-v2-1-c8ceb1a37680@quicinc.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 3dcf7b5 commit e641a07

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

drivers/clk/qcom/gcc-ipq8074.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ static struct clk_fixed_factor gpll0_out_main_div2 = {
7575
&gpll0_main.clkr.hw },
7676
.num_parents = 1,
7777
.ops = &clk_fixed_factor_ops,
78-
.flags = CLK_SET_RATE_PARENT,
7978
},
8079
};
8180

@@ -121,7 +120,6 @@ static struct clk_alpha_pll_postdiv gpll2 = {
121120
&gpll2_main.clkr.hw },
122121
.num_parents = 1,
123122
.ops = &clk_alpha_pll_postdiv_ro_ops,
124-
.flags = CLK_SET_RATE_PARENT,
125123
},
126124
};
127125

@@ -154,7 +152,6 @@ static struct clk_alpha_pll_postdiv gpll4 = {
154152
&gpll4_main.clkr.hw },
155153
.num_parents = 1,
156154
.ops = &clk_alpha_pll_postdiv_ro_ops,
157-
.flags = CLK_SET_RATE_PARENT,
158155
},
159156
};
160157

@@ -188,7 +185,6 @@ static struct clk_alpha_pll_postdiv gpll6 = {
188185
&gpll6_main.clkr.hw },
189186
.num_parents = 1,
190187
.ops = &clk_alpha_pll_postdiv_ro_ops,
191-
.flags = CLK_SET_RATE_PARENT,
192188
},
193189
};
194190

@@ -201,7 +197,6 @@ static struct clk_fixed_factor gpll6_out_main_div2 = {
201197
&gpll6_main.clkr.hw },
202198
.num_parents = 1,
203199
.ops = &clk_fixed_factor_ops,
204-
.flags = CLK_SET_RATE_PARENT,
205200
},
206201
};
207202

@@ -266,7 +261,6 @@ static struct clk_alpha_pll_postdiv nss_crypto_pll = {
266261
&nss_crypto_pll_main.clkr.hw },
267262
.num_parents = 1,
268263
.ops = &clk_alpha_pll_postdiv_ro_ops,
269-
.flags = CLK_SET_RATE_PARENT,
270264
},
271265
};
272266

0 commit comments

Comments
 (0)