]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
clk: qcom: dispcc-sm8450: use RCG2 ops for DPTX1 AUX clock source
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Mon, 12 Jan 2026 02:12:23 +0000 (04:12 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 23 Feb 2026 16:45:35 +0000 (10:45 -0600)
The clk_dp_ops are supposed to be used for DP-related clocks with a
proper MND divier. Use standard RCG2 ops for dptx1_aux_clk_src, the same
as all other DPTX AUX clocks in this driver.

Fixes: 16fb89f92ec4 ("clk: qcom: Add support for Display Clock Controller on SM8450")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Taniya Das <taniya.das@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260112-dp-aux-clks-v1-2-456b0c11b069@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/dispcc-sm8450.c

index 9ce9fd28e55b234d23b7a610d419a305725f9668..2e91332dd92ab8df8283fd651668a3e5611a1e39 100644 (file)
@@ -409,7 +409,7 @@ static struct clk_rcg2 disp_cc_mdss_dptx1_aux_clk_src = {
                .parent_data = disp_cc_parent_data_1,
                .num_parents = ARRAY_SIZE(disp_cc_parent_data_1),
                .flags = CLK_SET_RATE_PARENT,
-               .ops = &clk_dp_ops,
+               .ops = &clk_rcg2_ops,
        },
 };