clk: qcom: support Huayra type Alpha PLL
authorAbhishek Sahu <absahu@codeaurora.org>
Thu, 28 Sep 2017 17:50:46 +0000 (23:20 +0530)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 14 Dec 2017 00:54:09 +0000 (16:54 -0800)
commit134b55b7e19f832fea8822ce8821b6e8733b8795
treec9c7a09c224d162737e5f34ba65e8a96d230195b
parent472796defebbc5381d6c462adcd0a9a6fc9494e4
clk: qcom: support Huayra type Alpha PLL

The Huayra type Alpha PLL  has a 16 bit alpha value, and
depending on the alpha_mode, the alpha value can be treated as
M/N value or as a two’s compliment number. This PLL supports
dynamic programming.

Since the decoding of alpha val and dynamic programming are
completely different from other Alpha PLLs we add separate
functions for Huayra PLLs.

Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/qcom/clk-alpha-pll.c
drivers/clk/qcom/clk-alpha-pll.h