mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 19:47:08 +02:00
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:
parent
45055bdb07
commit
67fa1d9c20
|
|
@ -142,6 +142,10 @@ static void clk_branch2_disable(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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user