diff options
author | Jerome Brunet | 2018-01-19 16:42:36 +0100 |
---|---|---|
committer | Jerome Brunet | 2018-02-12 09:49:23 +0100 |
commit | 6c00e7b76021fcf4ddb64191ccdf62c722adf0d1 (patch) | |
tree | 783c5d881ed9d73acbf63fb44eebc6bca9bd4b97 /drivers/clk/meson/clkc.h | |
parent | clk: meson: axg: fix the od shift of the sys_pll (diff) | |
download | kernel-qcow2-linux-6c00e7b76021fcf4ddb64191ccdf62c722adf0d1.tar.gz kernel-qcow2-linux-6c00e7b76021fcf4ddb64191ccdf62c722adf0d1.tar.xz kernel-qcow2-linux-6c00e7b76021fcf4ddb64191ccdf62c722adf0d1.zip |
clk: meson: add axg misc bit to the mpll driver
On axg, the rate of the mpll is stuck as if sdm value was 4 and could not
change (expect for mpll2 strangely). Looking at the vendor kernel, it
turns out a new magic bit from the undocumented HHI_PLL_TOP_MISC register
is required.
Setting this bit solves the problem and the mpll rates are back to normal
Fixes: 78b4af312f91 ("clk: meson-axg: add clock controller drivers")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Diffstat (limited to 'drivers/clk/meson/clkc.h')
-rw-r--r-- | drivers/clk/meson/clkc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/meson/clkc.h b/drivers/clk/meson/clkc.h index 4acb35bda669..07aaba26a857 100644 --- a/drivers/clk/meson/clkc.h +++ b/drivers/clk/meson/clkc.h @@ -121,6 +121,7 @@ struct meson_clk_mpll { struct parm n2; struct parm en; struct parm ssen; + struct parm misc; spinlock_t *lock; }; |