Skip to content

Commit ffa20aa

Browse files
Taniya Dasbebarino
Taniya Das
authored andcommitted
clk: qcom: Update the force mem core bit for GPU clocks
There are few GPU clocks which are powering up the memories and thus enable the FORCE_MEM_PERIPH always for these clocks to force the periph_on signal to remain active during halt state of the clock. Fixes: a3cc092 ("clk: qcom: Add Global Clock controller (GCC) driver for SC7280") Fixes: 3e0f01d ("clk: qcom: Add graphics clock controller driver for SC7280") Signed-off-by: Taniya Das <[email protected]> Signed-off-by: Satya Priya <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 774560c commit ffa20aa

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/clk/qcom/gcc-sc7280.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3467,6 +3467,7 @@ static int gcc_sc7280_probe(struct platform_device *pdev)
34673467
regmap_update_bits(regmap, 0x28004, BIT(0), BIT(0));
34683468
regmap_update_bits(regmap, 0x28014, BIT(0), BIT(0));
34693469
regmap_update_bits(regmap, 0x71004, BIT(0), BIT(0));
3470+
regmap_update_bits(regmap, 0x7100C, BIT(13), BIT(13));
34703471

34713472
ret = qcom_cc_register_rcg_dfs(regmap, gcc_dfs_clocks,
34723473
ARRAY_SIZE(gcc_dfs_clocks));

drivers/clk/qcom/gpucc-sc7280.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,7 @@ static int gpu_cc_sc7280_probe(struct platform_device *pdev)
463463
*/
464464
regmap_update_bits(regmap, 0x1170, BIT(0), BIT(0));
465465
regmap_update_bits(regmap, 0x1098, BIT(0), BIT(0));
466+
regmap_update_bits(regmap, 0x1098, BIT(13), BIT(13));
466467

467468
return qcom_cc_really_probe(pdev, &gpu_cc_sc7280_desc, regmap);
468469
}

0 commit comments

Comments
 (0)