aboutsummaryrefslogtreecommitdiff
path: root/drivers/clk/meson/meson8b.c
diff options
context:
space:
mode:
authorJerome Brunet2018-02-19 12:21:36 +0100
committerNeil Armstrong2018-03-13 10:09:33 +0100
commit2eab2d7cab2804f767b84cbdd06d291214d61df4 (patch)
tree7d54fc21a96b0ac9b4c258bb20bb45730a56818b /drivers/clk/meson/meson8b.c
parent4162dd5b3a17f2bf20abbaa7229028e7bc021523 (diff)
clk: meson: add fractional part of meson8b fixed_pll
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> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Diffstat (limited to 'drivers/clk/meson/meson8b.c')
-rw-r--r--drivers/clk/meson/meson8b.c5
1 files changed, 5 insertions, 0 deletions
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,