diff options
author | Rajendra Nayak <rnayak@codeaurora.org> | 2016-09-29 14:05:45 +0530 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2016-11-01 18:39:17 -0700 |
commit | 400d9fda39bc8e16412103796040aef484fe7f5d (patch) | |
tree | bc99d5aba6b18334d9f8729766a4aef56ed92967 /drivers/clk/qcom/clk-alpha-pll.h | |
parent | 31256f4892b443e1cf03de48ea447a86ec32038e (diff) | |
download | linux-400d9fda39bc8e16412103796040aef484fe7f5d.tar.bz2 |
clk: qcom: Enable FSM mode for votable alpha PLLs
The votable alpha PLLs need to have the fsm mode enabled as part
of the initialization. The sequence seems to be the same as used
by clk-pll, so move the function which does this into a common
place and reuse it for the clk-alpha-pll
Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/qcom/clk-alpha-pll.h')
-rw-r--r-- | drivers/clk/qcom/clk-alpha-pll.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/qcom/clk-alpha-pll.h b/drivers/clk/qcom/clk-alpha-pll.h index 4808ff7dd31c..d6e1ee2c7348 100644 --- a/drivers/clk/qcom/clk-alpha-pll.h +++ b/drivers/clk/qcom/clk-alpha-pll.h @@ -36,6 +36,7 @@ struct clk_alpha_pll { size_t num_vco; #define SUPPORTS_OFFLINE_REQ BIT(0) #define SUPPORTS_16BIT_ALPHA BIT(1) +#define SUPPORTS_FSM_MODE BIT(2) u8 flags; struct clk_regmap clkr; |