Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e48345a authored by Vivek Aknurwar's avatar Vivek Aknurwar
Browse files

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: default avatarVivek Aknurwar <viveka@codeaurora.org>
parent 816c0efa
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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");