Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: qcom: ipq5332: drop the CLK_SET_RATE_PARENT flag from GPLL clocks

GPLL 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 GPLL clocks.

Fixes: 3d89d52970fd ("clk: qcom: add Global Clock controller (GCC) driver for IPQ5332 SoC")
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-5-c8ceb1a37680@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Kathiravan Thirumoorthy and committed by
Bjorn Andersson
5635ef0b 99a8f876

-2
-2
drivers/clk/qcom/gcc-ipq5332.c
··· 112 112 &gpll2_main.clkr.hw }, 113 113 .num_parents = 1, 114 114 .ops = &clk_alpha_pll_postdiv_ro_ops, 115 - .flags = CLK_SET_RATE_PARENT, 116 115 }, 117 116 }; 118 117 ··· 151 152 &gpll4_main.clkr.hw }, 152 153 .num_parents = 1, 153 154 .ops = &clk_alpha_pll_postdiv_ro_ops, 154 - .flags = CLK_SET_RATE_PARENT, 155 155 }, 156 156 }; 157 157