diff options
| author | Taniya Das <tdas@codeaurora.org> | 2016-08-19 10:08:28 +0530 |
|---|---|---|
| committer | Taniya Das <tdas@codeaurora.org> | 2016-10-14 10:58:17 +0530 |
| commit | d7c369c0b1849b349ff2fc4270b302e8d56fac26 (patch) | |
| tree | 694cad34e3323d93a26f577b308b2879a61e7799 /include/linux | |
| parent | fac2c0da16c3567c4838de4af0b794ecc55f1d0a (diff) | |
clk: qcom: clk-voter: Add support for voter clocks
Voter clocks nodes would require aggregation of all child node rates.
Certain clocks that are not rate-settable can still take
advantage of voter clock functionality.
Change-Id: Ibab7a5aa6aa89236974fcd0d65ffe0bd1a7acb12
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/clk-provider.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h index 23026ba6ff25..0de2d0c780d7 100644 --- a/include/linux/clk-provider.h +++ b/include/linux/clk-provider.h @@ -669,6 +669,9 @@ void clk_hw_reparent(struct clk_hw *hw, struct clk_hw *new_parent); void clk_hw_set_rate_range(struct clk_hw *hw, unsigned long min_rate, unsigned long max_rate); +unsigned long clk_aggregate_rate(struct clk_hw *hw, + const struct clk_core *parent); + static inline void __clk_hw_set_clk(struct clk_hw *dst, struct clk_hw *src) { dst->clk = src->clk; |
