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

clk: qcom: dispcc-sm8550: use rcg2_shared_ops for ESC RCGs

Follow the recommendations and park disp_cc_mdss_esc[01]_clk_src to the
XO instead of disabling the clocks by using the clk_rcg2_shared_ops.

Fixes: 90114ca11476 ("clk: qcom: add SM8550 DISPCC driver")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20240717-dispcc-sm8550-fixes-v2-5-5c4a3128c40b@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Dmitry Baryshkov and committed by
Bjorn Andersson
c8bee3ff 7de10ddb

+2 -2
+2 -2
drivers/clk/qcom/dispcc-sm8550.c
··· 562 562 .parent_data = disp_cc_parent_data_5, 563 563 .num_parents = ARRAY_SIZE(disp_cc_parent_data_5), 564 564 .flags = CLK_SET_RATE_PARENT, 565 - .ops = &clk_rcg2_ops, 565 + .ops = &clk_rcg2_shared_ops, 566 566 }, 567 567 }; 568 568 ··· 577 577 .parent_data = disp_cc_parent_data_5, 578 578 .num_parents = ARRAY_SIZE(disp_cc_parent_data_5), 579 579 .flags = CLK_SET_RATE_PARENT, 580 - .ops = &clk_rcg2_ops, 580 + .ops = &clk_rcg2_shared_ops, 581 581 }, 582 582 }; 583 583