mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 20:33:58 -04:00
clk: qcom: gpucc-lahaina: Remove CLK_IS_CRITICAL
Currently a number of gpucc clocks are marked as CLK_IS_CRITICAL, which is not actually required. All of these can be voted dynamically by clients. Marking them as critical will block low power modes such as CX collapse and XO shutdown, since they source from local RCGs that source from local PLLs. Local PLLs don't have active-only versions, so any critical clocks parented to a local PLL will result in regulator and XO votes in both active/sleep sets. Remove the critical flag to unblock low power modes. Change-Id: I01f8fc23870afa0071d7848724f419550f5bd693 Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
This commit is contained in:
parent
8bbd1df388
commit
3ab3624b68
1 changed files with 5 additions and 5 deletions
|
|
@ -249,7 +249,7 @@ static struct clk_branch gpu_cc_ahb_clk = {
|
|||
.hw = &gpu_cc_hub_ahb_div_clk_src.clkr.hw,
|
||||
},
|
||||
.num_parents = 1,
|
||||
.flags = CLK_IS_CRITICAL | CLK_SET_RATE_PARENT,
|
||||
.flags = CLK_SET_RATE_PARENT,
|
||||
.ops = &clk_branch2_ops,
|
||||
},
|
||||
},
|
||||
|
|
@ -311,7 +311,7 @@ static struct clk_branch gpu_cc_cx_gmu_clk = {
|
|||
.hw = &gpu_cc_gmu_clk_src.clkr.hw,
|
||||
},
|
||||
.num_parents = 1,
|
||||
.flags = CLK_IS_CRITICAL | CLK_SET_RATE_PARENT,
|
||||
.flags = CLK_SET_RATE_PARENT,
|
||||
.ops = &clk_branch2_aon_ops,
|
||||
},
|
||||
},
|
||||
|
|
@ -477,8 +477,8 @@ static struct clk_branch gpu_cc_hub_aon_clk = {
|
|||
.hw = &gpu_cc_hub_clk_src.clkr.hw,
|
||||
},
|
||||
.num_parents = 1,
|
||||
.flags = CLK_IS_CRITICAL | CLK_SET_RATE_PARENT,
|
||||
.ops = &clk_branch2_ops,
|
||||
.flags = CLK_SET_RATE_PARENT,
|
||||
.ops = &clk_branch2_aon_ops,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
@ -495,7 +495,7 @@ static struct clk_branch gpu_cc_hub_cx_int_clk = {
|
|||
.hw = &gpu_cc_hub_cx_int_div_clk_src.clkr.hw,
|
||||
},
|
||||
.num_parents = 1,
|
||||
.flags = CLK_IS_CRITICAL | CLK_SET_RATE_PARENT,
|
||||
.flags = CLK_SET_RATE_PARENT,
|
||||
.ops = &clk_branch2_aon_ops,
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue