summaryrefslogtreecommitdiffstats
path: root/drivers/clk/meson/clkc.h
diff options
context:
space:
mode:
authorJerome Brunet2018-01-19 16:42:36 +0100
committerJerome Brunet2018-02-12 09:49:23 +0100
commit6c00e7b76021fcf4ddb64191ccdf62c722adf0d1 (patch)
tree783c5d881ed9d73acbf63fb44eebc6bca9bd4b97 /drivers/clk/meson/clkc.h
parentclk: meson: axg: fix the od shift of the sys_pll (diff)
downloadkernel-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.h1
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;
};