mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
clk: qcom: gcc-lahaina: Keep ice core memory retained across gdsc collapse
Enable FORCE_MEM_CORE_ON for ice core clock to retain keys in memory even on gdsc collpase. This will reduce performanace hit as client does not need to load/map keys in/out of UFS LPM state. Change-Id: If7d970e37c3fc7147fd84683bbbefa2b78fd253a Signed-off-by: Vivek Aknurwar <viveka@codeaurora.org>
This commit is contained in:
parent
816c0efa14
commit
2e48345a3b
1 changed files with 4 additions and 0 deletions
|
|
@ -4487,6 +4487,10 @@ static int gcc_lahaina_probe(struct platform_device *pdev)
|
|||
if (ret)
|
||||
return ret;
|
||||
|
||||
/* FORCE_MEM_CORE_ON for ufs phy ice core clocks */
|
||||
regmap_update_bits(regmap, gcc_ufs_phy_ice_core_clk.halt_reg,
|
||||
BIT(14), BIT(14));
|
||||
|
||||
ret = qcom_cc_really_probe(pdev, &gcc_lahaina_desc, regmap);
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev, "Failed to register GCC clocks\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue