Skip to content

Commit

Permalink
clk: qcom: sc7180: clk driver add sync_state.
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Jul 30, 2023
1 parent 875b97a commit 2c182ae
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions drivers/clk/qcom/dispcc-sc7180.c
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ static struct clk_branch disp_cc_mdss_mdp_lut_clk = {
&disp_cc_mdss_mdp_clk_src.clkr.hw,
},
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT,
//.flags = CLK_SET_RATE_PARENT | CLK_OPS_PARENT_ENABLE,
.ops = &clk_branch2_ops,
},
},
Expand Down Expand Up @@ -707,10 +707,6 @@ static int disp_cc_sc7180_probe(struct platform_device *pdev)
if (IS_ERR(regmap))
return PTR_ERR(regmap);

/* update DISP_CC_XO_CLK DISP_CC_MDSS_RSCC_AHB_CLK */
regmap_update_bits(regmap, 0x605c, BIT(0), BIT(0));
regmap_update_bits(regmap, 0x400c, BIT(0), BIT(0));

/* 1380MHz configuration */
disp_cc_pll_config.l = 0x47;
disp_cc_pll_config.alpha = 0xe000;
Expand Down

0 comments on commit 2c182ae

Please sign in to comment.