diff options
author | Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> | 2019-01-15 09:03:35 +0530 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-02-21 23:58:12 -0800 |
commit | 9831289f6f629b6aac4bd4491bc54dcebdc0b6ba (patch) | |
tree | 6a45bdba02d3b046f4916b1e4f117d883a23a9ff /drivers/clk/actions/owl-pll.c | |
parent | bfeffd155283772bbe78c6a05dec7c0128ee500c (diff) |
clk: actions: Add configurable PLL delay
S500 SoC requires configurable delay for different PLLs. Hence, add
a separate macro for declaring a PLL with configurable delay and also
modify the existing OWL_PLL_NO_PARENT macro to use default delay so
that no need to modify the existing S700/S900 drivers.
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/actions/owl-pll.c')
-rw-r--r-- | drivers/clk/actions/owl-pll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/actions/owl-pll.c b/drivers/clk/actions/owl-pll.c index 058e06d7099f..02437bdedf4d 100644 --- a/drivers/clk/actions/owl-pll.c +++ b/drivers/clk/actions/owl-pll.c @@ -179,7 +179,7 @@ static int owl_pll_set_rate(struct clk_hw *hw, unsigned long rate, regmap_write(common->regmap, pll_hw->reg, reg); - udelay(PLL_STABILITY_WAIT_US); + udelay(pll_hw->delay); return 0; } |