Skip to content

Commit d5639a6

Browse files
kona-jagadeeshandersson
authored andcommitted
clk: qcom: gcc-glymur: Update the SDCC RCGs to use shared_floor_ops
Use shared_floor_ops for the SDCC RCGs so the RCG is safely parked during disable and the new parent configuration is programmed in hardware only when the new parent is enabled, avoiding cases where the RCG configuration fails to update. Fixes: efe5043 ("clk: qcom: gcc: Add support for Global Clock Controller") Signed-off-by: Jagadeesh Kona <jagadeesh.kona@oss.qualcomm.com> Reviewed-by: Imran Shaik <imran.shaik@oss.qualcomm.com> Reviewed-by: Taniya Das <taniya.das@oss.qualcomm.com> Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org> Link: https://lore.kernel.org/r/20251127-sdcc_shared_floor_ops-v2-8-473afc86589c@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 947c4b3 commit d5639a6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/clk/qcom/gcc-glymur.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2317,7 +2317,7 @@ static struct clk_rcg2 gcc_sdcc2_apps_clk_src = {
23172317
.parent_data = gcc_parent_data_17,
23182318
.num_parents = ARRAY_SIZE(gcc_parent_data_17),
23192319
.flags = CLK_SET_RATE_PARENT,
2320-
.ops = &clk_rcg2_floor_ops,
2320+
.ops = &clk_rcg2_shared_floor_ops,
23212321
},
23222322
};
23232323

@@ -2339,7 +2339,7 @@ static struct clk_rcg2 gcc_sdcc4_apps_clk_src = {
23392339
.parent_data = gcc_parent_data_3,
23402340
.num_parents = ARRAY_SIZE(gcc_parent_data_3),
23412341
.flags = CLK_SET_RATE_PARENT,
2342-
.ops = &clk_rcg2_floor_ops,
2342+
.ops = &clk_rcg2_shared_floor_ops,
23432343
},
23442344
};
23452345

0 commit comments

Comments
 (0)