Commit 6c87b3a
clk: qcom: dispcc-sc8280xp: remove CLK_SET_RATE_PARENT from byte_div_clk_src dividers
[ Upstream commit 0b151a6 ]
The four byte_div_clk_src dividers (disp{0,1}_cc_mdss_byte{0,1}_div_clk_src)
had CLK_SET_RATE_PARENT set. When the DSI driver calls clk_set_rate() on
byte_intf_clk, the rate-change propagates through the divider up to the
parent PLL (byte_clk_src), halving the byte clock rate.
A simiar issue had been also encountered on SM8750.
b8501fe ("clk: qcom: dispcc-sm8750: Drop incorrect CLK_SET_RATE_PARENT on byte intf parent").
Likewise, remove CLK_SET_RATE_PARENT from all four byte divider clocks
so that clk_set_rate() on the divider adjusts only the divider ratio,
leaving the parent PLL untouched.
Fixes: 4a66e76 ("clk: qcom: Add SC8280XP display clock controller")
Signed-off-by: White Lewis <liu224806@gmail.com>
[pengyu: reword]
Signed-off-by: Pengyu Luo <mitltlatltl@gmail.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260303115550.9279-1-mitltlatltl@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 1afd963 commit 6c87b3a
1 file changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1160 | 1160 | | |
1161 | 1161 | | |
1162 | 1162 | | |
1163 | | - | |
1164 | 1163 | | |
1165 | 1164 | | |
1166 | 1165 | | |
| |||
1175 | 1174 | | |
1176 | 1175 | | |
1177 | 1176 | | |
1178 | | - | |
1179 | 1177 | | |
1180 | 1178 | | |
1181 | 1179 | | |
| |||
1190 | 1188 | | |
1191 | 1189 | | |
1192 | 1190 | | |
1193 | | - | |
1194 | 1191 | | |
1195 | 1192 | | |
1196 | 1193 | | |
| |||
1205 | 1202 | | |
1206 | 1203 | | |
1207 | 1204 | | |
1208 | | - | |
1209 | 1205 | | |
1210 | 1206 | | |
1211 | 1207 | | |
| |||
0 commit comments