Skip to content

Commit efbd912

Browse files
Taniya Dasbebarino
authored andcommitted
clk: qcom: dispcc: Remove support of disp_cc_mdss_rscc_ahb_clk
The disp_cc_mdss_rscc_ahb_clk is default enabled from hardware and thus does not require to be marked CRITICAL. This which would allow the RCG to be turned OFF when the display turns OFF and not blocking XO. Signed-off-by: Taniya Das <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Fixes: dd3d066 ("clk: qcom: Add display clock controller driver for SC7180") Signed-off-by: Stephen Boyd <[email protected]>
1 parent 8de427d commit efbd912

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

drivers/clk/qcom/dispcc-sc7180.c

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -592,24 +592,6 @@ static struct clk_branch disp_cc_mdss_rot_clk = {
592592
},
593593
};
594594

595-
static struct clk_branch disp_cc_mdss_rscc_ahb_clk = {
596-
.halt_reg = 0x400c,
597-
.halt_check = BRANCH_HALT,
598-
.clkr = {
599-
.enable_reg = 0x400c,
600-
.enable_mask = BIT(0),
601-
.hw.init = &(struct clk_init_data){
602-
.name = "disp_cc_mdss_rscc_ahb_clk",
603-
.parent_data = &(const struct clk_parent_data){
604-
.hw = &disp_cc_mdss_ahb_clk_src.clkr.hw,
605-
},
606-
.num_parents = 1,
607-
.flags = CLK_IS_CRITICAL | CLK_SET_RATE_PARENT,
608-
.ops = &clk_branch2_ops,
609-
},
610-
},
611-
};
612-
613595
static struct clk_branch disp_cc_mdss_rscc_vsync_clk = {
614596
.halt_reg = 0x4008,
615597
.halt_check = BRANCH_HALT,
@@ -687,7 +669,6 @@ static struct clk_regmap *disp_cc_sc7180_clocks[] = {
687669
[DISP_CC_MDSS_PCLK0_CLK_SRC] = &disp_cc_mdss_pclk0_clk_src.clkr,
688670
[DISP_CC_MDSS_ROT_CLK] = &disp_cc_mdss_rot_clk.clkr,
689671
[DISP_CC_MDSS_ROT_CLK_SRC] = &disp_cc_mdss_rot_clk_src.clkr,
690-
[DISP_CC_MDSS_RSCC_AHB_CLK] = &disp_cc_mdss_rscc_ahb_clk.clkr,
691672
[DISP_CC_MDSS_RSCC_VSYNC_CLK] = &disp_cc_mdss_rscc_vsync_clk.clkr,
692673
[DISP_CC_MDSS_VSYNC_CLK] = &disp_cc_mdss_vsync_clk.clkr,
693674
[DISP_CC_MDSS_VSYNC_CLK_SRC] = &disp_cc_mdss_vsync_clk_src.clkr,

0 commit comments

Comments
 (0)