clk: qcom: clk-alpha-pll: Add support for helper functions
authorTaniya Das <tdas@codeaurora.org>
Fri, 16 Oct 2020 18:43:32 +0000 (00:13 +0530)
committerStephen Boyd <sboyd@kernel.org>
Thu, 5 Nov 2020 02:26:56 +0000 (18:26 -0800)
commit61a31292002b85529021a46e6288b29caf674fbe
treecc0ed69048f4f3b412bb61bbb128870478ab8a64
parent3650b228f83adda7e5ee532e2b90429c03f7b9ec
clk: qcom: clk-alpha-pll: Add support for helper functions

Introduce clk_alpha_pll_write_config and alpha_pll_check_rate_margin
helper functions to be across PLL configure functions and PLL set rate
functions.

Signed-off-by: Taniya Das <tdas@codeaurora.org>
Link: https://lore.kernel.org/r/1602873815-1677-2-git-send-email-tdas@codeaurora.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/clk-alpha-pll.c