summaryrefslogtreecommitdiff
path: root/drivers/clk/qcom/clk-alpha-pll.h
diff options
context:
space:
mode:
authorTaniya Das <tdas@codeaurora.org>2019-11-15 13:04:58 +0300
committerStephen Boyd <sboyd@kernel.org>2019-12-24 09:30:09 +0300
commit691865bad627f38e068bcf3de92e46fca8ec295f (patch)
tree9c939d3d2a55b2ba6813e17be95bc8601622fbae /drivers/clk/qcom/clk-alpha-pll.h
parent1dc3698354dd620a121c1ff8e165c88abaf9300c (diff)
downloadlinux-691865bad627f38e068bcf3de92e46fca8ec295f.tar.xz
clk: qcom: clk-alpha-pll: Add support for Fabia PLL calibration
In the cases where the PLL is not calibrated the PLL could fail to lock. Add support for prepare ops which would take care of the same. Fabia PLL user/test control registers might required to be configured, so add support for configuring them. Signed-off-by: Taniya Das <tdas@codeaurora.org> Link: https://lkml.kernel.org/r/1573812304-24074-3-git-send-email-tdas@codeaurora.org Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/qcom/clk-alpha-pll.h')
-rw-r--r--drivers/clk/qcom/clk-alpha-pll.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/clk/qcom/clk-alpha-pll.h b/drivers/clk/qcom/clk-alpha-pll.h
index c28eb1a08c0c..fbc1f67c7a26 100644
--- a/drivers/clk/qcom/clk-alpha-pll.h
+++ b/drivers/clk/qcom/clk-alpha-pll.h
@@ -94,6 +94,10 @@ struct alpha_pll_config {
u32 alpha_hi;
u32 config_ctl_val;
u32 config_ctl_hi_val;
+ u32 user_ctl_val;
+ u32 user_ctl_hi_val;
+ u32 test_ctl_val;
+ u32 test_ctl_hi_val;
u32 main_output_mask;
u32 aux_output_mask;
u32 aux2_output_mask;