clk: meson: add fractional part of meson8b fixed_pll
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 19 Feb 2018 11:21:36 +0000 (12:21 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 13 Mar 2018 09:09:33 +0000 (10:09 +0100)
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>
drivers/clk/meson/meson8b.c

index ea73b5de967257b4138849eeeed9f01706aeb2c9..62c54a75a1d2998d17fd5fd31d86e81a730e0cda 100644 (file)
@@ -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,