diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2018-01-19 18:55:28 +0300 |
---|---|---|
committer | Jerome Brunet <jbrunet@baylibre.com> | 2018-02-12 11:49:23 +0300 |
commit | 07f45e2ecc1ba1ce75d80768caf2267256cd135d (patch) | |
tree | 3f70a0755752760e001643c33c97f837af00743c /drivers/clk/meson | |
parent | 3c4fe763d64db93c0c8ec359cf394cfc491f91f3 (diff) | |
download | linux-07f45e2ecc1ba1ce75d80768caf2267256cd135d.tar.xz |
clk: meson: gxbb: add the fractional part of the fixed_pll
The fixed_pll of gxbb and gxl also has a fractional parameter. This has
not been a problem so far because the fractional part is actually set
to 0 on these platforms, so the rate remains correct when it is ignored.
Still, it is better represent the pll the way it is, so add the frac
parameter now
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Diffstat (limited to 'drivers/clk/meson')
-rw-r--r-- | drivers/clk/meson/gxbb.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/clk/meson/gxbb.c b/drivers/clk/meson/gxbb.c index 119babfa8d14..a5f25cc1944c 100644 --- a/drivers/clk/meson/gxbb.c +++ b/drivers/clk/meson/gxbb.c @@ -202,6 +202,11 @@ static struct meson_clk_pll gxbb_fixed_pll = { .shift = 16, .width = 2, }, + .frac = { + .reg_off = HHI_MPLL_CNTL2, + .shift = 0, + .width = 12, + }, .lock = &meson_clk_lock, .hw.init = &(struct clk_init_data){ .name = "fixed_pll", |