]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
clk: qcom: dispcc-sm8750: Fix setting rate byte and pixel clocks
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 20 May 2025 09:07:42 +0000 (11:07 +0200)
committerBjorn Andersson <andersson@kernel.org>
Wed, 11 Jun 2025 03:13:06 +0000 (22:13 -0500)
commit0acf9e65a47d1e489c8b24c45a64436e30bcccf4
tree667926b6a090da89a7ee630d7c1b13961db68cb3
parent077ec7bcec9a8987d2a133afb7e13011878c7576
clk: qcom: dispcc-sm8750: Fix setting rate byte and pixel clocks

On SM8750 the setting rate of pixel and byte clocks, while the parent
DSI PHY PLL, fails with:

  disp_cc_mdss_byte0_clk_src: rcg didn't update its configuration.

DSI PHY PLL has to be unprepared and its "PLL Power Down" bits in
CMN_CTRL_0 asserted.

Mark these clocks with CLK_OPS_PARENT_ENABLE to ensure the parent is
enabled during rate changes.

Cc: stable@vger.kernel.org
Fixes: f1080d8dab0f ("clk: qcom: dispcc-sm8750: Add SM8750 Display clock controller")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250520090741.45820-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/dispcc-sm8750.c