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

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: a3cc092196ef ("clk: qcom: Add Global Clock controller (GCC) driver for SC7280")
Fixes: 3e0f01d6c7e7 ("clk: qcom: Add graphics clock controller driver for SC7280")
Signed-off-by: Taniya Das <quic_tdas@quicinc.com>
Signed-off-by: Satya Priya <quic_c_skakit@quicinc.com>
Link: https://lore.kernel.org/r/1666159535-6447-1-git-send-email-quic_c_skakit@quicinc.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Taniya Das and committed by
Stephen Boyd
ffa20aa5 774560cf

+2
+1
drivers/clk/qcom/gcc-sc7280.c
··· 3467 3467 regmap_update_bits(regmap, 0x28004, BIT(0), BIT(0)); 3468 3468 regmap_update_bits(regmap, 0x28014, BIT(0), BIT(0)); 3469 3469 regmap_update_bits(regmap, 0x71004, BIT(0), BIT(0)); 3470 + regmap_update_bits(regmap, 0x7100C, BIT(13), BIT(13)); 3470 3471 3471 3472 ret = qcom_cc_register_rcg_dfs(regmap, gcc_dfs_clocks, 3472 3473 ARRAY_SIZE(gcc_dfs_clocks));
+1
drivers/clk/qcom/gpucc-sc7280.c
··· 463 463 */ 464 464 regmap_update_bits(regmap, 0x1170, BIT(0), BIT(0)); 465 465 regmap_update_bits(regmap, 0x1098, BIT(0), BIT(0)); 466 + regmap_update_bits(regmap, 0x1098, BIT(13), BIT(13)); 466 467 467 468 return qcom_cc_really_probe(pdev, &gpu_cc_sc7280_desc, regmap); 468 469 }