[01/11] clk: meson: add fractional part of meson8b fixed_pll

Message ID 20180219112146.21746-2-jbrunet@baylibre.com
State Accepted
Commit 2eab2d7cab2804f767b84cbdd06d291214d61df4
Headers show
Series
  • clk: meson: second round of updates
Related show

Commit Message

Jerome Brunet Feb. 19, 2018, 11:21 a.m.
Add the missing frac parameter to the meson8b fixed_pll. It seems to be
always on this platform, so the rate remains unchanged

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>

---
 drivers/clk/meson/meson8b.c | 5 +++++
 1 file changed, 5 insertions(+)

-- 
2.14.3

Patch

diff --git a/drivers/clk/meson/meson8b.c b/drivers/clk/meson/meson8b.c
index ea73b5de9672..62c54a75a1d2 100644
--- a/drivers/clk/meson/meson8b.c
+++ b/drivers/clk/meson/meson8b.c
@@ -125,6 +125,11 @@  static struct clk_regmap meson8b_fixed_pll = {
 			.shift   = 16,
 			.width   = 2,
 		},
+		.frac = {
+			.reg_off = HHI_MPLL_CNTL2,
+			.shift   = 0,
+			.width   = 12,
+		},
 		.l = {
 			.reg_off = HHI_MPLL_CNTL,
 			.shift   = 31,