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: Taniya Das <tdas@codeaurora.org>
This commit is contained in:
Taniya Das 2020-06-06 15:51:48 +05:30
parent 0ff8097bc0
commit f708ea1445

View File

@ -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,