clk: qcom: Enable FSM mode for votable alpha PLLs
authorRajendra Nayak <rnayak@codeaurora.org>
Thu, 29 Sep 2016 08:35:45 +0000 (14:05 +0530)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 2 Nov 2016 01:39:17 +0000 (18:39 -0700)
commit400d9fda39bc8e16412103796040aef484fe7f5d
treebc99d5aba6b18334d9f8729766a4aef56ed92967
parent31256f4892b443e1cf03de48ea447a86ec32038e
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>
drivers/clk/qcom/clk-alpha-pll.c
drivers/clk/qcom/clk-alpha-pll.h
drivers/clk/qcom/clk-pll.c
drivers/clk/qcom/common.c
drivers/clk/qcom/common.h