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

Commit f708ea14 authored by Taniya Das's avatar Taniya Das
Browse files

clk: qcom: clk-branch: Add clock ops for Voltage voting



In the cases where the branch clocks requires to vote on a voltage rail
add the clock ops callbacks for the same.

Change-Id: If7ffbc4fdda1fb71c1d097f56a5eb762859eb2c4
Signed-off-by: default avatarTaniya Das <tdas@codeaurora.org>
parent 0ff8097b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -200,6 +200,10 @@ static void clk_branch2_init(struct clk_hw *hw)
}

const struct clk_ops clk_branch2_ops = {
	.prepare = clk_prepare_regmap,
	.unprepare = clk_unprepare_regmap,
	.pre_rate_change = clk_pre_change_regmap,
	.post_rate_change = clk_post_change_regmap,
	.enable = clk_branch2_enable,
	.disable = clk_branch2_disable,
	.is_enabled = clk_is_enabled_regmap,